waveletdeboshir
commited on
Commit
•
19fb42c
1
Parent(s):
5755469
Update README.md
Browse files
README.md
CHANGED
@@ -142,7 +142,7 @@ Model can be used as an original whisper:
|
|
142 |
>>> predicted_ids = model.generate(input_features)
|
143 |
>>> # decode token ids to text
|
144 |
>>> transcription = processor.batch_decode(predicted_ids, skip_special_tokens=False)
|
145 |
-
['<|startoftranscript|><|en|><|transcribe|><|notimestamps|>
|
146 |
|
147 |
```
|
148 |
The context tokens can be removed from the start of the transcription by setting `skip_special_tokens=True`.
|
|
|
142 |
>>> predicted_ids = model.generate(input_features)
|
143 |
>>> # decode token ids to text
|
144 |
>>> transcription = processor.batch_decode(predicted_ids, skip_special_tokens=False)
|
145 |
+
['<|startoftranscript|><|en|><|transcribe|><|notimestamps|> Twenty seven years. <|endoftext|>']
|
146 |
|
147 |
```
|
148 |
The context tokens can be removed from the start of the transcription by setting `skip_special_tokens=True`.
|