-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bad Case]: 在机器上部署reranker模型之后,请求的时候报错了 #230
Comments
请提供您的服务代码 |
启动命令: curl http://localhost:8002/models 不知道提供的信息是否足够,如果还需要其他信息麻烦提醒一下 |
这边需要您infinity_emb里面的代码,我们初步推测您需要hack进Sentence Transformers库,集成我们的rerank函数https://www.sbert.net/examples/applications/cross-encoder/README.html |
@TOMATODA 我们现已集成对Sentence Transformers库的支持,详见https://huggingface.co/openbmb/MiniCPM-Reranker |
Description / 描述
在机器上部署reranker模型之后,请求的时候报错了
{"error":{"message":"InternalServerError: the loaded moded cannot fullyfill
rerank
.options are {'embed'} inherited from model_class=<class 'infinity_emb.transformer.embedder.sentence_transformer.SentenceTransformerPatched'>","type":null,"param":null,"code":500}}。我是从modelscope中获取模型文件的,https://modelscope.cn/models/openbmb/minicpm-reranker
Case Explaination / 案例解释
No response
The text was updated successfully, but these errors were encountered: