system HF staff commited on
Commit
2d11c4c
1 Parent(s): 10efb4a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +11 -2
config.json CHANGED
@@ -13,7 +13,7 @@
13
  "decoder_ffn_dim": 16,
14
  "decoder_layerdrop": 0.0,
15
  "decoder_layers": 2,
16
- "decoder_start_token_id": null,
17
  "do_sample": false,
18
  "dropout": 0.1,
19
  "early_stopping": false,
@@ -52,7 +52,16 @@
52
  "prefix": " ",
53
  "pruned_heads": {},
54
  "repetition_penalty": 1.0,
55
- "task_specific_params": null,
 
 
 
 
 
 
 
 
 
56
  "temperature": 1.0,
57
  "top_k": 50,
58
  "top_p": 1.0,
 
13
  "decoder_ffn_dim": 16,
14
  "decoder_layerdrop": 0.0,
15
  "decoder_layers": 2,
16
+ "decoder_start_token_id": 2,
17
  "do_sample": false,
18
  "dropout": 0.1,
19
  "early_stopping": false,
 
52
  "prefix": " ",
53
  "pruned_heads": {},
54
  "repetition_penalty": 1.0,
55
+ "task_specific_params": {
56
+ "summarization": {
57
+ "early_stopping": true,
58
+ "length_penalty": 2.0,
59
+ "max_length": 142,
60
+ "min_length": 56,
61
+ "no_repeat_ngram_size": 3,
62
+ "num_beams": 4
63
+ }
64
+ },
65
  "temperature": 1.0,
66
  "top_k": 50,
67
  "top_p": 1.0,