RaushanTurganbay HF staff commited on
Commit
fd620a9
1 Parent(s): d322c47

Update config.json

Browse files

Generation causes errors of pad token is set to negative. Pad token in model config has to be the one used while tokenization. Related to: https://github.com/huggingface/transformers/issues/25426

Files changed (1) hide show
  1. config.json +1 -1
config.json CHANGED
@@ -135,7 +135,7 @@
135
  "output_attentions": false,
136
  "output_hidden_states": false,
137
  "output_scores": false,
138
- "pad_token_id": -1,
139
  "prefix": null,
140
  "problem_type": null,
141
  "pruned_heads": {},
 
135
  "output_attentions": false,
136
  "output_hidden_states": false,
137
  "output_scores": false,
138
+ "pad_token_id": 32000,
139
  "prefix": null,
140
  "problem_type": null,
141
  "pruned_heads": {},