sriram-sanjeev9s commited on
Commit
1a34a11
1 Parent(s): ed7a569

Model save

Browse files
Files changed (3) hide show
  1. README.md +95 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google-t5/t5-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - wmt14
8
+ metrics:
9
+ - bleu
10
+ model-index:
11
+ - name: T5_base_wmt14_En_Fr_1million
12
+ results:
13
+ - task:
14
+ name: Sequence-to-sequence Language Modeling
15
+ type: text2text-generation
16
+ dataset:
17
+ name: wmt14
18
+ type: wmt14
19
+ config: fr-en
20
+ split: validation
21
+ args: fr-en
22
+ metrics:
23
+ - name: Bleu
24
+ type: bleu
25
+ value: 8.5002
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
+ # T5_base_wmt14_En_Fr_1million
32
+
33
+ This model is a fine-tuned version of [google-t5/t5-base](https://huggingface.co/google-t5/t5-base) on the wmt14 dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 1.9945
36
+ - Bleu: 8.5002
37
+ - Gen Len: 18.0143
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: 0.001
57
+ - train_batch_size: 60
58
+ - eval_batch_size: 60
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
+ | 0.9735 | 1.0 | 1667 | 1.1059 | 9.3433 | 17.994 |
69
+ | 0.8671 | 2.0 | 3334 | 1.1192 | 9.3551 | 18.008 |
70
+ | 0.7975 | 3.0 | 5001 | 1.1509 | 9.4297 | 17.996 |
71
+ | 0.737 | 4.0 | 6668 | 1.1819 | 9.0739 | 18.0223 |
72
+ | 0.6746 | 5.0 | 8335 | 1.2076 | 9.1258 | 17.9873 |
73
+ | 0.6314 | 6.0 | 10002 | 1.2640 | 9.1364 | 18.0207 |
74
+ | 0.5833 | 7.0 | 11669 | 1.2948 | 8.8072 | 17.9907 |
75
+ | 0.5349 | 8.0 | 13336 | 1.3525 | 8.8513 | 17.9867 |
76
+ | 0.5025 | 9.0 | 15003 | 1.4087 | 8.7599 | 18.0027 |
77
+ | 0.4614 | 10.0 | 16670 | 1.4562 | 8.6011 | 18.015 |
78
+ | 0.4227 | 11.0 | 18337 | 1.5169 | 8.6315 | 18.018 |
79
+ | 0.3938 | 12.0 | 20004 | 1.5842 | 8.6045 | 18.0133 |
80
+ | 0.358 | 13.0 | 21671 | 1.6334 | 8.459 | 17.9997 |
81
+ | 0.3271 | 14.0 | 23338 | 1.6989 | 8.4979 | 17.9937 |
82
+ | 0.3056 | 15.0 | 25005 | 1.7529 | 8.5421 | 18.0357 |
83
+ | 0.278 | 16.0 | 26672 | 1.8151 | 8.3963 | 18.0027 |
84
+ | 0.2548 | 17.0 | 28339 | 1.8812 | 8.3497 | 18.0193 |
85
+ | 0.238 | 18.0 | 30006 | 1.9249 | 8.4306 | 18.0227 |
86
+ | 0.223 | 19.0 | 31673 | 1.9742 | 8.5156 | 18.013 |
87
+ | 0.2112 | 20.0 | 33340 | 1.9945 | 8.5002 | 18.0143 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.32.1
93
+ - Pytorch 1.12.1
94
+ - Datasets 2.18.0
95
+ - Tokenizers 0.13.2
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.32.1"
6
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9eb9bb7355ea1a7ab48623f6151836b8e0ab126020effba0564bbb7ae21bc5c6
3
  size 891700799
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f3d7a96876421c432137e3983a21682e908b3b2ec4b42f88c7f112ac098cd1e
3
  size 891700799