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