Buckets:
| # Install required package | |
| pip install antlr4-python3-runtime==4.11 immutabledict langdetect nltk lm_eval | |
| python -c "import nltk; nltk.download('punkt')" | |
| MODEL_PATHS=( | |
| huihui-ai/Llama-3.2-1B-Instruct-abliterated | |
| ) | |
| for MODEL_PATH in "${MODEL_PATHS[@]}"; do | |
| MODEL_NAME=$(basename "$MODEL_PATH") | |
| MODEL_DIR="./results/$MODEL_NAME" | |
| mkdir -p "$MODEL_DIR" | |
| MODEL_ARGS="trust_remote_code=True,pretrained=$MODEL_PATH,dtype=bfloat16" | |
| BASE_COMMAND="accelerate launch -m lm_eval --model hf --model_args $MODEL_ARGS --batch_size 4 --fewshot_as_multiturn --apply_chat_template" | |
| # IFEval | |
| $BASE_COMMAND --tasks leaderboard_ifeval --fewshot_as_multiturn --output_path "$MODEL_DIR/ifeval" | |
| # BBH (Big-Bench Hard) | |
| $BASE_COMMAND --tasks leaderboard_bbh --num_fewshot 3 --fewshot_as_multiturn --output_path "$MODEL_DIR/bbh" | |
| # GPQA | |
| $BASE_COMMAND --tasks leaderboard_gpqa --fewshot_as_multiturn --output_path "$MODEL_DIR/gpqa" | |
| # MMLU-Pro | |
| $BASE_COMMAND --tasks leaderboard_mmlu_pro --num_fewshot 5 --fewshot_as_multiturn --output_path "$MODEL_DIR/mmlu_pro" | |
| # TruthfulQA | |
| $BASE_COMMAND --tasks truthfulqa_mc2 --fewshot_as_multiturn --output_path "$MODEL_DIR/truthfulqa" | |
| done | |
Xet Storage Details
- Size:
- 1.2 kB
- Xet hash:
- f85a18b02b5879c10b1efd953389d4dcd0bdaf9bd3bf62ada5c97d78f8f399d6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.