This model is a fine-tuned version of Helsinki-NLP/opus-mt-en-fr using the KDE4 dataset. It achieves the following results on the evaluation set:
This English-to-French translation model has been fine-tuned specifically on the KDE4 dataset. The base model, Helsinki-NLP/opus-mt-en-fr, is part of the MarianMT family, renowned for its efficiency and high-quality neural machine translation capabilities.
The model was fine-tuned on the KDE4 dataset, a specialized resource for machine translation in software localization. The evaluation metrics reflect the model's performance on this domain-specific data.
betas=(0.9, 0.999), epsilon=1e-08 | Step | Training Loss |
|---|---|
| 500 | 1.2253 |
| 1000 | 1.2165 |
| 1500 | 1.1913 |
| 2000 | 1.1404 |
| 2500 | 1.1178 |
| 3000 | 1.0900 |
| 3500 | 1.0594 |
| 4000 | 1.0512 |
| 4500 | 1.0633 |
| 5000 | 1.0405 |
| 5500 | 1.0316 |
from transformers import pipeline
# Load the model
model_checkpoint = "ParitKansal/marian-finetuned-kde4-en-to-fr"
translator = pipeline("translation", model=model_checkpoint)
# Translate text
translation = translator("Default to expanded threads")
print(translation)
This script demonstrates how to use the model for English-to-French translation tasks.
model.safetensors 299 MBtraining_args.bin 5.5 kB