匿名用户2024年07月31日
52阅读

技术信息

官网地址
https://github.com/xorbitsai
开源地址
https://modelscope.cn/models/Xorbits/bge-m3
授权协议
Apache License 2.0

作品详情

bge-m3

This repo is a mirror of embeddig model bge-m3.

Iformatio

  • dimesios: 1024
  • max_tokes: 8192
  • laguage: zh, e

Example code

Istall packages

pip istall xiferece[ggml]>=0.4.3

If you wat to ru with GPU acceleratio, refer to istallatio.

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-m3",
    model_type="embeddig"
    )
model = cliet.get_model(model_uid)

iput_text = "What is the capital of Chia?"
model.create_embeddig(iput_text)

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-m3 This repo is a mirror of embedding model bge-m3. Information dimensions: 1024 max_tokens: 81

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

评论