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 training_args.bin from kndtran/marian-finetuned-kde4-en-to-fr: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/kndtran/marian-finetuned-kde4-en-to-fr/resolve/main/training_args.bin
- Command line
-
hf download hf://kndtran/marian-finetuned-kde4-en-to-fr/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/kndtran/marian-finetuned-kde4-en-to-fr/resolve/main/training_args.bin
4.22 kB
- Xet hash:
- db6b91ae1e94d801886df6612b79dfa886ab7dcad119fe4d7bcd8a5a42503ff0
- Size of remote file:
- 4.22 kB
- SHA256:
- f1b7a4b3132e38526c2864e5bab884370fad3b0ff0d87c6572572ba03528517e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.