Sentence Similarity demo not working

I am trying to see how “flax-sentence-embeddings/all_datasets_v3_distilroberta-base” works with my own examples but it is giving me an error on the huggingface website itself. [Errno 2] No such file or directory: ‘/data/sbert.net_models_flax-sentence-embeddings_all_datasets_v3_distilroberta-base/sentence_xlnet_config.json’

Any suggestions and/or fixes?

Doing this works fine (which is exactly the same as done in the Inference API). @Narsil this seems like an issue in the deployed image (?). Is there any chance an old version was deployed by accident?

!pip install -e git+
from sentence_transformers import SentenceTransformer, util

model = SentenceTransformer("flax-sentence-embeddings/all_datasets_v3_distilroberta-base")
1 Like

It’s fixed.

It was linked to some file corruption.
Looking into how it happened, but it’s fixed now.