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
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,8 @@ tags:
|
|
| 10 |
- code
|
| 11 |
---
|
| 12 |
|
| 13 |
-
用于多轮对话的推理代码:
|
|
|
|
| 14 |
```
|
| 15 |
# from Firefly
|
| 16 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
| 10 |
- code
|
| 11 |
---
|
| 12 |
|
| 13 |
+
用于多轮对话的推理代码:
|
| 14 |
+
(可以直接复制运行,默认会自动拉取该模型权重)
|
| 15 |
```
|
| 16 |
# from Firefly
|
| 17 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|