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