Anyone able to use the spacy-experimental.ngram_sentence_suggester.v1 with spancat? #12732
-
Hi, I have then tried to switch from : With the ngram_sentence_suggester I keep on getting this error message : The problem is that my model marks the is_sent_start . I checked it : I went back to the spacy.ngram_suggester.v1, trained and saved the model, loaded it into python. I have disabled "parser","morphologizer","tagger" and ran the model on dummy text data then looked at the output. Each token had is_sent_start to either True or False. I just don't seem to get it working. I have even reinstalled from scratch python, spacy, spacy-experimental, ... yesterday but I still cannot make it work and the error message seems wrong ? Anyone having an idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hey lio-data, Seems pretty frustrating indeed, may I ask you to post the config? |
Beta Was this translation helpful? Give feedback.
-
My first question is whether you are training all these components, because they do not seem to be sourced from pre-trained pipelines. Perhaps it would be the easiest to debug if you'd create a new |
Beta Was this translation helpful? Give feedback.
Thank you kadarakos. Adding the
sentencizer
in the list ofannotating_components
was the trick ! I had totally forgotten about that. It now works 😄