Defetya commited on
Commit
d2d3625
1 Parent(s): be74cb9

Upload TFT5ForConditionalGeneration (#1)

Browse files

- Upload TFT5ForConditionalGeneration (15df91bd1c479dc63726387bbcd2a2050e92c32e)

Files changed (4) hide show
  1. README.md +57 -0
  2. config.json +32 -0
  3. generation_config.json +7 -0
  4. tf_model.h5 +3 -0
README.md CHANGED
@@ -1,3 +1,60 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:
7
+ - name: t5-xl-tpu-jumoreski
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
+ # t5-xl-tpu-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.3608
19
+ - Epoch: 7
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
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': 8552, '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.3666 | 0 |
46
+ | 0.3650 | 1 |
47
+ | 0.3643 | 2 |
48
+ | 0.3627 | 3 |
49
+ | 0.3625 | 4 |
50
+ | 0.3613 | 5 |
51
+ | 0.3605 | 6 |
52
+ | 0.3608 | 7 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.33.3
58
+ - TensorFlow 2.12.0
59
+ - Datasets 2.14.5
60
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
13
+ "eos_token_id": 2,
14
+ "feed_forward_proj": "gated-gelu",
15
+ "gradient_checkpointing": false,
16
+ "initializer_factor": 1.0,
17
+ "is_encoder_decoder": true,
18
+ "is_gated_act": true,
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,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "tie_word_embeddings": false,
29
+ "transformers_version": "4.33.3",
30
+ "use_cache": true,
31
+ "vocab_size": 50364
32
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.33.3"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71e6cf87ffd33c0dc1241f9da09c140fee9347eb986a99e2ac6d4cdfdc121afe
3
+ size 7581417048