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
Commit History
-
Update README.md
f566922
-
Update README.md
0e0b4e5
-
Update README.md
5348be3
-
Update README.md
313b026
-
Update modeling_t5.py
e080748 -
Update modeling_t5.py
9e33b17 -
replace fp16 with fp32
赵康康ef09c39 -
Delete pytorch_model.bin
fca644f -
Update tokenizer_config.json
4d4b7c0 -
Update tokenizer_config.json
4c5f4b1 -
Update README.md
59ea621
-
Update README.md
55a253b -
Update README.md
f5a85a6 -
Update modeling_t5.py
b1373ff -
Update modeling_t5.py
6b9e4d0 -
Update modeling_t5.py
2ee231f -
Update modeling_t5.py
9f52142 -
Update modeling_t5.py
0051c59 -
Update config.json
6049688 -
Update config.json
a61198e
-
Update README.md
a48e522 -
Create modeling_t5.py
7fee7e9 -
Update README.md
4a7a6a3 -
Update README.md
00e8a53
-
Update README.md
5a2c5be
-
Update README.md
d49c3f1 -
Update README.md
1348f62 -
update
update609dbee -
Update README.md
8c43f27 -
Update README.md
2f9d0f7 -
update
updatecb44287 -
Update README.md
82fddd6 -
Update README.md
92f91a7 -
Update README.md
9fa8b9b -
Update README.md
48ff8eb -
Update README.md
88e9364 -
Update README.md
964b46b -
Create LICENSE
c491b62 -
Delete configuration.json
a5705ab -
Update README.md
update readme6a5c500 -
Upload 11 files
4fe1145 -
initial commit
96b429e