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:
# 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) - Notebooks
- Google Colab
- Kaggle
Commit History
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
赵康康 commited on