---
title: bge-large-zh-noinstruct
canonical_url: "https://www.modelscope.cn/models/Xorbits/bge-large-zh-noinstruct"
md_url: "https://www.modelscope.cn/models/Xorbits/bge-large-zh-noinstruct.md"
repository: Xorbits/bge-large-zh-noinstruct
last_updated: 2023-10-19
license: "Apache License 2.0"
model_type:
  - bert
architectures:
  - BertModel
library_name:
  - xinference
frameworks:
  - xinference
inference_backends:
  - "deploy_task emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 281
stars: 0
---

# bge-large-zh-noinstruct

> bge-large-zh-noinstruct - Xorbits 在 ModelScope 开源的模型。bge-large-zh-noinstruct

Xorbits/bge-large-zh-noinstruct 是 ModelScope 魔搭社区上的机器学习模型，采用 Apache License 2.0 许可，可用 deploy_task emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: Xorbits/bge-large-zh-noinstruct
- **License**: Apache License 2.0
- **Inference backends**: deploy_task emb, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 281
- **Stars**: 0
- **Last updated**: 2023-10-19

Source: https://www.modelscope.cn/models/Xorbits/bge-large-zh-noinstruct

---

## bge-large-zh-noinstruct

This repo contains embedding model files for bge-large-zh-noinstruct.

FlagEmbedding can map any text to a low-dimensional dense vector 
which can be used for tasks like retrieval, classification, clustering, or semantic search. 
And it also can be used in vector databases for LLMs.

## Information
- dimensions: 1024
- max_tokens: 512
- language: zh

## Usage

###  Start a local instance of Xinference
```bash
xinference -p 9997
```

### Launch and inference
```python
from xinference.client import Client

client = Client("http://localhost:9997")
model_uid = client.launch_model(model_name="bge-large-zh-noinstruct", model_type="embedding")
model = client.get_model(model_uid)

model.create_embedding("write a poem.")
```
