📝Natural language processing (NLP) utils: word embeddings (Word2Vec, GloVe, FastText, ...) and preprocessing transformers, compatible with scikit-learn Pipelines. 🛠
MIT License
60
stars
4
forks
source link
Error when loading embeddings model from local file... #27
If the file path contains upper case characters then it is not recognized because the EmbeddingTransformer__init__ method does a conversion to lower case before testing the os.path.exists(model)
Good catch, we could move the os.path.exists(model) test up to fix this issue. I'll fix it if I have time, but feel free to raise a PR if you do first.
If the file path contains upper case characters then it is not recognized because the
EmbeddingTransformer
__init__
method does a conversion to lower case before testing theos.path.exists(model)
Best regards
Olivier Terrier