Error does not appear to have a file named jinaai/jina-bert-implementation--configuration_bert.py

#4
by StarryNi - opened

when i use model by sentence_transformers, the same thing happened with the en model, OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like jinaai/jina-bert-implementation is not the path to a directory containing a file named configuration_bert.py.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

But using Transformers can load and infer.
package version:
sentence_transformers: 2.2.2
transformers: 4.16.2

i fixed it by updating sentence_transformers vers to 2.3.0. sry to interupt

StarryNi changed discussion status to closed

Sign up or log in to comment