Upload MT5ForConditionalGeneration

#1
by ahmed0189 - opened
Files changed (3) hide show
  1. config.json +35 -0
  2. generation_config.json +10 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/kaggle/input/mt5-trained-8-epochs/mt5-summarize-ar/checkpoint-7000/",
3
+ "architectures": [
4
+ "MT5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 1024,
7
+ "d_kv": 64,
8
+ "d_model": 512,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "gated-gelu",
14
+ "initializer_factor": 1.0,
15
+ "is_encoder_decoder": true,
16
+ "is_gated_act": true,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "length_penalty": 0.6,
19
+ "max_length": 128,
20
+ "model_type": "mt5",
21
+ "no_repeat_ngram_size": 2,
22
+ "num_beams": 15,
23
+ "num_decoder_layers": 8,
24
+ "num_heads": 6,
25
+ "num_layers": 8,
26
+ "pad_token_id": 0,
27
+ "relative_attention_max_distance": 128,
28
+ "relative_attention_num_buckets": 32,
29
+ "tie_word_embeddings": false,
30
+ "tokenizer_class": "T5Tokenizer",
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.30.1",
33
+ "use_cache": true,
34
+ "vocab_size": 250112
35
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "eos_token_id": 1,
4
+ "length_penalty": 0.6,
5
+ "max_length": 128,
6
+ "no_repeat_ngram_size": 2,
7
+ "num_beams": 15,
8
+ "pad_token_id": 0,
9
+ "transformers_version": "4.30.1"
10
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d5d9b5e47e505e515aa8242dd80ca11364f2e297cbc12f3624169e6b595a5a
3
+ size 1200769797