Veekee commited on
Commit
db382dc
·
verified ·
1 Parent(s): f3ebbe6

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +17 -25
config.json CHANGED
@@ -1,28 +1,29 @@
1
  {
2
- "activation_dropout": 0.1,
 
3
  "activation_function": "gelu",
4
- "add_bias_logits": false,
5
  "add_final_layer_norm": false,
6
  "architectures": [
7
  "BartForConditionalGeneration"
8
  ],
9
- "attention_dropout": 0.1,
10
  "bos_token_id": 0,
11
- "classif_dropout": 0.1,
12
  "classifier_dropout": 0.0,
13
- "d_model": 768,
14
- "decoder_attention_heads": 12,
15
- "decoder_ffn_dim": 3072,
16
  "decoder_layerdrop": 0.0,
17
- "decoder_layers": 6,
18
  "decoder_start_token_id": 2,
19
  "dropout": 0.1,
20
  "dtype": "float32",
21
- "encoder_attention_heads": 12,
22
- "encoder_ffn_dim": 3072,
23
  "encoder_layerdrop": 0.0,
24
- "encoder_layers": 6,
25
  "eos_token_id": 2,
 
26
  "gradient_checkpointing": false,
27
  "id2label": {
28
  "0": "LABEL_0",
@@ -40,28 +41,19 @@
40
  "max_position_embeddings": 1024,
41
  "model_type": "bart",
42
  "normalize_before": false,
43
- "normalize_embedding": true,
44
- "num_hidden_layers": 6,
45
  "pad_token_id": 1,
 
46
  "scale_embedding": false,
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
  "tie_word_embeddings": true,
 
1
  {
2
+ "_num_labels": 3,
3
+ "activation_dropout": 0.0,
4
  "activation_function": "gelu",
 
5
  "add_final_layer_norm": false,
6
  "architectures": [
7
  "BartForConditionalGeneration"
8
  ],
9
+ "attention_dropout": 0.0,
10
  "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
  "classifier_dropout": 0.0,
13
+ "d_model": 1024,
14
+ "decoder_attention_heads": 16,
15
+ "decoder_ffn_dim": 4096,
16
  "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 12,
18
  "decoder_start_token_id": 2,
19
  "dropout": 0.1,
20
  "dtype": "float32",
21
+ "encoder_attention_heads": 16,
22
+ "encoder_ffn_dim": 4096,
23
  "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 12,
25
  "eos_token_id": 2,
26
+ "force_bos_token_to_be_generated": true,
27
  "gradient_checkpointing": false,
28
  "id2label": {
29
  "0": "LABEL_0",
 
41
  "max_position_embeddings": 1024,
42
  "model_type": "bart",
43
  "normalize_before": false,
44
+ "num_hidden_layers": 12,
45
+ "output_past": true,
46
  "pad_token_id": 1,
47
+ "prefix": " ",
48
  "scale_embedding": false,
49
  "task_specific_params": {
50
  "summarization": {
51
+ "early_stopping": true,
 
 
 
 
 
52
  "length_penalty": 2.0,
53
  "max_length": 142,
54
  "min_length": 56,
55
+ "no_repeat_ngram_size": 3,
56
  "num_beams": 4
 
 
 
 
 
 
57
  }
58
  },
59
  "tie_word_embeddings": true,