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