bge-reranker-base

我要开发同款
匿名用户2024年07月31日
68阅读

技术信息

开源地址
https://modelscope.cn/models/hekaisheng/bge-reranker-base
授权协议
Apache License 2.0

作品详情

bge-reraker-base

Mirror of BAAI/bge-reraker-base.

Example code

Istall packages

pip istall -U xiferece[embeddig]

Start a local istace of Xiferece

xiferece -p 9997

Lauch ad iferece

from xiferece.cliet import Cliet

cliet = Cliet("http://localhost:9997")
model_uid = cliet.lauch_model(
    model_ame="bge-reraker-base",
    model_type="rerak",
    )
model = cliet.get_model(model_uid)

prit(model.rerak(['doc1', 'doc2'], 'query'))

More iformatio

Xiferece Replace OpeAI GPT with aother LLM i your app by chagig a sigle lie of code. Xiferece gives you the freedom to use ay LLM you eed. With Xiferece, you are empowered to ru iferece with ay ope-source laguage models, speech recogitio models, ad multimodal models, whether i the cloud, o-premises, or eve o your laptop.

? Joi our Slack commuity!

功能介绍

bge-reranker-base Mirror of BAAI/bge-reranker-base. Example code Install packages pip install -U xin

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论