Instructions to use WindstormLabs/translate-fr-sm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindstormLabs/translate-fr-sm 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="WindstormLabs/translate-fr-sm")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WindstormLabs/translate-fr-sm", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
19028dd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eaa389d0e9bf721a15cee8c5c2a9c09fa5ed3e41947aaa0ea44fd518ad9c1393
size 843092
|