importing error - pooling and weights

#32
by HansLeve - opened

导入的时候,报错误如下:

No sentence-transformers model found with name models/bge-reranker-v2-m3/. Creating a new one with mean pooling.
Some weights of XLMRobertaModel were not initialized from the model checkpoint at models/bge-reranker-v2-m3/ and are newly initialized: ['roberta.pooler.dense.bias', 'roberta.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

对比bge-m3,缺少1_Pooling文件夹,手工加入这个文件夹之后,pooling的报错消失;但是第二个报错还是存在。
是否有解决方法?

Sign up or log in to comment