OpenCompass/docs/en/get_started.md
2023-07-05 06:54:06 +00:00

816 B

Overview

Installation

  1. 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
  1. Install OpenCompass:
git clone https://github.com/opencompass/opencompass
cd opencompass
pip install -e .
  1. 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.

Quick tour