Update model files
Browse files- config.json +6 -56
config.json
CHANGED
@@ -1,58 +1,8 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"decoder_start_token_id": 0,
|
9 |
-
"dropout_rate": 0.1,
|
10 |
-
"eos_token_id": 1,
|
11 |
-
"feed_forward_proj": "gated-gelu",
|
12 |
-
"initializer_factor": 1.0,
|
13 |
-
"is_encoder_decoder": true,
|
14 |
-
"layer_norm_epsilon": 1e-06,
|
15 |
-
"model_type": "t5",
|
16 |
-
"n_positions": 512,
|
17 |
-
"num_decoder_layers": 24,
|
18 |
-
"num_heads": 32,
|
19 |
-
"num_layers": 24,
|
20 |
-
"output_past": true,
|
21 |
-
"pad_token_id": 0,
|
22 |
-
"relative_attention_max_distance": 128,
|
23 |
-
"relative_attention_num_buckets": 32,
|
24 |
-
"task_specific_params": {
|
25 |
-
"summarization": {
|
26 |
-
"early_stopping": true,
|
27 |
-
"length_penalty": 2.0,
|
28 |
-
"max_length": 200,
|
29 |
-
"min_length": 30,
|
30 |
-
"no_repeat_ngram_size": 3,
|
31 |
-
"num_beams": 4,
|
32 |
-
"prefix": "summarize: "
|
33 |
-
},
|
34 |
-
"translation_en_to_de": {
|
35 |
-
"early_stopping": true,
|
36 |
-
"max_length": 300,
|
37 |
-
"num_beams": 4,
|
38 |
-
"prefix": "translate English to German: "
|
39 |
-
},
|
40 |
-
"translation_en_to_fr": {
|
41 |
-
"early_stopping": true,
|
42 |
-
"max_length": 300,
|
43 |
-
"num_beams": 4,
|
44 |
-
"prefix": "translate English to French: "
|
45 |
-
},
|
46 |
-
"translation_en_to_ro": {
|
47 |
-
"early_stopping": true,
|
48 |
-
"max_length": 300,
|
49 |
-
"num_beams": 4,
|
50 |
-
"prefix": "translate English to Romanian: "
|
51 |
-
}
|
52 |
-
},
|
53 |
-
"tie_word_embeddings": false,
|
54 |
-
"torch_dtype": "float32",
|
55 |
-
"transformers_version": "4.24.0.dev0",
|
56 |
-
"use_cache": true,
|
57 |
-
"vocab_size": 32128
|
58 |
}
|
|
|
1 |
{
|
2 |
+
"add_source_bos": false,
|
3 |
+
"add_source_eos": false,
|
4 |
+
"bos_token": "<pad>",
|
5 |
+
"decoder_start_token": "<pad>",
|
6 |
+
"eos_token": "</s>",
|
7 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|