Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokenizer suggestion for fine tuning cache aware streaming model #9124

Open
rkchamp25 opened this issue May 7, 2024 · 2 comments
Open

Tokenizer suggestion for fine tuning cache aware streaming model #9124

rkchamp25 opened this issue May 7, 2024 · 2 comments

Comments

@rkchamp25
Copy link

Hi
I want to fine tune "stt_en_fastconformer_hybrid_large_streaming_multi" on custom data.
In my dataset I have things like "Vitamin B12", "Code: c12r5", "hb1ac" etc
For these alphanumeric words:

  1. Should I convert the above to "vitamin b twelve", "code c one two r five", "h b one a c" ..... for using the default tokenizer
  2. Should I create a custom/new tokenizer for this?

If there is any other suggestion, please let me know.
Thank You

@titu1994
Copy link
Collaborator

titu1994 commented May 7, 2024

If you want to finetune using the original tokenizer, yes you'll need to normalize all numbers to spoken words.

Changing tokenizer means you'll need a large amount of data to retrain the model, that is not suggested unless you have several thousand hours of speech to reach best results

@bfss
Copy link

bfss commented May 17, 2024

If you want to finetune using the original tokenizer, yes you'll need to normalize all numbers to spoken words.

Changing tokenizer means you'll need a large amount of data to retrain the model, that is not suggested unless you have several thousand hours of speech to reach best results

How to use the original tokenizer?
I also created a discussion for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants