Hacker1337
commited on
Commit
•
a0d0ac9
1
Parent(s):
46accaa
Upload T5ForConditionalGeneration
Browse files- config.json +36 -0
- generation_config.json +9 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "T5_model_full_dataset_10epoch_training/checkpoint-26500",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"classifier_dropout": 0.0,
|
8 |
+
"d_ff": 2048,
|
9 |
+
"d_kv": 64,
|
10 |
+
"d_model": 768,
|
11 |
+
"decoder_start_token_id": 2,
|
12 |
+
"dense_act_fn": "gelu_new",
|
13 |
+
"dropout_rate": 0.1,
|
14 |
+
"eos_token_id": 1,
|
15 |
+
"feed_forward_proj": "gated-gelu",
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": true,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"max_length": 100,
|
21 |
+
"model_type": "t5",
|
22 |
+
"num_beams": 5,
|
23 |
+
"num_decoder_layers": 12,
|
24 |
+
"num_heads": 12,
|
25 |
+
"num_layers": 12,
|
26 |
+
"output_past": true,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"relative_attention_max_distance": 128,
|
29 |
+
"relative_attention_num_buckets": 32,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"tokenizer_class": "T5Tokenizer",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.35.2",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 30000
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 2,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"max_length": 100,
|
6 |
+
"num_beams": 5,
|
7 |
+
"pad_token_id": 0,
|
8 |
+
"transformers_version": "4.35.2"
|
9 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c975fb1573863fd0916a43178ca702de55b7aa44d16e97bad2053fda3c49fa80
|
3 |
+
size 977270632
|