| 123456789101112131415161718192021 | #!/bin/bashset -euo pipefailIFS=$'\n\t'command -v modal >/dev/null 2>&1 || { echo >&2 "modal command not found. Install modal first! Aborting."; exit 1; }echo 'downloading LLaMA 3.2 3B Instruct model'echo 'make sure to create a Secret called huggingface on Modal and accept the LLaMA 3.2 license'modal run download.pyecho 'deploying vLLM inference server'modal deploy inference.pyecho 'running HumanEval generation'modal run generate.py --data-dir test --no-dry-run --n 1000 --subsample 100echo 'running HumanEval evaluation'modal run eval.pyecho 'generating graphs for pass@k and fail@k'modal run plot.py
 |