Upload T5ForConditionalGeneration
Browse files- config.json +7 -7
- generation_config.json +7 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "t5-
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
-
"d_ff":
|
7 |
"d_kv": 64,
|
8 |
-
"d_model":
|
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":
|
21 |
-
"num_heads":
|
22 |
-
"num_layers":
|
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.
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98091b43a5a74fea103a8f967e9ec42b38de90dc06a627596ac85e602643010d
|
3 |
+
size 2950841345
|