Use fine-tuned model v0.1 (WebLLM, constrained JSON decoding, q0f16 on desktop / q4 on phones); MLC converter; v0.3 pipeline
439d3c0 verified Download training/eval/run-eval.sh from Devseis/Arx: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/spaces/Devseis/Arx/resolve/main/training/eval/run-eval.sh
- Command line
-
hf download hf://spaces/Devseis/Arx/training/eval/run-eval.sh
-
curl -L -o run-eval.sh https://huggingface.co/spaces/Devseis/Arx/resolve/main/training/eval/run-eval.sh
701 Bytes
| # Wait for the training process (by PID), then evaluate base and fine-tuned models on the same 30 test examples. | |
| cd "$(dirname "$0")/../.." | |
| while kill -0 46196 2>/dev/null; do sleep 30; done | |
| echo "== training exited $(date +%H:%M)" | |
| tail -4 training/models/train.log | |
| echo "== base model $(date +%H:%M)" | |
| caffeinate -i training/.venv/bin/python -u training/evaluate.py --count 30 --save training/eval/base-v0.1.jsonl | |
| echo "== fine-tuned v0.1 pilot $(date +%H:%M)" | |
| caffeinate -i training/.venv/bin/python -u training/evaluate.py --count 30 --adapter training/models/auditor-lora/final --save training/eval/pilot-v0.1.jsonl --results training/eval/pilot-v0.1.json | |
| echo "== done $(date +%H:%M)" | |