Release best Gemini-tuned Whisper Base and Small with code, normalization and evaluation
cd9b2d8 verified Download release_tools/export_rank.py from laion/humaneness-ears-base-medium: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/laion/humaneness-ears-base-medium/resolve/main/release_tools/export_rank.py
- Command line
-
hf download hf://laion/humaneness-ears-base-medium/release_tools/export_rank.py
-
curl -L -o export_rank.py https://huggingface.co/laion/humaneness-ears-base-medium/resolve/main/release_tools/export_rank.py
240 Bytes
| import os | |
| import subprocess | |
| import sys | |
| from pathlib import Path | |
| model = ('base', 'small')[int(os.environ['LOCAL_RANK'])] | |
| subprocess.run([sys.executable, str(Path(__file__).with_name('export_and_verify.py')), '--model', model], check=True) | |