Vicent Ahuir Esteve commited on
Commit
a66635a
1 Parent(s): a4eb3dd

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +17 -2
config.json CHANGED
@@ -39,12 +39,27 @@
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
42
- "max_length": 1024,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  "max_position_embeddings": 1024,
44
  "model_type": "mbart",
45
  "normalize_before": true,
46
  "normalize_embedding": true,
47
- "num_beams": 5,
48
  "num_hidden_layers": 12,
49
  "output_past": true,
50
  "pad_token_id": 1,
 
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
42
+ "task_specific_params": {
43
+ "summarization": {
44
+ "early_stopping": true,
45
+ "repetition_penalty": 2.0,
46
+ "max_length": 150,
47
+ "min_length": 25,
48
+ "no_repeat_ngram_size": 3,
49
+ "num_beams": 4
50
+ }
51
+ },
52
+ "early_stopping": true,
53
+ "repetition_penalty": 2.0,
54
+ "max_length": 150,
55
+ "min_length": 25,
56
+ "no_repeat_ngram_size": 3,
57
+ "num_beams": 4,
58
+
59
  "max_position_embeddings": 1024,
60
  "model_type": "mbart",
61
  "normalize_before": true,
62
  "normalize_embedding": true,
 
63
  "num_hidden_layers": 12,
64
  "output_past": true,
65
  "pad_token_id": 1,