system HF staff commited on
Commit
f8275ef
1 Parent(s): 6000698

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +21 -10
config.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "_num_labels": 3,
3
- "activation_dropout": 0.0,
4
  "activation_function": "gelu",
 
5
  "add_final_layer_norm": false,
6
  "architectures": [
7
  "BartModel",
8
- "BartForMaskedLM",
9
  "BartForSequenceClassification"
10
  ],
11
- "attention_dropout": 0.0,
12
  "bos_token_id": 0,
13
- "classif_dropout": 0.0,
14
  "d_model": 1024,
15
  "decoder_attention_heads": 16,
16
  "decoder_ffn_dim": 4096,
@@ -18,6 +18,7 @@
18
  "decoder_layers": 12,
19
  "decoder_start_token_id": 2,
20
  "dropout": 0.1,
 
21
  "encoder_attention_heads": 16,
22
  "encoder_ffn_dim": 4096,
23
  "encoder_layerdrop": 0.0,
@@ -39,18 +40,28 @@
39
  "model_type": "bart",
40
  "normalize_before": false,
41
  "num_hidden_layers": 12,
42
- "output_past": false,
43
  "pad_token_id": 1,
44
- "prefix": " ",
45
  "scale_embedding": false,
 
 
46
  "task_specific_params": {
47
- "summarization": {
48
- "early_stopping": true,
 
 
 
 
 
49
  "length_penalty": 2.0,
50
  "max_length": 142,
51
  "min_length": 56,
52
- "no_repeat_ngram_size": 3,
53
  "num_beams": 4
 
 
 
 
 
 
54
  }
55
  },
56
  "vocab_size": 50265
1
  {
2
+ "activation_dropout": 0.1,
 
3
  "activation_function": "gelu",
4
+ "add_bias_logits": false,
5
  "add_final_layer_norm": false,
6
  "architectures": [
7
  "BartModel",
8
+ "BartForConditionalGeneration",
9
  "BartForSequenceClassification"
10
  ],
11
+ "attention_dropout": 0.1,
12
  "bos_token_id": 0,
13
+ "classif_dropout": 0.1,
14
  "d_model": 1024,
15
  "decoder_attention_heads": 16,
16
  "decoder_ffn_dim": 4096,
18
  "decoder_layers": 12,
19
  "decoder_start_token_id": 2,
20
  "dropout": 0.1,
21
+ "early_stopping": true,
22
  "encoder_attention_heads": 16,
23
  "encoder_ffn_dim": 4096,
24
  "encoder_layerdrop": 0.0,
40
  "model_type": "bart",
41
  "normalize_before": false,
42
  "num_hidden_layers": 12,
 
43
  "pad_token_id": 1,
 
44
  "scale_embedding": false,
45
+ "num_beams": 4,
46
+ "no_repeat_ngram_size": 3,
47
  "task_specific_params": {
48
+ "summarization": {
49
+ "length_penalty": 1.0,
50
+ "max_length": 128,
51
+ "min_length": 12,
52
+ "num_beams": 4
53
+ },
54
+ "summarization_cnn": {
55
  "length_penalty": 2.0,
56
  "max_length": 142,
57
  "min_length": 56,
 
58
  "num_beams": 4
59
+ },
60
+ "summarization_xsum": {
61
+ "length_penalty": 1.0,
62
+ "max_length": 62,
63
+ "min_length": 11,
64
+ "num_beams": 6
65
  }
66
  },
67
  "vocab_size": 50265