Instructions to use shareAI/CodeLLaMA-chat-13b-Chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shareAI/CodeLLaMA-chat-13b-Chinese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="shareAI/CodeLLaMA-chat-13b-Chinese")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shareAI/CodeLLaMA-chat-13b-Chinese", dtype="auto") - Notebooks
- Google Colab
- Kaggle
doc:增加权重说明。
Browse files
README.md
CHANGED
|
@@ -12,6 +12,7 @@ tags:
|
|
| 12 |
|
| 13 |
## CodeLlaMa模型的中文化版本 (支持多轮对话)
|
| 14 |
|
|
|
|
| 15 |
用于多轮对话的推理代码:
|
| 16 |
(可以直接复制运行,默认会自动拉取该模型权重)
|
| 17 |
|
|
|
|
| 12 |
|
| 13 |
## CodeLlaMa模型的中文化版本 (支持多轮对话)
|
| 14 |
|
| 15 |
+
科普:CodeLlaMa是专门用于代码助手的,与ChineseLlaMa不同,适用于代码类问题的回复。
|
| 16 |
用于多轮对话的推理代码:
|
| 17 |
(可以直接复制运行,默认会自动拉取该模型权重)
|
| 18 |
|