Cosinoosoida
commited on
Commit
·
e20b401
1
Parent(s):
d5c19da
End of training
Browse files- README.md +95 -0
- generation_config.json +6 -0
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: t5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- opus_books
|
8 |
+
metrics:
|
9 |
+
- bleu
|
10 |
+
model-index:
|
11 |
+
- name: translation_1
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Sequence-to-sequence Language Modeling
|
15 |
+
type: text2text-generation
|
16 |
+
dataset:
|
17 |
+
name: opus_books
|
18 |
+
type: opus_books
|
19 |
+
config: en-ru
|
20 |
+
split: train
|
21 |
+
args: en-ru
|
22 |
+
metrics:
|
23 |
+
- name: Bleu
|
24 |
+
type: bleu
|
25 |
+
value: 5.03
|
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 |
+
# translation_1
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [t5-base](https://huggingface.co/t5-base) on the opus_books dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.5005
|
36 |
+
- Bleu: 5.03
|
37 |
+
- Gen Len: 16.0434
|
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: 16
|
58 |
+
- eval_batch_size: 16
|
59 |
+
- seed: 42
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- num_epochs: 20
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
67 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|
|
68 |
+
| 3.4771 | 1.0 | 875 | 2.8863 | 2.2211 | 16.4083 |
|
69 |
+
| 2.9851 | 2.0 | 1750 | 2.7086 | 3.2474 | 16.4271 |
|
70 |
+
| 2.8137 | 3.0 | 2625 | 2.6050 | 3.8481 | 16.378 |
|
71 |
+
| 2.6962 | 4.0 | 3500 | 2.5268 | 4.3032 | 16.2734 |
|
72 |
+
| 2.6439 | 5.0 | 4375 | 2.4694 | 4.5354 | 16.2414 |
|
73 |
+
| 2.5633 | 6.0 | 5250 | 2.4227 | 4.8672 | 16.2483 |
|
74 |
+
| 2.5122 | 7.0 | 6125 | 2.4068 | 5.0916 | 16.256 |
|
75 |
+
| 2.693 | 8.0 | 7000 | 2.5069 | 5.0708 | 16.0449 |
|
76 |
+
| 2.6754 | 9.0 | 7875 | 2.5003 | 5.0422 | 16.0389 |
|
77 |
+
| 2.6714 | 10.0 | 8750 | 2.5003 | 5.0467 | 16.0357 |
|
78 |
+
| 2.6679 | 11.0 | 9625 | 2.5003 | 5.0482 | 16.038 |
|
79 |
+
| 2.6812 | 12.0 | 10500 | 2.5004 | 5.0456 | 16.0377 |
|
80 |
+
| 2.6733 | 13.0 | 11375 | 2.5004 | 5.0456 | 16.036 |
|
81 |
+
| 2.6802 | 14.0 | 12250 | 2.5005 | 5.0454 | 16.0403 |
|
82 |
+
| 2.6652 | 15.0 | 13125 | 2.5005 | 5.0403 | 16.0391 |
|
83 |
+
| 2.6718 | 16.0 | 14000 | 2.5005 | 5.0483 | 16.0403 |
|
84 |
+
| 2.6756 | 17.0 | 14875 | 2.5005 | 5.0324 | 16.04 |
|
85 |
+
| 2.6751 | 18.0 | 15750 | 2.5005 | 5.03 | 16.0434 |
|
86 |
+
| 2.6689 | 19.0 | 16625 | 2.5005 | 5.03 | 16.0434 |
|
87 |
+
| 2.6687 | 20.0 | 17500 | 2.5005 | 5.03 | 16.0434 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.33.2
|
93 |
+
- Pytorch 2.0.1+cu117
|
94 |
+
- Datasets 2.14.5
|
95 |
+
- Tokenizers 0.13.3
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.33.2"
|
6 |
+
}
|