haining commited on
Commit
8618a34
1 Parent(s): 84b2aa9

Upload T5ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +9 -7
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,28 +1,30 @@
1
  {
2
- "_name_or_path": "google/t5-efficient-base-nl24",
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,
12
  "eos_token_id": 1,
13
- "feed_forward_proj": "relu",
14
  "initializer_factor": 1.0,
15
  "is_encoder_decoder": true,
16
- "is_gated_act": false,
17
  "layer_norm_epsilon": 1e-06,
18
  "model_type": "t5",
19
  "n_positions": 512,
20
  "num_decoder_layers": 24,
21
- "num_heads": 12,
22
  "num_layers": 24,
 
23
  "pad_token_id": 0,
24
  "relative_attention_max_distance": 128,
25
  "relative_attention_num_buckets": 32,
 
26
  "torch_dtype": "float32",
27
  "transformers_version": "4.22.2",
28
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "google/flan-t5-large",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
6
+ "d_ff": 2816,
7
  "d_kv": 64,
8
+ "d_model": 1024,
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
  "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,
26
  "relative_attention_num_buckets": 32,
27
+ "tie_word_embeddings": false,
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.22.2",
30
  "use_cache": true,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19849362d8d82d112ada8ece7ff17f098037f1470f6802745153c2f22f7c863a
3
- size 1684694407
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3ae97706847f0c1b804fb22b36232808fbd6fb328f750a85e7afc642b1d458c
3
+ size 3132781861