Model save
Browse files- README.md +77 -0
- generation_config.json +13 -3
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Helsinki-NLP/opus-mt-lg-en
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: opus-mt-lg-en-informal
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# opus-mt-lg-en-informal
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-lg-en](https://huggingface.co/Helsinki-NLP/opus-mt-lg-en) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1343
|
21 |
+
- Bleu: 0.0
|
22 |
+
- Bleu Precision: [0.019908987485779295, 0.0006461339651087659, 0.0, 0.0]
|
23 |
+
- Bleu Brevity Penalty: 1.0
|
24 |
+
- Bleu Length Ratio: 1.2563
|
25 |
+
- Bleu Translation Length: 5274
|
26 |
+
- Bleu Reference Length: 4198
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 16
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_steps: 500
|
52 |
+
- num_epochs: 20
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Bleu Precision | Bleu Brevity Penalty | Bleu Length Ratio | Bleu Translation Length | Bleu Reference Length |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:----:|:--------------------------------------------------------:|:--------------------:|:-----------------:|:-----------------------:|:---------------------:|
|
59 |
+
| 4.568 | 1.0 | 119 | 0.8525 | 0.0 | [0.011322534989778267, 0.00017458100558659218, 0.0, 0.0] | 1.0 | 1.5148 | 6359 | 4198 |
|
60 |
+
| 0.6495 | 2.0 | 238 | 0.1701 | 0.0 | [0.012054948135688253, 0.0003405994550408719, 0.0, 0.0] | 0.8379 | 0.8497 | 3567 | 4198 |
|
61 |
+
| 0.1889 | 3.0 | 357 | 0.1443 | 0.0 | [0.0408483896307934, 0.0010443864229765013, 0.0, 0.0] | 0.5226 | 0.6065 | 2546 | 4198 |
|
62 |
+
| 0.1513 | 4.0 | 476 | 0.1384 | 0.0 | [0.03887070376432079, 0.0005515719801434088, 0.0, 0.0] | 0.4879 | 0.5822 | 2444 | 4198 |
|
63 |
+
| 0.1424 | 5.0 | 595 | 0.1357 | 0.0 | [0.027095148078134845, 0.0012106537530266344, 0.0, 0.0] | 1.0 | 1.1341 | 4761 | 4198 |
|
64 |
+
| 0.1331 | 6.0 | 714 | 0.1346 | 0.0 | [0.016541609822646658, 0.0005732849226065354, 0.0, 0.0] | 1.0 | 1.3969 | 5864 | 4198 |
|
65 |
+
| 0.1265 | 7.0 | 833 | 0.1340 | 0.0 | [0.03237891356703238, 0.0016097875080489374, 0.0, 0.0] | 0.8839 | 0.8902 | 3737 | 4198 |
|
66 |
+
| 0.1296 | 8.0 | 952 | 0.1339 | 0.0 | [0.026692456479690523, 0.0013218770654329147, 0.0, 0.0] | 1.0 | 1.2315 | 5170 | 4198 |
|
67 |
+
| 0.123 | 9.0 | 1071 | 0.1340 | 0.0 | [0.025897226753670472, 0.001404165691551603, 0.0, 0.0] | 1.0 | 1.1682 | 4904 | 4198 |
|
68 |
+
| 0.1227 | 10.0 | 1190 | 0.1339 | 0.0 | [0.014839915868193504, 0.0008830579033682352, 0.0, 0.0] | 1.0 | 2.0386 | 8558 | 4198 |
|
69 |
+
| 0.117 | 11.0 | 1309 | 0.1343 | 0.0 | [0.019908987485779295, 0.0006461339651087659, 0.0, 0.0] | 1.0 | 1.2563 | 5274 | 4198 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.41.1
|
75 |
+
- Pytorch 2.1.2
|
76 |
+
- Datasets 2.19.1
|
77 |
+
- Tokenizers 0.19.1
|
generation_config.json
CHANGED
@@ -1,6 +1,16 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"transformers_version": "4.41.1"
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
60446
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 60446,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 6,
|
13 |
+
"pad_token_id": 60446,
|
14 |
+
"renormalize_logits": true,
|
15 |
"transformers_version": "4.41.1"
|
16 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 300620284
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0c494eab1aae3c9bf5cfceb9380377be0103b529a1af21a6d2ca464a6aeb1c3
|
3 |
size 300620284
|