Download llama/test.sh from nvan13/HRA: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/nvan13/HRA/resolve/main/llama/test.sh
- Command line
-
hf download hf://nvan13/HRA/llama/test.sh
-
curl -L -o test.sh https://huggingface.co/nvan13/HRA/resolve/main/llama/test.sh
365 Bytes
| BASE_MODEL="meta-llama/Llama-2-7b-hf" | |
| # OUTPUT="output/cp3e5" | |
| # OUTPUT="output/cp1e5N" | |
| # OUTPUT="output/cp1e5N" | |
| OUTPUT="output/cms3" | |
| python merge_adapter_to_base_model.py --base_mode $BASE_MODEL --adapter $OUTPUT/ft/ --output_path $OUTPUT/merged/ | |
| python inference/gsm8k_inference.py --model $OUTPUT/merged/ | |
| python inference/MATH_inference.py --model $OUTPUT/merged/ |