Instructions to use Python/cls_en2zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Python/cls_en2zh with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Python/cls_en2zh") model = AutoModelForSeq2SeqLM.from_pretrained("Python/cls_en2zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download scheduler.pt from Python/cls_en2zh: direct link, hf CLI and curl.
- Browser
- Download file 623 Bytes
-
https://huggingface.co/Python/cls_en2zh/resolve/main/scheduler.pt
- Command line
-
hf download hf://Python/cls_en2zh/scheduler.pt
-
curl -L -o scheduler.pt https://huggingface.co/Python/cls_en2zh/resolve/main/scheduler.pt
623 Bytes
- Xet hash:
- 9f70a96db461075244b9bc968e3e1e21d1375137ff5fe228536bc733dbd18afd
- Size of remote file:
- 623 Bytes
- SHA256:
- 194f99651e01b7fa05f3cfa059c2c1bf703f0d19875ba0a453e62b1f2683c8fe
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.