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
|
@@ -11,7 +11,10 @@ tags:
|
|
| 11 |
---
|
| 12 |
|
| 13 |
用于多轮对话的推理代码:
|
| 14 |
-
(可以直接复制运行,默认会自动拉取该模型权重)
|
|
|
|
|
|
|
|
|
|
| 15 |
```
|
| 16 |
# from Firefly
|
| 17 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
用于多轮对话的推理代码:
|
| 14 |
+
(可以直接复制运行,默认会自动拉取该模型权重)
|
| 15 |
+
|
| 16 |
+
关联Github仓库:https://github.com/CrazyBoyM/CodeLLaMA-chat
|
| 17 |
+
|
| 18 |
```
|
| 19 |
# from Firefly
|
| 20 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|