Open ofersa opened 2 weeks ago
Hey, thanks for reporting! personally I don't know how to convert the transformers files into whisper compatible ggml format. I would check if there's ready to use model in huggingface.co/itayl If you found a way to convert the transformers to ggml format let me know, so I can add it to the instructions if someone else interested
thanks for your answer. there is a previous version in https://huggingface.co/ivrit-ai/whisper-v2-d3-e3-ggml, but it's not the last version.
What happened?
A bug happened! I've build the bin using: from transformers import WhisperForConditionalGeneration import torch
model_suffix = 'whisper-13-v2-e3' model_name = f"ivrit-ai/{model_suffix}" model = WhisperForConditionalGeneration.from_pretrained(model_name)
model = model.float() torch.save(model.state_dict(), f"{model_suffix}.bin")
Steps to reproduce
What OS are you seeing the problem on?
No response
Relevant log output