Skip to content

Commit

Permalink
BUG: fix embedding model gte-Qwen2 dimensions (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinCheng666 authored Oct 24, 2024
1 parent 0d10b38 commit 6fd879c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/source/models/builtin/embedding/gte-qwen2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ gte-Qwen2
Specifications
^^^^^^^^^^^^^^

- **Dimensions:** 3584
- **Dimensions:** 4096
- **Max Tokens:** 32000
- **Model ID:** Alibaba-NLP/gte-Qwen2-7B-instruct
- **Model Hubs**: `Hugging Face <https://huggingface.co/Alibaba-NLP/gte-Qwen2-7B-instruct>`__, `ModelScope <https://modelscope.cn/models/iic/gte_Qwen2-7B-instruct>`__

Execute the following command to launch the model::

xinference launch --model-name gte-Qwen2 --model-type embedding
xinference launch --model-name gte-Qwen2 --model-type embedding
2 changes: 1 addition & 1 deletion xinference/model/embedding/model_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
},
{
"model_name": "gte-Qwen2",
"dimensions": 3584,
"dimensions": 4096,
"max_tokens": 32000,
"language": ["zh", "en"],
"model_id": "Alibaba-NLP/gte-Qwen2-7B-instruct",
Expand Down

0 comments on commit 6fd879c

Please sign in to comment.