|
--- |
|
license: apache-2.0 |
|
metrics: |
|
- bleu 52.98 |
|
- sacrebleu |
|
datasets: |
|
- kde4 |
|
language: |
|
- fr |
|
- en |
|
pipeline_tag: translation |
|
|
|
tags: |
|
- translation |
|
- fine-tuning |
|
- marian |
|
--- |
|
# Model Name: marian-finetuned-kde4-en-to-fr |
|
|
|
## Description |
|
This model is a fine-tuned MarianMT model for English to French translation. It has been trained using the KDE4 dataset and optimized for translation tasks. |
|
|
|
## Performance |
|
During training and evaluation, the model achieved a BLEU score of 52.98 on the validation dataset. The BLEU score is a measure of translation quality, with higher scores indicating better translation performance. |
|
|
|
## Usage |
|
You can use this model for translating English sentences to French. Below is a sample code snippet for translating a sentence using the model: |
|
|
|
```python |
|
from transformers import pipeline |
|
|
|
model_checkpoint = "yasmineelabbar/marian-finetuned-kde4-en-to-fr-accelerate" |
|
translator = pipeline("translation", model=model_checkpoint) |
|
result = translator("Input sentence in English") |
|
print(result) |
|
|