Skip to content

Commit

Permalink
BUG: GTE-qwen2 Embedding Dimension error (#2565)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyhasuka authored Nov 21, 2024
1 parent 0cdfb43 commit a49c1a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/source/models/builtin/embedding/gte-qwen2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gte-Qwen2
Specifications
^^^^^^^^^^^^^^

- **Dimensions:** 4096
- **Dimensions:** 3584
- **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>`__
Expand Down
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": 4096,
"dimensions": 3584,
"max_tokens": 32000,
"language": ["zh", "en"],
"model_id": "Alibaba-NLP/gte-Qwen2-7B-instruct",
Expand Down
2 changes: 1 addition & 1 deletion xinference/model/embedding/model_spec_modelscope.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
},
{
"model_name": "gte-Qwen2",
"dimensions": 4096,
"dimensions": 3584,
"max_tokens": 32000,
"language": ["zh", "en"],
"model_id": "iic/gte_Qwen2-7B-instruct",
Expand Down

0 comments on commit a49c1a6

Please sign in to comment.