yasmineelabbar
commited on
Commit
·
f785bb0
1
Parent(s):
c968589
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,35 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
metrics:
|
4 |
+
- bleu 52.98
|
5 |
+
- sacrebleu
|
6 |
+
datasets:
|
7 |
+
- kde4
|
8 |
+
language:
|
9 |
+
- fr
|
10 |
+
- en
|
11 |
+
pipeline_tag: translation
|
12 |
+
|
13 |
+
tags:
|
14 |
+
- translation
|
15 |
+
- fine-tuning
|
16 |
+
- marian
|
17 |
---
|
18 |
+
# Model Name: marian-finetuned-kde4-en-to-fr
|
19 |
+
|
20 |
+
## Description
|
21 |
+
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.
|
22 |
+
|
23 |
+
## Performance
|
24 |
+
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.
|
25 |
+
|
26 |
+
## Usage
|
27 |
+
You can use this model for translating English sentences to French. Below is a sample code snippet for translating a sentence using the model:
|
28 |
+
|
29 |
+
```python
|
30 |
+
from transformers import pipeline
|
31 |
+
|
32 |
+
model_checkpoint = "your-username/marian-finetuned-kde4-en-to-fr"
|
33 |
+
translator = pipeline("translation", model=model_checkpoint)
|
34 |
+
result = translator("Input sentence in English")
|
35 |
+
print(result)
|