Error: spacy/ro_core_news_lg does not appear to have a file named config.json

#1
by Valdinia - opened

I load the ro_core_news_lg model. I specify the task as "sentencizer" to split the text into sentences
nlp = pipeline("sentencizer", model="spacy/ro_core_news_lg")
sentences_lst = nlp(text_to_split)

I get this error:
spacy/ro_core_news_lg does not appear to have a file named config.json

What has to be done in this situation?

This is a spacy pipeline, not a transformers pipeline: https://spacy.io/usage/spacy-101

The sentencizer component is rule-based and not written for any specific language, just generically for sentence-final characters. You don't need a trained pipeline to use the sentencizer: https://spacy.io/usage/linguistic-features#sbd-component

The spacy discussion board is a better place for questions: https://github.com/explosion/spaCy/discussions

adrianeboyd changed discussion status to closed

Sign up or log in to comment