Instructions to use Helsinki-NLP/opus-mt-wls-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-wls-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="Helsinki-NLP/opus-mt-wls-fr")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-wls-fr") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-wls-fr") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 7a4118f1be6b29b8c6799c0959cb8576be94c9b6af8946bf1a017c9218a4d2e3
- Size of remote file:
- 263 MB
- SHA256:
- 9e79d32c4f3ed4ca3ca0b482857b832205cec0625229da36b13c3983a4114f2c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.