transformers
Fix Whisper Conversion Script: Correct decoder_attention_heads and _download function
#26834
Merged

Fix Whisper Conversion Script: Correct decoder_attention_heads and _download function #26834

zuazo
zuazo Fix error in convert_openai_to_hf.py: "_download() missing 1 required…
ae38b19e
zuazo Fix error in convert_openai_to_hf.py: "TypeError: byte indices must b…
d2465842
zuazo Fix decoder_attention_heads value in convert_openai_to_hf.py.
479e8f70
zuazo Black reformat convert_openai_to_hf.py file.
a5c1ceef
ArthurZucker
ArthurZucker approved these changes on 2023-10-17
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker commented on 2023-10-17
zuazo Fix Whisper model configuration defaults (for Tiny).
769da1af
zuazo Add docstring to the convert_openai_to_hf.py script with a doctest
df384c16
zuazo Add shebang and +x permission to the convert_openai_to_hf.py
1bea0b06
zuazo convert_openai_to_hf.py: reuse the read model_bytes in the _download(…
adf86089
zuazo
ArthurZucker
ArthurZucker commented on 2023-10-18
ArthurZucker ArthurZucker requested a review from sanchit-gandhi sanchit-gandhi 2 years ago
zuazo Move convert_openai_to_hf.py doctest example to whisper.md
2ddddd64
zuazo whisper.md: Add an inference example to the Conversion section.
dacfee77
sanchit-gandhi
sanchit-gandhi commented on 2023-10-24
zuazo whisper.md: remove `model.config.forced_decoder_ids` from examples (d…
763d56bd
zuazo whisper.md: Remove "## Format Conversion" section; not used by users
bdde5c48
zuazo whisper.md: Use librispeech_asr_dummy dataset and load_dataset()
722c57a0
zuazo
sanchit-gandhi
sanchit-gandhi approved these changes on 2023-11-07
ArthurZucker
zuazo Merge branch 'main' into convert_openai_to_hf-fix
b1862fa3
ArthurZucker
ArthurZucker approved these changes on 2023-11-07
ArthurZucker ArthurZucker merged 606d9084 into main 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone