yongsun-shim
commited on
Commit
•
9cd4134
1
Parent(s):
7caf5b9
Upload T5ForConditionalGeneration
Browse files- config.json +0 -7
- generation_config.json +0 -6
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -17,26 +17,19 @@
|
|
17 |
"decoder_start_token_id": 0,
|
18 |
"dense_act_fn": "relu",
|
19 |
"dropout_rate": 0.1,
|
20 |
-
"early_stopping": true,
|
21 |
"eos_token_id": 1,
|
22 |
"feed_forward_proj": "relu",
|
23 |
"initializer_factor": 1.0,
|
24 |
"is_encoder_decoder": true,
|
25 |
"is_gated_act": false,
|
26 |
"layer_norm_epsilon": 1e-06,
|
27 |
-
"length_penalty": 2.0,
|
28 |
-
"max_length": 200,
|
29 |
-
"min_length": 30,
|
30 |
"model_type": "t5",
|
31 |
"n_positions": 512,
|
32 |
-
"no_repeat_ngram_size": 3,
|
33 |
-
"num_beams": 4,
|
34 |
"num_decoder_layers": 6,
|
35 |
"num_heads": 8,
|
36 |
"num_layers": 6,
|
37 |
"output_past": true,
|
38 |
"pad_token_id": 0,
|
39 |
-
"prefix": "summarize: ",
|
40 |
"relative_attention_max_distance": 128,
|
41 |
"relative_attention_num_buckets": 32,
|
42 |
"task_specific_params": {
|
|
|
17 |
"decoder_start_token_id": 0,
|
18 |
"dense_act_fn": "relu",
|
19 |
"dropout_rate": 0.1,
|
|
|
20 |
"eos_token_id": 1,
|
21 |
"feed_forward_proj": "relu",
|
22 |
"initializer_factor": 1.0,
|
23 |
"is_encoder_decoder": true,
|
24 |
"is_gated_act": false,
|
25 |
"layer_norm_epsilon": 1e-06,
|
|
|
|
|
|
|
26 |
"model_type": "t5",
|
27 |
"n_positions": 512,
|
|
|
|
|
28 |
"num_decoder_layers": 6,
|
29 |
"num_heads": 8,
|
30 |
"num_layers": 6,
|
31 |
"output_past": true,
|
32 |
"pad_token_id": 0,
|
|
|
33 |
"relative_attention_max_distance": 128,
|
34 |
"relative_attention_num_buckets": 32,
|
35 |
"task_specific_params": {
|
generation_config.json
CHANGED
@@ -1,13 +1,7 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
-
"early_stopping": true,
|
5 |
"eos_token_id": 1,
|
6 |
-
"length_penalty": 2.0,
|
7 |
-
"max_length": 200,
|
8 |
-
"min_length": 30,
|
9 |
-
"no_repeat_ngram_size": 3,
|
10 |
-
"num_beams": 4,
|
11 |
"pad_token_id": 0,
|
12 |
"transformers_version": "4.26.1"
|
13 |
}
|
|
|
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 243685401
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fcea702204d5895fd13e5efbfb001c65356d05429a3f01bb00b6e43ffbb18d9
|
3 |
size 243685401
|