IoanRazvan
commited on
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ro
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: Helsinki-NLP/opus-mt-en-ro
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- IoanRazvan/ro-romani
|
10 |
+
metrics:
|
11 |
+
- bleu
|
12 |
+
model-index:
|
13 |
+
- name: MarianMT Romani-Romanian NMT
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Translation
|
17 |
+
type: translation
|
18 |
+
dataset:
|
19 |
+
name: IoanRazvan/ro-romani
|
20 |
+
type: IoanRazvan/ro-romani
|
21 |
+
args: 'config: ro, split: train'
|
22 |
+
metrics:
|
23 |
+
- name: Bleu
|
24 |
+
type: bleu
|
25 |
+
value: 0.6077195716202178
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# MarianMT Romani-Romanian NMT
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-ro](https://huggingface.co/Helsinki-NLP/opus-mt-en-ro) on the IoanRazvan/ro-romani dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3277
|
36 |
+
- Bleu: 0.6077
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 1e-05
|
56 |
+
- train_batch_size: 64
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 2
|
60 |
+
- total_train_batch_size: 128
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_steps: 100
|
64 |
+
- training_steps: 6000
|
65 |
+
- mixed_precision_training: Native AMP
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
71 |
+
| 0.5152 | 5.19 | 1000 | 0.4979 | 0.4753 |
|
72 |
+
| 0.4051 | 10.39 | 2000 | 0.3960 | 0.5528 |
|
73 |
+
| 0.351 | 15.58 | 3000 | 0.3577 | 0.5847 |
|
74 |
+
| 0.3222 | 20.78 | 4000 | 0.3394 | 0.5983 |
|
75 |
+
| 0.3108 | 25.97 | 5000 | 0.3305 | 0.6056 |
|
76 |
+
| 0.3005 | 31.17 | 6000 | 0.3277 | 0.6077 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.38.2
|
82 |
+
- Pytorch 2.2.1+cu121
|
83 |
+
- Datasets 2.18.0
|
84 |
+
- Tokenizers 0.15.2
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
59542
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 59542,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 59542,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.38.2"
|
16 |
+
}
|
runs/Mar15_16-25-04_f209e5fb0092/events.out.tfevents.1710519909.f209e5fb0092.34916.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef14cf23a6b2e0ffa7b1b4a10fdbf82f01b98241c4638a6d13094004eb53f47b
|
3 |
+
size 134294
|