End of training
Browse files- README.md +72 -0
- generation_config.json +16 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: Helsinki-NLP/opus-mt-vi-en
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- bleu
|
9 |
+
model-index:
|
10 |
+
- name: opus-mt-vi-en-finetuned-ba-to-en
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# opus-mt-vi-en-finetuned-ba-to-en
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-vi-en](https://huggingface.co/Helsinki-NLP/opus-mt-vi-en) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 5.2493
|
22 |
+
- Bleu: 1.4007
|
23 |
+
- Gen Len: 27.077
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 2e-05
|
43 |
+
- train_batch_size: 16
|
44 |
+
- eval_batch_size: 16
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- training_steps: 10000
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
54 |
+
|:-------------:|:------:|:-----:|:---------------:|:------:|:-------:|
|
55 |
+
| 3.1653 | 0.6949 | 1000 | 4.9691 | 0.7944 | 30.79 |
|
56 |
+
| 2.4886 | 1.3899 | 2000 | 5.0994 | 0.7862 | 30.559 |
|
57 |
+
| 2.221 | 2.0848 | 3000 | 5.0760 | 0.9988 | 32.024 |
|
58 |
+
| 2.0122 | 2.7797 | 4000 | 5.0877 | 1.3559 | 27.206 |
|
59 |
+
| 1.8811 | 3.4746 | 5000 | 5.0965 | 1.4113 | 26.728 |
|
60 |
+
| 1.8032 | 4.1696 | 6000 | 5.1610 | 1.3288 | 27.417 |
|
61 |
+
| 1.7216 | 4.8645 | 7000 | 5.1873 | 1.4813 | 26.219 |
|
62 |
+
| 1.6624 | 5.5594 | 8000 | 5.2418 | 1.4683 | 26.898 |
|
63 |
+
| 1.6302 | 6.2543 | 9000 | 5.2420 | 1.4171 | 26.812 |
|
64 |
+
| 1.6003 | 6.9493 | 10000 | 5.2493 | 1.4007 | 27.077 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.46.3
|
70 |
+
- Pytorch 2.4.0
|
71 |
+
- Datasets 3.1.0
|
72 |
+
- Tokenizers 0.20.3
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
53738
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 53738,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 6,
|
13 |
+
"pad_token_id": 53738,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.46.3"
|
16 |
+
}
|