tiagoblima
commited on
Commit
•
9c4b54c
1
Parent(s):
5cf60b7
Model save
Browse files- README.md +68 -0
- generation_config.json +16 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- bleu
|
6 |
+
model-index:
|
7 |
+
- name: tst-gun-gub-pt
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# tst-gun-gub-pt
|
15 |
+
|
16 |
+
This model was trained from scratch on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 1.8158
|
19 |
+
- Bleu: 8.4077
|
20 |
+
- Gen Len: 60.18
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 5e-05
|
40 |
+
- train_batch_size: 16
|
41 |
+
- eval_batch_size: 16
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 3.0
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
50 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|
|
51 |
+
| 2.4421 | 0.29 | 4000 | 2.5285 | 3.3785 | 68.48 |
|
52 |
+
| 2.1667 | 0.59 | 8000 | 2.3018 | 4.5883 | 58.6 |
|
53 |
+
| 2.0255 | 0.88 | 12000 | 2.1290 | 5.1052 | 67.3 |
|
54 |
+
| 1.8995 | 1.18 | 16000 | 2.0535 | 7.8429 | 55.48 |
|
55 |
+
| 1.8322 | 1.47 | 20000 | 1.9960 | 7.2663 | 58.24 |
|
56 |
+
| 1.7868 | 1.77 | 24000 | 1.9224 | 7.0981 | 66.34 |
|
57 |
+
| 1.7012 | 2.06 | 28000 | 1.8869 | 7.5657 | 60.3 |
|
58 |
+
| 1.6773 | 2.36 | 32000 | 1.8613 | 7.9888 | 61.18 |
|
59 |
+
| 1.6631 | 2.65 | 36000 | 1.8354 | 8.0862 | 60.5 |
|
60 |
+
| 1.6379 | 2.94 | 40000 | 1.8158 | 8.4077 | 60.18 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.34.0
|
66 |
+
- Pytorch 2.0.1+cu118
|
67 |
+
- Datasets 2.14.5
|
68 |
+
- Tokenizers 0.14.1
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
64109
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 64109,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 64109,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.34.0"
|
16 |
+
}
|