moussaKam commited on
Commit
ce31a8b
1 Parent(s): 32086d2

update config

Browse files
Files changed (1) hide show
  1. config.json +10 -2
config.json CHANGED
@@ -38,12 +38,20 @@
38
  "LABEL_1": 1,
39
  "LABEL_2": 2
40
  },
 
 
 
 
 
 
 
 
 
 
41
  "max_position_embeddings": 1024,
42
  "model_type": "mbart",
43
- "no_repeat_ngram_size": 3,
44
  "normalize_before": true,
45
  "normalize_embedding": true,
46
- "num_beams": 4,
47
  "num_hidden_layers": 6,
48
  "pad_token_id": 1,
49
  "scale_embedding": false,
 
38
  "LABEL_1": 1,
39
  "LABEL_2": 2
40
  },
41
+ "task_specific_params": {
42
+ "summarization": {
43
+ "early_stopping": true,
44
+ "length_penalty": 2.0,
45
+ "max_length": 100,
46
+ "min_length": 10,
47
+ "no_repeat_ngram_size": 3,
48
+ "num_beams": 4
49
+ }
50
+ },
51
  "max_position_embeddings": 1024,
52
  "model_type": "mbart",
 
53
  "normalize_before": true,
54
  "normalize_embedding": true,
 
55
  "num_hidden_layers": 6,
56
  "pad_token_id": 1,
57
  "scale_embedding": false,