Main difference between using decode() and transcribe() methods #1286
-
Hi! I'm trying to get speech to text of an audio file.
Output is fine. Then I also tried Output is the same and time is the very similar Any suggestions/ideas/explanations for the two? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, from what I can tell looking at the source code, transcribe is a wrapper around some common transcription methods, including decode. The transcribe method is basically there so you can do things like decode and load model in one simple line. Transcribe actually calls decode internally, so in the sample code you put up you're essentially doing pretty much the same thing, except in one case you're using a method designed to make things simpler and in the other case you're somewhat rebuilding the transcribe method. |
Beta Was this translation helpful? Give feedback.
Hey, from what I can tell looking at the source code, transcribe is a wrapper around some common transcription methods, including decode. The transcribe method is basically there so you can do things like decode and load model in one simple line. Transcribe actually calls decode internally, so in the sample code you put up you're essentially doing pretty much the same thing, except in one case you're using a method designed to make things simpler and in the other case you're somewhat rebuilding the transcribe method.