alvanlii commited on
Commit
1adb7ea
1 Parent(s): 3441f07

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -61,7 +61,7 @@ with torch.no_grad():
61
  logits = asr_model(features).logits
62
 
63
  predicted_ids = torch.argmax(logits, dim=-1)
64
- predictions = processor.batch_decode(predicted_ids)
65
  ```
66
 
67
  ## Training Hyperparameters
 
61
  logits = asr_model(features).logits
62
 
63
  predicted_ids = torch.argmax(logits, dim=-1)
64
+ predictions = processor.batch_decode(predicted_ids, skip_special_tokens=True)
65
  ```
66
 
67
  ## Training Hyperparameters