Instructions to use Hansollll/translation_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hansollll/translation_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Hansollll/translation_model") model = AutoModelForSeq2SeqLM.from_pretrained("Hansollll/translation_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download source.spm from Hansollll/translation_model: direct link, hf CLI and curl.
- Browser
- Download file 842 kB
-
https://huggingface.co/Hansollll/translation_model/resolve/main/source.spm
- Command line
-
hf download hf://Hansollll/translation_model/source.spm
-
curl -L -o source.spm https://huggingface.co/Hansollll/translation_model/resolve/main/source.spm
842 kB
- Xet hash:
- d34b3ed73ab71b70bc3be9588b75879907dccc7a56017e725cfad66ed866bf88
- Size of remote file:
- 842 kB
- SHA256:
- c9496f7c2be9aecb84c751ae9f35a875915dde8e3892f652a5c76811ab2a0f49
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.