Download code/run_all.sh from adeerkhan/msq-plurality-gap: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/adeerkhan/msq-plurality-gap/resolve/main/code/run_all.sh
- Command line
-
hf download hf://adeerkhan/msq-plurality-gap/code/run_all.sh
-
curl -L -o run_all.sh https://huggingface.co/adeerkhan/msq-plurality-gap/resolve/main/code/run_all.sh
555 Bytes
| # Full MSQ pipeline: dataset -> representation probe -> model runs -> metrics -> figures -> README. | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| source .venv/bin/activate | |
| MODELS="${1:-minicpm5-2b qwen3-4b smollm3-3b phi4-mini}" | |
| python code/build_dataset.py | |
| python code/repr_probe.py | |
| for m in $MODELS; do | |
| echo "=== running $m ===" | |
| python code/run_model.py --model "$m" --out "results/raw/$m.jsonl" --load-in-4bit | |
| done | |
| python code/aggregate.py | |
| python code/export_csv.py | |
| python code/figures.py | |
| python code/make_readme.py | |
| echo "done" | |