prakharz commited on
Commit
df124dc
1 Parent(s): ae3fc61

Upload with huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: t0-alltasksv2-t2
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # t0-alltasksv2-t2
14
+
15
+ This model is a fine-tuned version of [google/flan-t5-xl](https://huggingface.co/google/flan-t5-xl) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 1.2461
18
+ - Train Runtime: 54501.5741
19
+ - Train Samples Per Second: 17.607
20
+ - Train Steps Per Second: 0.196
21
+ - Train Loss: 1.2518
22
+ - Train Samples: 239899
23
+ - Gen Len: 9.0377
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 3
44
+ - eval_batch_size: 4
45
+ - seed: 42
46
+ - distributed_type: multi-GPU
47
+ - num_devices: 6
48
+ - gradient_accumulation_steps: 5
49
+ - total_train_batch_size: 90
50
+ - total_eval_batch_size: 24
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 4.0
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Accuracy | F1 | Recall | Precision | Bleu 1 | Bleu 2 | Bleu 3 | Bleu 4 | Rouge L | Gen Len |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:------:|:-------:|:---------:|:--------:|:-------:|:-------:|:---------:|:------:|:------:|:------:|:------:|:-------:|:-------:|
59
+ | 1.5099 | 0.15 | 400 | 1.3184 | 62.9956 | 6.6989 | 62.5464 | 62.7932 | 73.1148 | 73.1148 | 73.1148 | 73.1148 | 0.6509 | 0.0005 | 0.0001 | 0.0 | 0.6033 | 6.266 |
60
+ | 1.4929 | 0.3 | 800 | 1.2843 | 64.2143 | 6.6289 | 63.7888 | 63.9982 | 75.1756 | 75.1756 | 75.1756 | 75.1756 | 0.6556 | 0.0005 | 0.0001 | 0.0 | 0.6128 | 6.5423 |
61
+ | 1.4285 | 0.45 | 1200 | 1.2717 | 64.3279 | 6.63 | 63.9036 | 64.1136 | 75.4567 | 75.4567 | 75.4567 | 75.4567 | 0.6591 | 0.0005 | 0.0001 | 0.0 | 0.6153 | 6.4407 |
62
+ | 1.4419 | 0.6 | 1600 | 1.2583 | 64.9421 | 6.5473 | 64.445 | 64.6707 | 76.1593 | 76.1593 | 76.1593 | 76.1593 | 0.6682 | 0.0005 | 0.0001 | 0.0 | 0.6218 | 6.378 |
63
+ | 1.3967 | 0.75 | 2000 | 1.2497 | 65.9619 | 6.8233 | 65.4883 | 65.6707 | 77.2834 | 77.2834 | 77.2834 | 77.2834 | 0.6764 | 0.0005 | 0.0001 | 0.0 | 0.6297 | 6.4027 |
64
+ | 1.4062 | 0.9 | 2400 | 1.2440 | 65.8936 | 6.6978 | 65.4631 | 65.6771 | 77.2365 | 77.2365 | 77.2365 | 77.2365 | 0.6753 | 0.0005 | 0.0001 | 0.0 | 0.6291 | 6.4097 |
65
+ | 1.2708 | 1.05 | 2800 | 1.2460 | 66.4183 | 6.7096 | 66.0049 | 66.191 | 78.1265 | 78.1265 | 78.1265 | 78.1265 | 0.6781 | 0.0006 | 0.0001 | 0.0 | 0.6321 | 6.45 |
66
+ | 1.2593 | 1.2 | 3200 | 1.2467 | 66.985 | 6.4882 | 66.596 | 66.7582 | 79.1569 | 79.1569 | 79.1569 | 79.1569 | 0.683 | 0.0006 | 0.0001 | 0.0 | 0.6395 | 6.495 |
67
+ | 1.2623 | 1.35 | 3600 | 1.2461 | 66.8681 | 6.6985 | 66.4877 | 66.6731 | 78.7354 | 78.7354 | 78.7354 | 78.7354 | 0.6821 | 0.0006 | 0.0001 | 0.0 | 0.6369 | 6.4727 |
68
+ | 1.2579 | 1.5 | 4000 | 1.2447 | 67.8146 | 6.7285 | 67.3078 | 67.5351 | 79.8126 | 79.8126 | 79.8126 | 79.8126 | 0.6937 | 0.0006 | 0.0001 | 0.0 | 0.6455 | 6.3997 |
69
+ | 1.3159 | 1.65 | 4400 | 1.2281 | 67.8172 | 6.7857 | 67.3662 | 67.5871 | 79.9532 | 79.9532 | 79.9532 | 79.9532 | 0.694 | 0.0006 | 0.0001 | 0.0 | 0.6461 | 6.448 |
70
+ | 1.2492 | 1.8 | 4800 | 1.2310 | 68.3986 | 6.8058 | 67.9201 | 68.1741 | 80.7963 | 80.7963 | 80.7963 | 80.7963 | 0.6991 | 0.0006 | 0.0001 | 0.0 | 0.6516 | 6.4757 |
71
+ | 1.2338 | 1.95 | 5200 | 1.2253 | 67.9938 | 6.9092 | 67.5083 | 67.6913 | 80.0 | 80.0 | 80.0 | 80.0 | 0.695 | 0.0006 | 0.0001 | 0.0 | 0.6466 | 6.4163 |
72
+ | 1.1788 | 2.1 | 5600 | 1.2499 | 67.9377 | 6.8965 | 67.4813 | 67.674 | 80.0937 | 80.0937 | 80.0937 | 80.0937 | 0.6917 | 0.0006 | 0.0001 | 0.0 | 0.6434 | 6.5223 |
73
+ | 1.1833 | 2.25 | 6000 | 1.2401 | 68.1452 | 6.8628 | 67.7046 | 67.9493 | 80.3279 | 80.3279 | 80.3279 | 80.3279 | 0.6985 | 0.0006 | 0.0001 | 0.0 | 0.6497 | 6.3733 |
74
+ | 1.193 | 2.4 | 6400 | 1.2418 | 68.252 | 6.8999 | 67.7704 | 68.023 | 80.4684 | 80.4684 | 80.4684 | 80.4684 | 0.6985 | 0.0006 | 0.0001 | 0.0 | 0.6506 | 6.3623 |
75
+ | 1.1649 | 2.55 | 6800 | 1.2403 | 68.5799 | 6.7505 | 68.0777 | 68.3039 | 80.9368 | 80.9368 | 80.9368 | 80.9368 | 0.6993 | 0.0006 | 0.0001 | 0.0 | 0.6515 | 6.4743 |
76
+ | 1.1488 | 2.7 | 7200 | 1.2401 | 68.6737 | 6.9022 | 68.2238 | 68.4258 | 81.0304 | 81.0304 | 81.0304 | 81.0304 | 0.7001 | 0.0006 | 0.0001 | 0.0 | 0.6523 | 6.4573 |
77
+ | 1.1703 | 2.85 | 7600 | 1.2384 | 68.9471 | 6.7776 | 68.4667 | 68.6837 | 81.5457 | 81.5457 | 81.5457 | 81.5457 | 0.7004 | 0.0006 | 0.0001 | 0.0 | 0.6544 | 6.5267 |
78
+ | 1.1763 | 3.0 | 8000 | 1.2348 | 68.7204 | 6.8157 | 68.2282 | 68.4466 | 81.1241 | 81.1241 | 81.1241 | 81.1241 | 0.7006 | 0.0006 | 0.0001 | 0.0 | 0.6527 | 6.4737 |
79
+ | 1.0858 | 3.15 | 8400 | 1.2560 | 68.9519 | 6.9424 | 68.4982 | 68.6892 | 81.2646 | 81.2646 | 81.2646 | 81.2646 | 0.7025 | 0.0006 | 0.0001 | 0.0 | 0.6536 | 6.4767 |
80
+ | 1.103 | 3.3 | 8800 | 1.2461 | 69.2609 | 6.8552 | 68.8244 | 69.0129 | 81.8267 | 81.8267 | 81.8267 | 81.8267 | 0.7064 | 0.0006 | 0.0001 | 0.0 | 0.6582 | 6.4533 |
81
+ | 1.1183 | 3.45 | 9200 | 1.2507 | 68.8282 | 6.903 | 68.3923 | 68.5846 | 81.2178 | 81.2178 | 81.2178 | 81.2178 | 0.7018 | 0.0006 | 0.0001 | 0.0 | 0.6533 | 6.4797 |
82
+ | 1.07 | 3.6 | 9600 | 1.2511 | 69.1742 | 6.8362 | 68.7377 | 68.906 | 81.733 | 81.733 | 81.733 | 81.733 | 0.7061 | 0.0006 | 0.0001 | 0.0 | 0.6576 | 6.4547 |
83
+ | 1.0723 | 3.75 | 10000 | 1.2527 | 69.1098 | 6.7762 | 68.6426 | 68.8416 | 81.6862 | 81.6862 | 81.6862 | 81.6862 | 0.7052 | 0.0006 | 0.0001 | 0.0 | 0.6573 | 6.4493 |
84
+ | 1.117 | 3.9 | 10400 | 1.2512 | 69.1469 | 6.7883 | 68.6792 | 68.9055 | 81.733 | 81.733 | 81.733 | 81.733 | 0.7051 | 0.0006 | 0.0001 | 0.0 | 0.6573 | 6.469 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.21.1
90
+ - Pytorch 1.12.0
91
+ - Datasets 2.3.2
92
+ - Tokenizers 0.12.1
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/flan-t5-xl",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 5120,
7
+ "d_kv": 64,
8
+ "d_model": 2048,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu",
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "gelu",
14
+ "initializer_factor": 1.0,
15
+ "is_encoder_decoder": true,
16
+ "is_gated_act": true,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
19
+ "n_positions": 512,
20
+ "num_decoder_layers": 24,
21
+ "num_heads": 32,
22
+ "num_layers": 24,
23
+ "output_past": true,
24
+ "pad_token_id": 0,
25
+ "relative_attention_max_distance": 128,
26
+ "relative_attention_num_buckets": 32,
27
+ "task_specific_params": {
28
+ "summarization": {
29
+ "early_stopping": true,
30
+ "length_penalty": 2.0,
31
+ "max_length": 200,
32
+ "min_length": 30,
33
+ "no_repeat_ngram_size": 3,
34
+ "num_beams": 4,
35
+ "prefix": "summarize: "
36
+ },
37
+ "translation_en_to_de": {
38
+ "early_stopping": true,
39
+ "max_length": 300,
40
+ "num_beams": 4,
41
+ "prefix": "translate English to German: "
42
+ },
43
+ "translation_en_to_fr": {
44
+ "early_stopping": true,
45
+ "max_length": 300,
46
+ "num_beams": 4,
47
+ "prefix": "translate English to French: "
48
+ },
49
+ "translation_en_to_ro": {
50
+ "early_stopping": true,
51
+ "max_length": 300,
52
+ "num_beams": 4,
53
+ "prefix": "translate English to Romanian: "
54
+ }
55
+ },
56
+ "tie_word_embeddings": false,
57
+ "torch_dtype": "bfloat16",
58
+ "transformers_version": "4.21.1",
59
+ "use_cache": false,
60
+ "vocab_size": 32100
61
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d366bb6cfc17a7ba795b7e09795f971c89786785267f3f78976aaa9e1b1ff08e
3
+ size 5699366427
special_tokens_map.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": "</s>",
105
+ "pad_token": "<pad>",
106
+ "unk_token": "<unk>"
107
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
3
+ size 791656
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": "</s>",
105
+ "extra_ids": 100,
106
+ "model_max_length": 512,
107
+ "name_or_path": "google/flan-t5-xl",
108
+ "pad_token": "<pad>",
109
+ "sp_model_kwargs": {},
110
+ "special_tokens_map_file": "/home/arthur_huggingface_co/.cache/huggingface/hub/models--google--t5-v1_1-small/snapshots/fb7e6cba609f7bab11c614294bc04f82f613c7b1/special_tokens_map.json",
111
+ "tokenizer_class": "T5Tokenizer",
112
+ "unk_token": "<unk>"
113
+ }