Skip to content

How can I teach whisper new words? #963

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

You must be logged in to vote

You could make it work to some degree by prompting, by specifying --initial_prompt "The following is a conversation during a Dungeons and Dragons game, which includes NPC names like Zerthimon, Vlaakith, and Mordenkainen as well as place names like Agni'hotri, Tu'narath, and Niam'd'regal.", then the model will have a slightly better chance of spelling those words correctly.

If that doesn't work very reliably, the next bet is to fine-tune a Whisper model with your own examples. #364 has some pointers on how to do this.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MrEnigmamgine
Comment options

@chen-rn
Comment options

@whc2001
Comment options

@rahulbansal16
Comment options

Answer selected by jongwook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants