Instructions to use ClueAI/ChatYuan-large-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ClueAI/ChatYuan-large-v2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ClueAI/ChatYuan-large-v2", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("ClueAI/ChatYuan-large-v2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -502,4 +502,4 @@ print("预测结果:", y_pred)
|
|
| 502 |
|
| 503 |
```
|
| 504 |
|
| 505 |
-
<center><a href="https://clustrmaps.com/site/
|
|
|
|
| 502 |
|
| 503 |
```
|
| 504 |
|
| 505 |
+
<center><a href="https://clustrmaps.com/site/1btrz" title="Visit tracker"><img src="//www.clustrmaps.com/map_v2.png?d=qDcaMs7uYzZ4HQQeQ-hiaWKYtghVoPTAhvhCNqgdais&cl=ffffff" /></a><center>
|