Translation
Transformers
PyTorch
TensorBoard
Safetensors
marian
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use diana9m/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 diana9m/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="diana9m/marian-finetuned-kde4-en-to-fr")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("diana9m/marian-finetuned-kde4-en-to-fr") model = AutoModelForSeq2SeqLM.from_pretrained("diana9m/marian-finetuned-kde4-en-to-fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
3349512
1
Parent(s): b049ce0
Adding `safetensors` variant of this model (#1)
Browse files- Adding `safetensors` variant of this model (43fa99c5cba8d1c066c539642da3d0fe3860c378)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55370aca7f341f17b604e39e635f4d99d8bedbd0b974969d301eeace1e468dcb
|
| 3 |
+
size 298705768
|