whisper-large-sme / convert_to_openai.py
versae's picture
Add OpenAI Whisper format
c2cf720
raw
history blame
316 Bytes
#!/usr/bin/env python
# !pip install git+https://github.com/bayartsogt-ya/whisper-multiple-hf-datasets.git
from multiple_datasets.hub_default_utils import convert_hf_whisper
model_name_or_path = './'
whisper_checkpoint_path = './whisper-large-sme.pt'
convert_hf_whisper(model_name_or_path, whisper_checkpoint_path)