pacovaldez
commited on
Commit
·
8f14b11
1
Parent(s):
7b6d014
Upload T5ForConditionalGeneration
Browse files- config.json +9 -8
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "t5-small",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
-
"d_ff":
|
7 |
"d_kv": 64,
|
8 |
"d_model": 512,
|
9 |
"decoder_start_token_id": 0,
|
10 |
-
"dense_act_fn": "
|
11 |
"dropout_rate": 0.1,
|
12 |
"eos_token_id": 1,
|
13 |
-
"feed_forward_proj": "
|
14 |
"initializer_factor": 1.0,
|
15 |
"is_encoder_decoder": true,
|
16 |
-
"is_gated_act":
|
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,
|
@@ -53,6 +53,7 @@
|
|
53 |
"prefix": "translate English to Romanian: "
|
54 |
}
|
55 |
},
|
|
|
56 |
"torch_dtype": "float32",
|
57 |
"transformers_version": "4.27.4",
|
58 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/flan-t5-small",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
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 |
"model_type": "t5",
|
19 |
"n_positions": 512,
|
20 |
+
"num_decoder_layers": 8,
|
21 |
+
"num_heads": 6,
|
22 |
+
"num_layers": 8,
|
23 |
"output_past": true,
|
24 |
"pad_token_id": 0,
|
25 |
"relative_attention_max_distance": 128,
|
|
|
53 |
"prefix": "translate English to Romanian: "
|
54 |
}
|
55 |
},
|
56 |
+
"tie_word_embeddings": false,
|
57 |
"torch_dtype": "float32",
|
58 |
"transformers_version": "4.27.4",
|
59 |
"use_cache": true,
|
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:a0e297d0ef662d9f153d916e759adaeb86cfca631bc8b9d23ae9bc2a63ee6dec
|
3 |
+
size 307907461
|