lizhuang144 commited on
Commit
fb28bbe
1 Parent(s): 9114ccf

Upload T5ForConditionalGeneration (#3)

Browse files

- Upload T5ForConditionalGeneration (e62433351d075e259149360b87d99f2e92cf7605)

Files changed (3) hide show
  1. config.json +38 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "flan-t5-large",
3
+ "adapters": {
4
+ "adapters": {},
5
+ "config_map": {},
6
+ "fusion_config_map": {},
7
+ "fusions": {}
8
+ },
9
+ "architectures": [
10
+ "T5ForConditionalGeneration"
11
+ ],
12
+ "d_ff": 2816,
13
+ "d_kv": 64,
14
+ "d_model": 1024,
15
+ "decoder_start_token_id": 0,
16
+ "dense_act_fn": "gelu_new",
17
+ "dropout_rate": 0.1,
18
+ "eos_token_id": 1,
19
+ "feed_forward_proj": "gated-gelu",
20
+ "initializer_factor": 1.0,
21
+ "is_encoder_decoder": true,
22
+ "is_gated_act": true,
23
+ "layer_norm_epsilon": 1e-06,
24
+ "model_type": "t5",
25
+ "n_positions": 512,
26
+ "num_decoder_layers": 24,
27
+ "num_heads": 16,
28
+ "num_layers": 24,
29
+ "output_past": true,
30
+ "pad_token_id": 0,
31
+ "relative_attention_max_distance": 128,
32
+ "relative_attention_num_buckets": 32,
33
+ "tie_word_embeddings": false,
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.28.1",
36
+ "use_cache": true,
37
+ "vocab_size": 32128
38
+ }
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.28.1"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d40ffa90743a4970153084a5d0a7dc1dfd63f17ab539a9e73010f29657072a8
3
+ size 3132785797