chowdhuryshaif
commited on
Commit
•
2e6c147
1
Parent(s):
acbf9e3
Upload 2 files
Browse files- config.json +0 -9
- generation_config.json +1 -1
config.json
CHANGED
@@ -1,29 +1,22 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "t5-small",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
6 |
-
"classifier_dropout": 0.0,
|
7 |
"d_ff": 2048,
|
8 |
"d_kv": 64,
|
9 |
"d_model": 512,
|
10 |
"decoder_start_token_id": 0,
|
11 |
-
"dense_act_fn": "relu",
|
12 |
"dropout_rate": 0.1,
|
13 |
"eos_token_id": 1,
|
14 |
-
"feed_forward_proj": "relu",
|
15 |
"initializer_factor": 1.0,
|
16 |
"is_encoder_decoder": true,
|
17 |
-
"is_gated_act": false,
|
18 |
"layer_norm_epsilon": 1e-06,
|
19 |
"model_type": "t5",
|
20 |
"n_positions": 512,
|
21 |
-
"num_decoder_layers": 6,
|
22 |
"num_heads": 8,
|
23 |
"num_layers": 6,
|
24 |
"output_past": true,
|
25 |
"pad_token_id": 0,
|
26 |
-
"relative_attention_max_distance": 128,
|
27 |
"relative_attention_num_buckets": 32,
|
28 |
"task_specific_params": {
|
29 |
"summarization": {
|
@@ -54,7 +47,5 @@
|
|
54 |
"prefix": "translate English to Romanian: "
|
55 |
}
|
56 |
},
|
57 |
-
"transformers_version": "4.32.0",
|
58 |
-
"use_cache": true,
|
59 |
"vocab_size": 32128
|
60 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"T5ForConditionalGeneration"
|
4 |
],
|
|
|
5 |
"d_ff": 2048,
|
6 |
"d_kv": 64,
|
7 |
"d_model": 512,
|
8 |
"decoder_start_token_id": 0,
|
|
|
9 |
"dropout_rate": 0.1,
|
10 |
"eos_token_id": 1,
|
|
|
11 |
"initializer_factor": 1.0,
|
12 |
"is_encoder_decoder": true,
|
|
|
13 |
"layer_norm_epsilon": 1e-06,
|
14 |
"model_type": "t5",
|
15 |
"n_positions": 512,
|
|
|
16 |
"num_heads": 8,
|
17 |
"num_layers": 6,
|
18 |
"output_past": true,
|
19 |
"pad_token_id": 0,
|
|
|
20 |
"relative_attention_num_buckets": 32,
|
21 |
"task_specific_params": {
|
22 |
"summarization": {
|
|
|
47 |
"prefix": "translate English to Romanian: "
|
48 |
}
|
49 |
},
|
|
|
|
|
50 |
"vocab_size": 32128
|
51 |
}
|
generation_config.json
CHANGED
@@ -3,5 +3,5 @@
|
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 1,
|
5 |
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.
|
7 |
}
|
|
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 1,
|
5 |
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.27.0.dev0"
|
7 |
}
|