-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: Support CodeLlama-Instruct (#414)
- Loading branch information
1 parent
ce528cc
commit 28475c4
Showing
10 changed files
with
188 additions
and
12 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
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,67 @@ | ||
.. _models_builtin_code_llama_instruct: | ||
|
||
|
||
=================== | ||
Code-Llama-Instruct | ||
=================== | ||
|
||
- **Context Length:** 100000 | ||
- **Model Name:** code-llama-instruct | ||
- **Languages:** en | ||
- **Abilities:** chat | ||
|
||
Specifications | ||
^^^^^^^^^^^^^^ | ||
|
||
Model Spec 1 (pytorch, 7 Billion) | ||
+++++++++++++++++++++++++++++++++ | ||
|
||
- **Model Format:** pytorch | ||
- **Model Size (in billions):** 7 | ||
- **Quantizations:** 4-bit, 8-bit, none | ||
- **Model ID:** codellama/CodeLlama-7b-Instruct-hf | ||
|
||
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 code-llama-instruct --size-in-billions 7 --model-format pytorch --quantization ${quantization} | ||
|
||
.. note:: | ||
|
||
4-bit quantization is not supported on macOS. | ||
|
||
Model Spec 2 (pytorch, 13 Billion) | ||
++++++++++++++++++++++++++++++++++ | ||
|
||
- **Model Format:** pytorch | ||
- **Model Size (in billions):** 13 | ||
- **Quantizations:** 4-bit, 8-bit, none | ||
- **Model ID:** codellama/CodeLlama-13b-Instruct-hf | ||
|
||
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 code-llama-instruct --size-in-billions 13 --model-format pytorch --quantization ${quantization} | ||
|
||
|
||
.. note:: | ||
|
||
4-bit quantization is not supported on macOS. | ||
|
||
Model Spec 3 (pytorch, 34 Billion) | ||
++++++++++++++++++++++++++++++++++ | ||
|
||
- **Model Format:** pytorch | ||
- **Model Size (in billions):** 34 | ||
- **Quantizations:** 4-bit, 8-bit, none | ||
- **Model ID:** codellama/CodeLlama-34b-Instruct-hf | ||
|
||
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 code-llama-instruct --size-in-billions 34 --model-format pytorch --quantization ${quantization} | ||
|
||
|
||
.. note:: | ||
|
||
4-bit quantization is not supported on macOS. |
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
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