banglakit / spacy-models

24 stars 6 forks source link

Missing "config.cfg" file issue #2

Open neolithian opened 2 years ago

neolithian commented 2 years ago

I downloaded the bn_core_news_sm-0.1.0.tar.gz. After installing when I am trying to execute the sample code given, it searches for the "config.cfg" file which I can see is missing in the package. It is giving the following error:

_in load_config raise IOError(Errors.E053.format(path=configpath, name="config.cfg")) OSError: [E053] Could not read config.cfg

I tried different ways to resolve this but failed. Please note, I am using Python 3.9.9, not any anaconda distribution, plain Python.

aniruddha-adhikary commented 2 years ago

Hey, @neolithian thanks for reporting the issue. We acknowledge the bug.

Our models need to be updated to the current spaCy specifications. Unfortunately, we cannot give any meaningful ETAs.

Munzur86 commented 1 year ago

Still facing same error .any update please ?

ehzawad commented 1 year ago

As, there is no meaningful ETAs as of yer, It would be helpful if original author(s) could give some guideline to get a workaround to get away with config.cfg. I guess it is generated during the model training process of a spacy model.

raise IOError(Errors.E053.format(path=config_path, name="config.cfg")) OSError: [E053] Could not read config.cfg from /home/ehz/disha/env-rasa/lib/python3.7/site-packages/bn_core_news_sm/bn_core_news_sm-0.1.0/config.cfg

Also,


pip install https://github.com/banglakit/spacy-models/releases/download/bn_core_news_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz 
``` is not working!
ERROR: HTTP error 404 while getting https://github.com/banglakit/spacy-models/releases/download/bn_core_news_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz
ERROR: Could not install requirement https://github.com/banglakit/spacy-models/releases/download/bn_core_news_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz because of HTTP error 404 Client Error: Not Found for url: https://github.com/banglakit/spacy-models/releases/download/bn_core_news_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz for URL https://github.com/banglakit/spacy-models/releases/download/bn_core_news_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz