使用hf推荐的语句引用的时候,发生"No sentence-transformers model found..." feedback
#2
by
pe65374
- opened
使用hf推荐的语句引用的时候,发生以下报错。
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("uer/sbert-base-chinese-nli")
No sentence-transformers model found with name /Users/peter42/.cache/torch/sentence_transformers/uer_sbert-base-chinese-nli. Creating a new one with MEAN pooling.
请问这个是什么原因?sbert的sentence transformer包没有能加载上这个model?
虽然代码还是可以反馈数值,例如sentence similarity, 但是这种情况下,和这个模型有关系么?还是sentence-transformers自己加载了一个缺省model继续走下去了?
请问解决了吗
I have the same problem
I have the same problem
i have the same problem