Instructions to use DDDSSS/translation_en-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DDDSSS/translation_en-zh with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="DDDSSS/translation_en-zh")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DDDSSS/translation_en-zh", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download scaler.pt from DDDSSS/translation_en-zh: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/DDDSSS/translation_en-zh/resolve/main/scaler.pt
- Command line
-
hf download hf://DDDSSS/translation_en-zh/scaler.pt
-
curl -L -o scaler.pt https://huggingface.co/DDDSSS/translation_en-zh/resolve/main/scaler.pt
557 Bytes
- Xet hash:
- ecb8787d0c961b0753bac0134847048a2bc504724f23405f3ebfd693f57563f5
- Size of remote file:
- 557 Bytes
- SHA256:
- 5dcc9aa9e6596bd26b55b24751dbaf140cdd404077c8ef068253fb854c1d966d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.