Instructions to use Python/cls_zh2en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Python/cls_zh2en with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Python/cls_zh2en") model = AutoModelForSeq2SeqLM.from_pretrained("Python/cls_zh2en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from Python/cls_zh2en: direct link, hf CLI and curl.
- Browser
- Download file 1.2 GB
-
https://huggingface.co/Python/cls_zh2en/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://Python/cls_zh2en@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/Python/cls_zh2en/resolve/refs%2Fpr%2F1/model.safetensors
1.2 GB
- Xet hash:
- 7d8a7c4dfb3f40b3f3075bdcae1e34936623c41748e89cd5287882db85a7d8d1
- Size of remote file:
- 1.2 GB
- SHA256:
- e36b09bd38c4d6c54c54b9684defd64331859f75fa6caf4875c06b484b08bd75
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.