Download code/evaluate_benchmarks/setup.sh from yycheng0122/pangu_pretrain_submit: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/yycheng0122/pangu_pretrain_submit/resolve/main/code/evaluate_benchmarks/setup.sh
- Command line
-
hf download hf://yycheng0122/pangu_pretrain_submit/code/evaluate_benchmarks/setup.sh
-
curl -L -o setup.sh https://huggingface.co/yycheng0122/pangu_pretrain_submit/resolve/main/code/evaluate_benchmarks/setup.sh
293 Bytes
| # 安装 lm-evaluation-harness 及评测依赖 | |
| source /root/miniconda3/etc/profile.d/conda.sh | |
| conda activate pangu1b_hif8 | |
| pip install lm-eval==0.4.4 | |
| pip install antlr4-python3-runtime==4.11 # MATH500 解析依赖 | |
| pip install sympy # MATH500 符号计算 |