serhii-korobchenko commited on
Commit
2ddae9d
1 Parent(s): e1e1d33

Upload TFMT5ForConditionalGeneration

Browse files
Files changed (4) hide show
  1. README.md +103 -0
  2. config.json +31 -0
  3. generation_config.json +7 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: serhii-korobchenko/mt5-small_poetry_test-2024-02-23-11-37-04
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: mt5-small_poetry_test-2024-02-23-15-43-02
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # mt5-small_poetry_test-2024-02-23-15-43-02
15
+
16
+ This model is a fine-tuned version of [serhii-korobchenko/mt5-small_poetry_test-2024-02-23-11-37-04](https://huggingface.co/serhii-korobchenko/mt5-small_poetry_test-2024-02-23-11-37-04) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 1.0719
19
+ - Validation Loss: 8.8056
20
+ - Epoch: 49
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
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 0.0056, 'decay_steps': 750, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 1e-06}
40
+ - training_precision: mixed_float16
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Epoch |
45
+ |:----------:|:---------------:|:-----:|
46
+ | 10.6051 | 8.0186 | 0 |
47
+ | 7.2838 | 7.5097 | 1 |
48
+ | 6.1079 | 7.5227 | 2 |
49
+ | 5.8520 | 7.6991 | 3 |
50
+ | 5.7403 | 7.6098 | 4 |
51
+ | 5.7371 | 7.6277 | 5 |
52
+ | 5.6356 | 7.6047 | 6 |
53
+ | 5.6156 | 7.7156 | 7 |
54
+ | 5.5722 | 7.5735 | 8 |
55
+ | 5.5118 | 7.5908 | 9 |
56
+ | 5.4539 | 7.6017 | 10 |
57
+ | 5.3815 | 7.6174 | 11 |
58
+ | 5.3763 | 7.6022 | 12 |
59
+ | 5.2895 | 7.4830 | 13 |
60
+ | 5.2140 | 7.5455 | 14 |
61
+ | 5.1843 | 7.4243 | 15 |
62
+ | 5.1056 | 7.3897 | 16 |
63
+ | 4.9740 | 7.2854 | 17 |
64
+ | 4.9361 | 7.2887 | 18 |
65
+ | 4.8234 | 7.4561 | 19 |
66
+ | 4.9462 | 7.3764 | 20 |
67
+ | 4.8029 | 7.2209 | 21 |
68
+ | 4.6122 | 7.1327 | 22 |
69
+ | 4.4010 | 7.3362 | 23 |
70
+ | 4.2291 | 7.0549 | 24 |
71
+ | 4.0323 | 7.2076 | 25 |
72
+ | 3.8655 | 7.2932 | 26 |
73
+ | 3.6406 | 7.3575 | 27 |
74
+ | 3.4665 | 7.2689 | 28 |
75
+ | 3.4070 | 7.1520 | 29 |
76
+ | 3.3049 | 7.4382 | 30 |
77
+ | 3.0354 | 7.5552 | 31 |
78
+ | 2.7136 | 7.2149 | 32 |
79
+ | 2.5568 | 7.8140 | 33 |
80
+ | 2.2594 | 7.7701 | 34 |
81
+ | 2.1743 | 7.9400 | 35 |
82
+ | 2.0776 | 8.1060 | 36 |
83
+ | 1.8686 | 7.7733 | 37 |
84
+ | 1.8453 | 8.1850 | 38 |
85
+ | 1.7281 | 7.8816 | 39 |
86
+ | 1.5912 | 7.8918 | 40 |
87
+ | 1.4447 | 8.4160 | 41 |
88
+ | 1.4090 | 8.5857 | 42 |
89
+ | 1.2143 | 8.5367 | 43 |
90
+ | 1.2254 | 8.3491 | 44 |
91
+ | 1.0937 | 8.8601 | 45 |
92
+ | 1.1357 | 8.4994 | 46 |
93
+ | 1.0708 | 8.9421 | 47 |
94
+ | 1.0830 | 8.9817 | 48 |
95
+ | 1.0719 | 8.8056 | 49 |
96
+
97
+
98
+ ### Framework versions
99
+
100
+ - Transformers 4.37.2
101
+ - TensorFlow 2.15.0
102
+ - Datasets 2.17.1
103
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "serhii-korobchenko/mt5-small_poetry_test-2024-02-23-11-37-04",
3
+ "architectures": [
4
+ "MT5ForConditionalGeneration"
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": "mt5",
20
+ "num_decoder_layers": 8,
21
+ "num_heads": 6,
22
+ "num_layers": 8,
23
+ "pad_token_id": 0,
24
+ "relative_attention_max_distance": 128,
25
+ "relative_attention_num_buckets": 32,
26
+ "tie_word_embeddings": false,
27
+ "tokenizer_class": "T5Tokenizer",
28
+ "transformers_version": "4.37.2",
29
+ "use_cache": true,
30
+ "vocab_size": 250112
31
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.37.2"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:108f0fae6d7a3f1fc2e246e8c79bec0187f2893878bf843d5405346815a3c187
3
+ size 2225556280