webfm-eval / kaggle /notebook_whisper.py
zziang's picture
whisper probe: 6 low-voicing candidates
e321ee2 verified
Raw History Blame Contribute Delete
650 Bytes
"""Kaggle notebook body: find a whisper clip that survives as a Ming prompt."""
import os
import subprocess
import sys
from notebook_eval import BUNDLE, MODEL, ROOT, WEIGHTS, pull, stage_deps, stage_repo
BUNDLE_REPO = "idefinity/webfm-eval"
def main() -> None:
stage_repo()
stage_deps()
pull(WEIGHTS, MODEL)
pull(BUNDLE_REPO, BUNDLE, repo_type="dataset")
env = dict(os.environ, WORK_ROOT=str(ROOT), CUDA_VISIBLE_DEVICES="0")
rc = subprocess.run([sys.executable, str(BUNDLE / "kaggle/whisper_probe.py")],
env=env).returncode
print("whisper probe rc", rc)
if __name__ == "__main__":
main()