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:
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)
- Downloads last month
- 22
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.