eemberda commited on
Commit
3a6999b
·
verified ·
1 Parent(s): fa7f84e

Fix eos_token_id: store scalar int instead of single-element list (WhisperTimeStampLogitsProcessor slice bound crash)

Browse files
Files changed (1) hide show
  1. generation_config.json +1 -3
generation_config.json CHANGED
@@ -54,9 +54,7 @@
54
  "early_stopping": false,
55
  "encoder_no_repeat_ngram_size": 0,
56
  "encoder_repetition_penalty": 1.0,
57
- "eos_token_id": [
58
- 50257
59
- ],
60
  "epsilon_cutoff": 0.0,
61
  "eta_cutoff": 0.0,
62
  "forced_decoder_ids": null,
 
54
  "early_stopping": false,
55
  "encoder_no_repeat_ngram_size": 0,
56
  "encoder_repetition_penalty": 1.0,
57
+ "eos_token_id": 50257,
 
 
58
  "epsilon_cutoff": 0.0,
59
  "eta_cutoff": 0.0,
60
  "forced_decoder_ids": null,