Update README.md
Browse files
README.md
CHANGED
@@ -78,7 +78,7 @@ with torch.no_grad():
|
|
78 |
|
79 |
# post-process token ids to text, remove prompt
|
80 |
transcription = processor.batch_decode(
|
81 |
-
predicted_ids
|
82 |
)[0]
|
83 |
print(transcription)
|
84 |
```
|
|
|
78 |
|
79 |
# post-process token ids to text, remove prompt
|
80 |
transcription = processor.batch_decode(
|
81 |
+
predicted_ids, skip_special_tokens=True
|
82 |
)[0]
|
83 |
print(transcription)
|
84 |
```
|