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

How to add tokenizer of fine-tune whisper model for converting of ctranslater2 #220

Closed
ILG2021 opened this issue May 10, 2023 · 2 comments
Closed

Comments

@ILG2021
Copy link

ILG2021 commented May 10, 2023

Hello, everyone, I have fine-tune a whisper model by the methond of this:
https://huggingface.co/blog/fine-tune-whisper

But my model can not be converted to ctranslate2. It seems lacks tokenizer. But the tutorial doesn't reference it. So anyone know how to solve it? This is my model.
image

@funboarder13920
Copy link

You need to add vocab.json, tokenizer.json, special_token_map.json and merges.txt in the checkpoint folder that you want to convert.

You should be able to find them here : https://huggingface.co/openai/whisper-large/tree/main

@ILG2021
Copy link
Author

ILG2021 commented May 10, 2023

You need to add vocab.json, tokenizer.json, special_token_map.json and merges.txt in the checkpoint folder that you want to convert.

Just copy and upload it? I am fine-tuning a large-v2.

@ILG2021 ILG2021 closed this as completed May 14, 2023
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

2 participants