Instructions to use WindyTranslate/translate-sm-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyTranslate/translate-sm-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-sm-fr")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("WindyTranslate/translate-sm-fr") model = AutoModelForSeq2SeqLM.from_pretrained("WindyTranslate/translate-sm-fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Promote lora build from WindstormLabs/translate-sm-fr, with attribution and change statement
6a39f41 verified - Xet hash:
- c158d976032e58af4abd86de7519647ee2cc21f34a875c2238dc1d8f3c13813a
- Size of remote file:
- 767 kB
- SHA256:
- 133fd84744241f172bf69f6ea7e8840305ab2d0fc9e5ed6370eb6f76a4970a77
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.