aayush-i2p
commited on
Commit
·
d1f2790
1
Parent(s):
58fbb15
End of training
Browse files- README.md +20 -8
- added_tokens.json +102 -0
- config.json +62 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- runs/Dec18_06-17-07_9cab81f7dbfc/events.out.tfevents.1702880266.9cab81f7dbfc.7859.0 +3 -0
- runs/Dec18_06-24-25_9cab81f7dbfc/events.out.tfevents.1702881234.9cab81f7dbfc.9906.0 +3 -0
- runs/Dec18_06-24-25_9cab81f7dbfc/events.out.tfevents.1702882134.9cab81f7dbfc.9906.1 +3 -0
- runs/Dec18_07-03-47_9cab81f7dbfc/events.out.tfevents.1702883028.9cab81f7dbfc.19978.0 +3 -0
- special_tokens_map.json +21 -3
- spiece.model +3 -0
- tokenizer_config.json +1 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -3,6 +3,8 @@ license: apache-2.0
|
|
3 |
base_model: google/flan-t5-small
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: results
|
8 |
results: []
|
@@ -14,6 +16,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
# results
|
15 |
|
16 |
This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
@@ -32,22 +40,26 @@ More information needed
|
|
32 |
### Training hyperparameters
|
33 |
|
34 |
The following hyperparameters were used during training:
|
35 |
-
- learning_rate: 0.
|
36 |
-
- train_batch_size:
|
37 |
-
- eval_batch_size:
|
38 |
- seed: 42
|
39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
-
- lr_scheduler_type:
|
41 |
-
-
|
42 |
-
- num_epochs: 1
|
43 |
|
44 |
### Training results
|
45 |
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
|
48 |
### Framework versions
|
49 |
|
50 |
- Transformers 4.35.2
|
51 |
-
- Pytorch 2.0
|
52 |
-
- Datasets 2.
|
53 |
- Tokenizers 0.15.0
|
|
|
3 |
base_model: google/flan-t5-small
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
model-index:
|
9 |
- name: results
|
10 |
results: []
|
|
|
16 |
# results
|
17 |
|
18 |
This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.5487
|
21 |
+
- Rouge1: 0.3047
|
22 |
+
- Rouge2: 0.1253
|
23 |
+
- Rougel: 0.2752
|
24 |
+
- Rougelsum: 0.2813
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
40 |
### Training hyperparameters
|
41 |
|
42 |
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 0.0003
|
44 |
+
- train_batch_size: 8
|
45 |
+
- eval_batch_size: 4
|
46 |
- seed: 42
|
47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 3
|
|
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
55 |
+
| No log | 1.0 | 4 | 2.8586 | 0.2445 | 0.0844 | 0.2195 | 0.2220 |
|
56 |
+
| No log | 2.0 | 8 | 2.6345 | 0.2824 | 0.1235 | 0.2586 | 0.2601 |
|
57 |
+
| No log | 3.0 | 12 | 2.5487 | 0.3047 | 0.1253 | 0.2752 | 0.2813 |
|
58 |
|
59 |
|
60 |
### Framework versions
|
61 |
|
62 |
- Transformers 4.35.2
|
63 |
+
- Pytorch 2.1.0+cu121
|
64 |
+
- Datasets 2.15.0
|
65 |
- Tokenizers 0.15.0
|
added_tokens.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<extra_id_0>": 32099,
|
3 |
+
"<extra_id_10>": 32089,
|
4 |
+
"<extra_id_11>": 32088,
|
5 |
+
"<extra_id_12>": 32087,
|
6 |
+
"<extra_id_13>": 32086,
|
7 |
+
"<extra_id_14>": 32085,
|
8 |
+
"<extra_id_15>": 32084,
|
9 |
+
"<extra_id_16>": 32083,
|
10 |
+
"<extra_id_17>": 32082,
|
11 |
+
"<extra_id_18>": 32081,
|
12 |
+
"<extra_id_19>": 32080,
|
13 |
+
"<extra_id_1>": 32098,
|
14 |
+
"<extra_id_20>": 32079,
|
15 |
+
"<extra_id_21>": 32078,
|
16 |
+
"<extra_id_22>": 32077,
|
17 |
+
"<extra_id_23>": 32076,
|
18 |
+
"<extra_id_24>": 32075,
|
19 |
+
"<extra_id_25>": 32074,
|
20 |
+
"<extra_id_26>": 32073,
|
21 |
+
"<extra_id_27>": 32072,
|
22 |
+
"<extra_id_28>": 32071,
|
23 |
+
"<extra_id_29>": 32070,
|
24 |
+
"<extra_id_2>": 32097,
|
25 |
+
"<extra_id_30>": 32069,
|
26 |
+
"<extra_id_31>": 32068,
|
27 |
+
"<extra_id_32>": 32067,
|
28 |
+
"<extra_id_33>": 32066,
|
29 |
+
"<extra_id_34>": 32065,
|
30 |
+
"<extra_id_35>": 32064,
|
31 |
+
"<extra_id_36>": 32063,
|
32 |
+
"<extra_id_37>": 32062,
|
33 |
+
"<extra_id_38>": 32061,
|
34 |
+
"<extra_id_39>": 32060,
|
35 |
+
"<extra_id_3>": 32096,
|
36 |
+
"<extra_id_40>": 32059,
|
37 |
+
"<extra_id_41>": 32058,
|
38 |
+
"<extra_id_42>": 32057,
|
39 |
+
"<extra_id_43>": 32056,
|
40 |
+
"<extra_id_44>": 32055,
|
41 |
+
"<extra_id_45>": 32054,
|
42 |
+
"<extra_id_46>": 32053,
|
43 |
+
"<extra_id_47>": 32052,
|
44 |
+
"<extra_id_48>": 32051,
|
45 |
+
"<extra_id_49>": 32050,
|
46 |
+
"<extra_id_4>": 32095,
|
47 |
+
"<extra_id_50>": 32049,
|
48 |
+
"<extra_id_51>": 32048,
|
49 |
+
"<extra_id_52>": 32047,
|
50 |
+
"<extra_id_53>": 32046,
|
51 |
+
"<extra_id_54>": 32045,
|
52 |
+
"<extra_id_55>": 32044,
|
53 |
+
"<extra_id_56>": 32043,
|
54 |
+
"<extra_id_57>": 32042,
|
55 |
+
"<extra_id_58>": 32041,
|
56 |
+
"<extra_id_59>": 32040,
|
57 |
+
"<extra_id_5>": 32094,
|
58 |
+
"<extra_id_60>": 32039,
|
59 |
+
"<extra_id_61>": 32038,
|
60 |
+
"<extra_id_62>": 32037,
|
61 |
+
"<extra_id_63>": 32036,
|
62 |
+
"<extra_id_64>": 32035,
|
63 |
+
"<extra_id_65>": 32034,
|
64 |
+
"<extra_id_66>": 32033,
|
65 |
+
"<extra_id_67>": 32032,
|
66 |
+
"<extra_id_68>": 32031,
|
67 |
+
"<extra_id_69>": 32030,
|
68 |
+
"<extra_id_6>": 32093,
|
69 |
+
"<extra_id_70>": 32029,
|
70 |
+
"<extra_id_71>": 32028,
|
71 |
+
"<extra_id_72>": 32027,
|
72 |
+
"<extra_id_73>": 32026,
|
73 |
+
"<extra_id_74>": 32025,
|
74 |
+
"<extra_id_75>": 32024,
|
75 |
+
"<extra_id_76>": 32023,
|
76 |
+
"<extra_id_77>": 32022,
|
77 |
+
"<extra_id_78>": 32021,
|
78 |
+
"<extra_id_79>": 32020,
|
79 |
+
"<extra_id_7>": 32092,
|
80 |
+
"<extra_id_80>": 32019,
|
81 |
+
"<extra_id_81>": 32018,
|
82 |
+
"<extra_id_82>": 32017,
|
83 |
+
"<extra_id_83>": 32016,
|
84 |
+
"<extra_id_84>": 32015,
|
85 |
+
"<extra_id_85>": 32014,
|
86 |
+
"<extra_id_86>": 32013,
|
87 |
+
"<extra_id_87>": 32012,
|
88 |
+
"<extra_id_88>": 32011,
|
89 |
+
"<extra_id_89>": 32010,
|
90 |
+
"<extra_id_8>": 32091,
|
91 |
+
"<extra_id_90>": 32009,
|
92 |
+
"<extra_id_91>": 32008,
|
93 |
+
"<extra_id_92>": 32007,
|
94 |
+
"<extra_id_93>": 32006,
|
95 |
+
"<extra_id_94>": 32005,
|
96 |
+
"<extra_id_95>": 32004,
|
97 |
+
"<extra_id_96>": 32003,
|
98 |
+
"<extra_id_97>": 32002,
|
99 |
+
"<extra_id_98>": 32001,
|
100 |
+
"<extra_id_99>": 32000,
|
101 |
+
"<extra_id_9>": 32090
|
102 |
+
}
|
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/flan-t5-small",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 1024,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": true,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "t5",
|
20 |
+
"n_positions": 512,
|
21 |
+
"num_decoder_layers": 8,
|
22 |
+
"num_heads": 6,
|
23 |
+
"num_layers": 8,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"relative_attention_max_distance": 128,
|
27 |
+
"relative_attention_num_buckets": 32,
|
28 |
+
"task_specific_params": {
|
29 |
+
"summarization": {
|
30 |
+
"early_stopping": true,
|
31 |
+
"length_penalty": 2.0,
|
32 |
+
"max_length": 200,
|
33 |
+
"min_length": 30,
|
34 |
+
"no_repeat_ngram_size": 3,
|
35 |
+
"num_beams": 4,
|
36 |
+
"prefix": "summarize: "
|
37 |
+
},
|
38 |
+
"translation_en_to_de": {
|
39 |
+
"early_stopping": true,
|
40 |
+
"max_length": 300,
|
41 |
+
"num_beams": 4,
|
42 |
+
"prefix": "translate English to German: "
|
43 |
+
},
|
44 |
+
"translation_en_to_fr": {
|
45 |
+
"early_stopping": true,
|
46 |
+
"max_length": 300,
|
47 |
+
"num_beams": 4,
|
48 |
+
"prefix": "translate English to French: "
|
49 |
+
},
|
50 |
+
"translation_en_to_ro": {
|
51 |
+
"early_stopping": true,
|
52 |
+
"max_length": 300,
|
53 |
+
"num_beams": 4,
|
54 |
+
"prefix": "translate English to Romanian: "
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"tie_word_embeddings": false,
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.35.2",
|
60 |
+
"use_cache": true,
|
61 |
+
"vocab_size": 32128
|
62 |
+
}
|
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.35.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:712f1f9532790051adcffdd8e10459af24d7a5cfeb0781706f468ee2466ef0b6
|
3 |
+
size 307867048
|
runs/Dec18_06-17-07_9cab81f7dbfc/events.out.tfevents.1702880266.9cab81f7dbfc.7859.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b16f633922c8287212dbae3b5f30ecfbd2316a660176a9df1c7d45be3d873cc1
|
3 |
+
size 5225
|
runs/Dec18_06-24-25_9cab81f7dbfc/events.out.tfevents.1702881234.9cab81f7dbfc.9906.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e453ffbba5e868c5215a7668d71d68e1f043d2a4a52c3ddb9815d1d699ccda1
|
3 |
+
size 6968
|
runs/Dec18_06-24-25_9cab81f7dbfc/events.out.tfevents.1702882134.9cab81f7dbfc.9906.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b54eea59daba4c9346614b81679c4006a27dd9dc7d2b6cdbbe5294ac8be81a6e
|
3 |
+
size 6968
|
runs/Dec18_07-03-47_9cab81f7dbfc/events.out.tfevents.1702883028.9cab81f7dbfc.19978.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a9518563d614974c5ea53783bced3b67046aaaa144f5d20e839b0a76bce75b6
|
3 |
+
size 6968
|
special_tokens_map.json
CHANGED
@@ -101,7 +101,25 @@
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
104 |
-
"eos_token":
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
104 |
+
"eos_token": {
|
105 |
+
"content": "</s>",
|
106 |
+
"lstrip": false,
|
107 |
+
"normalized": false,
|
108 |
+
"rstrip": false,
|
109 |
+
"single_word": false
|
110 |
+
},
|
111 |
+
"pad_token": {
|
112 |
+
"content": "<pad>",
|
113 |
+
"lstrip": false,
|
114 |
+
"normalized": false,
|
115 |
+
"rstrip": false,
|
116 |
+
"single_word": false
|
117 |
+
},
|
118 |
+
"unk_token": {
|
119 |
+
"content": "<unk>",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": false,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false
|
124 |
+
}
|
125 |
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
|
3 |
+
size 791656
|
tokenizer_config.json
CHANGED
@@ -930,6 +930,7 @@
|
|
930 |
"clean_up_tokenization_spaces": true,
|
931 |
"eos_token": "</s>",
|
932 |
"extra_ids": 100,
|
|
|
933 |
"model_max_length": 512,
|
934 |
"pad_token": "<pad>",
|
935 |
"sp_model_kwargs": {},
|
|
|
930 |
"clean_up_tokenization_spaces": true,
|
931 |
"eos_token": "</s>",
|
932 |
"extra_ids": 100,
|
933 |
+
"legacy": true,
|
934 |
"model_max_length": 512,
|
935 |
"pad_token": "<pad>",
|
936 |
"sp_model_kwargs": {},
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdb13061f50f5890c07462d0240bff4d41e9248346cecd86a92a966b742d4a22
|
3 |
+
size 4728
|