Skip to content

Much slower via command line tool than in Python? #177

Answered by jongwook
ThaddeusB asked this question in Q&A
Discussion options

You must be logged in to vote

The command line has different default settings on some hyperparameters, where the command line tool defaults to beam search and model.transcribe() will do greedy decoding by default. It'll become equivalent if you do:

model.transcribe("file.mp3", beam_size=5, best_of=5)

greedy decoding is faster but is more likely to get stuck in repetition loops, and in general slightly less accurate.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@jongwook
Comment options

@shervinemami
Comment options

@FurkanGozukara
Comment options

@shervinemami
Comment options

@FurkanGozukara
Comment options

Answer selected by jongwook
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants