mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
816 B
816 B
Overview
Installation
- Prepare Torch refer to PyTorch.
Notice that OpenCompass requires pytorch>=1.13
.
conda create --name opencompass python=3.8 -y
conda activate opencompass
conda install pytorch torchvision -c pytorch
- Install OpenCompass:
git clone https://github.com/opencompass/opencompass
cd opencompass
pip install -e .
- Install humaneval (option)
do this if you want to eval on humaneval dataset.
git clone https://github.com/openai/human-eval.git
cd human-eval
pip install -r requirments.txt
pip install -e .
Remember to remove the comments of Line48-57 and uncomment line58 in the source code.