Update config.json
Browse files- config.json +1 -31
config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": ".",
|
3 |
"architectures": [
|
4 |
"T5ForConditionalGeneration"
|
5 |
],
|
@@ -7,7 +6,7 @@
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 768,
|
9 |
"decoder_start_token_id": 0,
|
10 |
-
"dropout_rate": 0,
|
11 |
"eos_token_id": 1,
|
12 |
"feed_forward_proj": "relu",
|
13 |
"gradient_checkpointing": false,
|
@@ -22,35 +21,6 @@
|
|
22 |
"output_past": true,
|
23 |
"pad_token_id": 0,
|
24 |
"relative_attention_num_buckets": 32,
|
25 |
-
"task_specific_params": {
|
26 |
-
"summarization": {
|
27 |
-
"early_stopping": true,
|
28 |
-
"length_penalty": 2.0,
|
29 |
-
"max_length": 200,
|
30 |
-
"min_length": 30,
|
31 |
-
"no_repeat_ngram_size": 3,
|
32 |
-
"num_beams": 4,
|
33 |
-
"prefix": "summarize: "
|
34 |
-
},
|
35 |
-
"translation_en_to_de": {
|
36 |
-
"early_stopping": true,
|
37 |
-
"max_length": 300,
|
38 |
-
"num_beams": 4,
|
39 |
-
"prefix": "translate English to German: "
|
40 |
-
},
|
41 |
-
"translation_en_to_fr": {
|
42 |
-
"early_stopping": true,
|
43 |
-
"max_length": 300,
|
44 |
-
"num_beams": 4,
|
45 |
-
"prefix": "translate English to French: "
|
46 |
-
},
|
47 |
-
"translation_en_to_ro": {
|
48 |
-
"early_stopping": true,
|
49 |
-
"max_length": 300,
|
50 |
-
"num_beams": 4,
|
51 |
-
"prefix": "translate English to Romanian: "
|
52 |
-
}
|
53 |
-
},
|
54 |
"torch_dtype": "float32",
|
55 |
"transformers_version": "4.9.0.dev0",
|
56 |
"use_cache": true,
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"T5ForConditionalGeneration"
|
4 |
],
|
|
|
6 |
"d_kv": 64,
|
7 |
"d_model": 768,
|
8 |
"decoder_start_token_id": 0,
|
9 |
+
"dropout_rate": 0.1,
|
10 |
"eos_token_id": 1,
|
11 |
"feed_forward_proj": "relu",
|
12 |
"gradient_checkpointing": false,
|
|
|
21 |
"output_past": true,
|
22 |
"pad_token_id": 0,
|
23 |
"relative_attention_num_buckets": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.9.0.dev0",
|
26 |
"use_cache": true,
|