Graverman commited on
Commit
45fc28d
1 Parent(s): 075eea9

Upload T5ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +7 -7
  2. generation_config.json +7 -0
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "_name_or_path": "t5-base",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
6
- "d_ff": 3072,
7
  "d_kv": 64,
8
- "d_model": 768,
9
  "decoder_start_token_id": 0,
10
  "dense_act_fn": "relu",
11
  "dropout_rate": 0.1,
@@ -17,9 +17,9 @@
17
  "layer_norm_epsilon": 1e-06,
18
  "model_type": "t5",
19
  "n_positions": 512,
20
- "num_decoder_layers": 12,
21
- "num_heads": 12,
22
- "num_layers": 12,
23
  "output_past": true,
24
  "pad_token_id": 0,
25
  "relative_attention_max_distance": 128,
@@ -54,7 +54,7 @@
54
  }
55
  },
56
  "torch_dtype": "float32",
57
- "transformers_version": "4.25.1",
58
  "use_cache": true,
59
  "vocab_size": 32128
60
  }
 
1
  {
2
+ "_name_or_path": "t5-large",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
6
+ "d_ff": 4096,
7
  "d_kv": 64,
8
+ "d_model": 1024,
9
  "decoder_start_token_id": 0,
10
  "dense_act_fn": "relu",
11
  "dropout_rate": 0.1,
 
17
  "layer_norm_epsilon": 1e-06,
18
  "model_type": "t5",
19
  "n_positions": 512,
20
+ "num_decoder_layers": 24,
21
+ "num_heads": 16,
22
+ "num_layers": 24,
23
  "output_past": true,
24
  "pad_token_id": 0,
25
  "relative_attention_max_distance": 128,
 
54
  }
55
  },
56
  "torch_dtype": "float32",
57
+ "transformers_version": "4.26.1",
58
  "use_cache": true,
59
  "vocab_size": 32128
60
  }
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.26.1"
7
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2591e49129d2dff52fccb618f3ad08fc70a4ff9d4d013bd97df0fd6d74dcc27a
3
- size 891699345
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98091b43a5a74fea103a8f967e9ec42b38de90dc06a627596ac85e602643010d
3
+ size 2950841345