Defetya commited on
Commit
fc0677a
1 Parent(s): b1a714a

Upload TFT5ForConditionalGeneration (#2)

Browse files

- Upload TFT5ForConditionalGeneration (939a128f9ec63093c168f8e9486b1a06ac3997fa)

Files changed (3) hide show
  1. README.md +9 -9
  2. config.json +4 -4
  3. tf_model.h5 +2 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: ai-forever/FRED-T5-large
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,9 +13,9 @@ probably proofread and complete it, then remove this comment. -->
13
 
14
  # t5-jumoreski
15
 
16
- This model is a fine-tuned version of [ai-forever/FRED-T5-large](https://huggingface.co/ai-forever/FRED-T5-large) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.1765
19
  - Epoch: 4
20
 
21
  ## Model description
@@ -35,18 +35,18 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - optimizer: {'name': 'Adam', 'weight_decay': 0.01, 'clipnorm': 1, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'CosineDecay', 'config': {'initial_learning_rate': 2e-06, 'decay_steps': 3290, 'alpha': 5e-09, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
39
  - training_precision: mixed_bfloat16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Epoch |
44
  |:----------:|:-----:|
45
- | 0.2797 | 0 |
46
- | 0.2091 | 1 |
47
- | 0.1885 | 2 |
48
- | 0.1804 | 3 |
49
- | 0.1765 | 4 |
50
 
51
 
52
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
+ base_model: ai-forever/FRED-T5-1.7B
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # t5-jumoreski
15
 
16
+ This model is a fine-tuned version of [ai-forever/FRED-T5-1.7B](https://huggingface.co/ai-forever/FRED-T5-1.7B) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.3638
19
  - Epoch: 4
20
 
21
  ## Model description
 
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
+ - optimizer: {'name': 'Adam', 'weight_decay': 0.01, 'clipnorm': 1, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'CosineDecay', 'config': {'initial_learning_rate': 2e-06, 'decay_steps': 5345, 'alpha': 5e-09, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
39
  - training_precision: mixed_bfloat16
40
 
41
  ### Training results
42
 
43
  | Train Loss | Epoch |
44
  |:----------:|:-----:|
45
+ | 0.3673 | 0 |
46
+ | 0.3652 | 1 |
47
+ | 0.3645 | 2 |
48
+ | 0.3645 | 3 |
49
+ | 0.3638 | 4 |
50
 
51
 
52
  ### Framework versions
config.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "_name_or_path": "ai-forever/FRED-T5-large",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
6
  "classifier_dropout": 0.0,
7
- "d_ff": 2816,
8
  "d_kv": 64,
9
- "d_model": 1024,
10
  "decoder_start_token_id": 0,
11
  "dense_act_fn": "gelu_new",
12
  "dropout_rate": 0.1,
@@ -19,7 +19,7 @@
19
  "layer_norm_epsilon": 1e-06,
20
  "model_type": "t5",
21
  "num_decoder_layers": 24,
22
- "num_heads": 16,
23
  "num_layers": 24,
24
  "output_past": true,
25
  "pad_token_id": 0,
 
1
  {
2
+ "_name_or_path": "ai-forever/FRED-T5-1.7B",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
6
  "classifier_dropout": 0.0,
7
+ "d_ff": 4096,
8
  "d_kv": 64,
9
+ "d_model": 1536,
10
  "decoder_start_token_id": 0,
11
  "dense_act_fn": "gelu_new",
12
  "dropout_rate": 0.1,
 
19
  "layer_norm_epsilon": 1e-06,
20
  "model_type": "t5",
21
  "num_decoder_layers": 24,
22
+ "num_heads": 24,
23
  "num_layers": 24,
24
  "output_past": true,
25
  "pad_token_id": 0,
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3086edab331e9280020590c659ad5aebd23aaf6ca1ac878a40a61d6d8bbf94e1
3
- size 3695699576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7572db74655669bc1c017b9174e3a9f0d574f1cb44250ff3ce7b34024807a028
3
+ size 7581417048