-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: support codeqwen1.5-chat (#1322)
- Loading branch information
Showing
11 changed files
with
280 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. _models_builtin_m3e-base: | ||
|
||
======== | ||
m3e-base | ||
======== | ||
|
||
- **Model Name:** m3e-base | ||
- **Languages:** zh, en | ||
- **Abilities:** embed | ||
|
||
Specifications | ||
^^^^^^^^^^^^^^ | ||
|
||
- **Dimensions:** 768 | ||
- **Max Tokens:** 512 | ||
- **Model ID:** moka-ai/m3e-base | ||
- **Model Hubs**: `Hugging Face <https://huggingface.co/moka-ai/m3e-base>`__, `ModelScope <https://modelscope.cn/models/AI-ModelScope/m3e-base>`__ | ||
|
||
Execute the following command to launch the model:: | ||
|
||
xinference launch --model-name m3e-base --model-type embedding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. _models_builtin_m3e-large: | ||
|
||
========= | ||
m3e-large | ||
========= | ||
|
||
- **Model Name:** m3e-large | ||
- **Languages:** zh, en | ||
- **Abilities:** embed | ||
|
||
Specifications | ||
^^^^^^^^^^^^^^ | ||
|
||
- **Dimensions:** 1024 | ||
- **Max Tokens:** 512 | ||
- **Model ID:** moka-ai/m3e-large | ||
- **Model Hubs**: `Hugging Face <https://huggingface.co/moka-ai/m3e-large>`__, `ModelScope <https://modelscope.cn/models/AI-ModelScope/m3e-large>`__ | ||
|
||
Execute the following command to launch the model:: | ||
|
||
xinference launch --model-name m3e-large --model-type embedding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. _models_builtin_m3e-small: | ||
|
||
========= | ||
m3e-small | ||
========= | ||
|
||
- **Model Name:** m3e-small | ||
- **Languages:** zh, en | ||
- **Abilities:** embed | ||
|
||
Specifications | ||
^^^^^^^^^^^^^^ | ||
|
||
- **Dimensions:** 512 | ||
- **Max Tokens:** 512 | ||
- **Model ID:** moka-ai/m3e-small | ||
- **Model Hubs**: `Hugging Face <https://huggingface.co/moka-ai/m3e-small>`__, `ModelScope <https://modelscope.cn/models/AI-ModelScope/m3e-small>`__ | ||
|
||
Execute the following command to launch the model:: | ||
|
||
xinference launch --model-name m3e-small --model-type embedding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.. _models_llm_codeqwen1.5-chat: | ||
|
||
======================================== | ||
codeqwen1.5-chat | ||
======================================== | ||
|
||
- **Context Length:** 65536 | ||
- **Model Name:** codeqwen1.5-chat | ||
- **Languages:** en, zh | ||
- **Abilities:** chat | ||
- **Description:** CodeQwen1.5 is the Code-Specific version of Qwen1.5. It is a transformer-based decoder-only language model pretrained on a large amount of data of codes. | ||
|
||
Specifications | ||
^^^^^^^^^^^^^^ | ||
|
||
|
||
Model Spec 1 (ggufv2, 7 Billion) | ||
++++++++++++++++++++++++++++++++++++++++ | ||
|
||
- **Model Format:** ggufv2 | ||
- **Model Size (in billions):** 7 | ||
- **Quantizations:** q2_k, q3_k_m, q4_0, q4_k_m, q5_0, q5_k_m, q6_k, q8_0 | ||
- **Model ID:** Qwen/CodeQwen1.5-7B-Chat-GGUF | ||
- **Model Hubs**: `Hugging Face <https://huggingface.co/Qwen/CodeQwen1.5-7B-Chat-GGUF>`__, `ModelScope <https://modelscope.cn/models/qwen/CodeQwen1.5-7B-Chat-GGUF>`__ | ||
|
||
Execute the following command to launch the model, remember to replace ``${quantization}`` with your | ||
chosen quantization method from the options listed above:: | ||
|
||
xinference launch --model-name codeqwen1.5-chat --size-in-billions 7 --model-format ggufv2 --quantization ${quantization} | ||
|
||
|
||
Model Spec 2 (pytorch, 7 Billion) | ||
++++++++++++++++++++++++++++++++++++++++ | ||
|
||
- **Model Format:** pytorch | ||
- **Model Size (in billions):** 7 | ||
- **Quantizations:** 4-bit, 8-bit, none | ||
- **Model ID:** Qwen/CodeQwen1.5-7B-Chat | ||
- **Model Hubs**: `Hugging Face <https://huggingface.co/Qwen/CodeQwen1.5-7B-Chat>`__, `ModelScope <https://modelscope.cn/models/qwen/CodeQwen1.5-7B-Chat>`__ | ||
|
||
Execute the following command to launch the model, remember to replace ``${quantization}`` with your | ||
chosen quantization method from the options listed above:: | ||
|
||
xinference launch --model-name codeqwen1.5-chat --size-in-billions 7 --model-format pytorch --quantization ${quantization} | ||
|
||
|
||
Model Spec 3 (awq, 7 Billion) | ||
++++++++++++++++++++++++++++++++++++++++ | ||
|
||
- **Model Format:** awq | ||
- **Model Size (in billions):** 7 | ||
- **Quantizations:** Int4 | ||
- **Model ID:** Qwen/CodeQwen1.5-7B-Chat-AWQ | ||
- **Model Hubs**: `Hugging Face <https://huggingface.co/Qwen/CodeQwen1.5-7B-Chat-AWQ>`__, `ModelScope <https://modelscope.cn/models/qwen/CodeQwen1.5-7B-Chat-AWQ>`__ | ||
|
||
Execute the following command to launch the model, remember to replace ``${quantization}`` with your | ||
chosen quantization method from the options listed above:: | ||
|
||
xinference launch --model-name codeqwen1.5-chat --size-in-billions 7 --model-format awq --quantization ${quantization} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters