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