system HF staff commited on
Commit
9c9349e
1 Parent(s): f074c55

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +7 -1
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_num_labels": 3,
3
  "activation_dropout": 0.0,
4
  "activation_function": "swish",
5
  "add_bias_logits": false,
@@ -8,6 +7,11 @@
8
  "MarianMTModel"
9
  ],
10
  "attention_dropout": 0.0,
 
 
 
 
 
11
  "bos_token_id": 0,
12
  "classif_dropout": 0.0,
13
  "d_model": 512,
@@ -15,6 +19,7 @@
15
  "decoder_ffn_dim": 2048,
16
  "decoder_layerdrop": 0.0,
17
  "decoder_layers": 6,
 
18
  "dropout": 0.1,
19
  "encoder_attention_heads": 8,
20
  "encoder_ffn_dim": 2048,
@@ -33,6 +38,7 @@
33
  "LABEL_1": 1,
34
  "LABEL_2": 2
35
  },
 
36
  "max_position_embeddings": 512,
37
  "model_type": "marian",
38
  "normalize_before": false,
 
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "swish",
4
  "add_bias_logits": false,
 
7
  "MarianMTModel"
8
  ],
9
  "attention_dropout": 0.0,
10
+ "bad_words_ids": [
11
+ [
12
+ 65000
13
+ ]
14
+ ],
15
  "bos_token_id": 0,
16
  "classif_dropout": 0.0,
17
  "d_model": 512,
 
19
  "decoder_ffn_dim": 2048,
20
  "decoder_layerdrop": 0.0,
21
  "decoder_layers": 6,
22
+ "decoder_start_token_id": 65000,
23
  "dropout": 0.1,
24
  "encoder_attention_heads": 8,
25
  "encoder_ffn_dim": 2048,
 
38
  "LABEL_1": 1,
39
  "LABEL_2": 2
40
  },
41
+ "max_length": 512,
42
  "max_position_embeddings": 512,
43
  "model_type": "marian",
44
  "normalize_before": false,