Commit ·
abd7773
1
Parent(s): d01d34e
Upload T5ForConditionalGeneration
Browse files- config.json +4 -2
- generation_config.json +7 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
|
@@ -7,11 +7,13 @@
|
|
| 7 |
"d_kv": 64,
|
| 8 |
"d_model": 768,
|
| 9 |
"decoder_start_token_id": 0,
|
|
|
|
| 10 |
"dropout_rate": 0.1,
|
| 11 |
"eos_token_id": 1,
|
| 12 |
"feed_forward_proj": "gated-gelu",
|
| 13 |
"initializer_factor": 1.0,
|
| 14 |
"is_encoder_decoder": true,
|
|
|
|
| 15 |
"layer_norm_epsilon": 1e-06,
|
| 16 |
"model_type": "t5",
|
| 17 |
"n_positions": 512,
|
|
@@ -53,7 +55,7 @@
|
|
| 53 |
},
|
| 54 |
"tie_word_embeddings": false,
|
| 55 |
"torch_dtype": "float32",
|
| 56 |
-
"transformers_version": "4.
|
| 57 |
"use_cache": true,
|
| 58 |
"vocab_size": 32128
|
| 59 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/kaggle/working/output/outputs/simplet5-epoch-0-train-loss-0.7146-val-loss-0.6288/",
|
| 3 |
"architectures": [
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 7 |
"d_kv": 64,
|
| 8 |
"d_model": 768,
|
| 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,
|
|
|
|
| 55 |
},
|
| 56 |
"tie_word_embeddings": false,
|
| 57 |
"torch_dtype": "float32",
|
| 58 |
+
"transformers_version": "4.26.1",
|
| 59 |
"use_cache": true,
|
| 60 |
"vocab_size": 32128
|
| 61 |
}
|
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:6b4aba14d4a6d8d1a994f93de865ce297fd832f9212c7d4112c274c40a3297b0
|
| 3 |
+
size 990404917
|