MohamedZaitoon commited on
Commit
a8238b4
1 Parent(s): 07f8abb

update config

Browse files
Files changed (1) hide show
  1. config.json +3 -13
config.json CHANGED
@@ -47,23 +47,13 @@
47
  "pad_token_id": 1,
48
  "scale_embedding": false,
49
  "task_specific_params": {
50
- "summarization": {
51
- "length_penalty": 1.0,
52
- "max_length": 128,
53
- "min_length": 12,
54
- "num_beams": 4
55
- },
56
- "summarization_cnn": {
57
  "length_penalty": 2.0,
58
  "max_length": 142,
59
  "min_length": 56,
 
60
  "num_beams": 4
61
- },
62
- "summarization_xsum": {
63
- "length_penalty": 1.0,
64
- "max_length": 62,
65
- "min_length": 11,
66
- "num_beams": 6
67
  }
68
  },
69
  "transformers_version": "4.6.1",
 
47
  "pad_token_id": 1,
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
  "transformers_version": "4.6.1",