Upload config.json
Browse files- config.json +80 -0
config.json
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "kobart_news",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dilation": [
|
11 |
+
1,
|
12 |
+
1,
|
13 |
+
1,
|
14 |
+
1,
|
15 |
+
1,
|
16 |
+
1
|
17 |
+
],
|
18 |
+
"attention_dropout": 0.0,
|
19 |
+
"attention_mode": "sliding_chunks",
|
20 |
+
"attention_probs_dropout_prob": 0.0,
|
21 |
+
"attention_window": [
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512,
|
26 |
+
512,
|
27 |
+
512
|
28 |
+
],
|
29 |
+
"autoregressive": false,
|
30 |
+
"bos_token_id": 0,
|
31 |
+
"classif_dropout": 0.1,
|
32 |
+
"classifier_dropout": 0.1,
|
33 |
+
"d_model": 768,
|
34 |
+
"decoder_attention_heads": 16,
|
35 |
+
"decoder_ffn_dim": 3072,
|
36 |
+
"decoder_layerdrop": 0.0,
|
37 |
+
"decoder_layers": 6,
|
38 |
+
"decoder_start_token_id": 2,
|
39 |
+
"do_blenderbot_90_layernorm": false,
|
40 |
+
"dropout": 0.1,
|
41 |
+
"encoder_attention_heads": 16,
|
42 |
+
"encoder_ffn_dim": 3072,
|
43 |
+
"encoder_layerdrop": 0.0,
|
44 |
+
"encoder_layers": 6,
|
45 |
+
"eos_token_id": 1,
|
46 |
+
"extra_pos_embeddings": 2,
|
47 |
+
"force_bos_token_to_be_generated": false,
|
48 |
+
"forced_eos_token_id": 2,
|
49 |
+
"gradient_checkpointing": false,
|
50 |
+
"id2label": {
|
51 |
+
"0": "NEGATIVE",
|
52 |
+
"1": "POSITIVE"
|
53 |
+
},
|
54 |
+
"init_std": 0.02,
|
55 |
+
"is_encoder_decoder": true,
|
56 |
+
"label2id": {
|
57 |
+
"NEGATIVE": 0,
|
58 |
+
"POSITIVE": 1
|
59 |
+
},
|
60 |
+
"max_decoder_position_embeddings": 1026,
|
61 |
+
"max_encoder_position_embeddings": 4104,
|
62 |
+
"model_type": "bart",
|
63 |
+
"normalize_before": false,
|
64 |
+
"normalize_embedding": true,
|
65 |
+
"num_hidden_layers": 6,
|
66 |
+
"pad_token_id": 3,
|
67 |
+
"scale_embedding": false,
|
68 |
+
"static_position_embeddings": false,
|
69 |
+
"task_specific_params": {
|
70 |
+
"summarization": {
|
71 |
+
"length_penalty": 1.0,
|
72 |
+
"max_length": 128,
|
73 |
+
"min_length": 12,
|
74 |
+
"num_beams": 4
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"transformers_version": "4.3.3",
|
78 |
+
"use_cache": true,
|
79 |
+
"vocab_size": 30000
|
80 |
+
}
|