alphaveneno
commited on
Commit
•
e4f4800
1
Parent(s):
7298c5a
Training complete
Browse files- README.md +74 -0
- generation_config.json +5 -0
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Helsinki-NLP/opus-mt-en-fr
|
4 |
+
tags:
|
5 |
+
- translation
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- kde4
|
9 |
+
metrics:
|
10 |
+
- bleu
|
11 |
+
model-index:
|
12 |
+
- name: marian-finetuned-kde4-en-to-fr
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Sequence-to-sequence Language Modeling
|
16 |
+
type: text2text-generation
|
17 |
+
dataset:
|
18 |
+
name: kde4
|
19 |
+
type: kde4
|
20 |
+
config: en-fr
|
21 |
+
split: train
|
22 |
+
args: en-fr
|
23 |
+
metrics:
|
24 |
+
- name: Bleu
|
25 |
+
type: bleu
|
26 |
+
value: 52.868416877300874
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# marian-finetuned-kde4-en-to-fr
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-fr](https://huggingface.co/Helsinki-NLP/opus-mt-en-fr) on the kde4 dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.8562
|
37 |
+
- Bleu: 52.8684
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 2e-05
|
57 |
+
- train_batch_size: 32
|
58 |
+
- eval_batch_size: 64
|
59 |
+
- seed: 42
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- num_epochs: 3
|
63 |
+
- mixed_precision_training: Native AMP
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.41.2
|
72 |
+
- Pytorch 2.3.1+cu121
|
73 |
+
- Datasets 2.20.0
|
74 |
+
- Tokenizers 0.19.1
|
generation_config.json
CHANGED
@@ -4,8 +4,13 @@
|
|
4 |
59513
|
5 |
]
|
6 |
],
|
|
|
|
|
|
|
7 |
"forced_eos_token_id": 0,
|
8 |
"max_length": 512,
|
9 |
"num_beams": 4,
|
|
|
|
|
10 |
"transformers_version": "4.41.2"
|
11 |
}
|
|
|
4 |
59513
|
5 |
]
|
6 |
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 59513,
|
9 |
+
"eos_token_id": 0,
|
10 |
"forced_eos_token_id": 0,
|
11 |
"max_length": 512,
|
12 |
"num_beams": 4,
|
13 |
+
"pad_token_id": 59513,
|
14 |
+
"renormalize_logits": true,
|
15 |
"transformers_version": "4.41.2"
|
16 |
}
|