zeugma icon indicating copy to clipboard operation
zeugma copied to clipboard

Error when loading embeddings model from local file...

Open oterrier opened this issue 3 years ago • 1 comments

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)

Best regards

Olivier Terrier

oterrier avatar Feb 11 '22 09:02 oterrier

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.

nkthiebaut avatar Jul 21 '23 18:07 nkthiebaut