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
Download pytorch_model.bin from ClueAI/ChatYuan-large-v2: direct link, hf CLI and curl.
- Browser
- Download file 3.13 GB
-
https://huggingface.co/ClueAI/ChatYuan-large-v2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://ClueAI/ChatYuan-large-v2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ClueAI/ChatYuan-large-v2/resolve/main/pytorch_model.bin
3.13 GB
- Xet hash:
- a4e2a39624f9adc14b127a5a608bd0dcd43238e84a60bede862d7519cf1fbc84
- Size of remote file:
- 3.13 GB
- SHA256:
- 5d6afd02faaca140408936fb5ae346ccdd99591ea9e362dabdd147a0a7cd0f4d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.