JohnSnowLabs/spark-nlp-workshop

how to load custom trained ner crf model

Siddhijain16 opened this issue · 1 comments

Discussed in #647

Originally posted by Siddhijain16 September 19, 2022
Hii @josejuanmartinez

I trained NER CRF model on my custom data and save the model(model_crf) in my disk. It contain 2 subfolder i)fields/ ii)metadata/. I want to do the predictions but I am facing problem while loading the load. Please share the steps to load the custom trained ner crf model, it would be very helpful.
I tried but nothing work fine to me
Please help
image

Hi @Siddhijain16 ,

@josejuanmartinez already replied what you can do for this issue. Please try his recommendation and if it still is not solved, please ask this question on #sparknlp slack channel, or on sparknlp repo for a faster and absolute answer.