#!/bin/bash # 1. 가상환경 생성 및 활성화 # conda 환경 생성 conda create -n azr_eval python=3.10.16 -y # 환경 활성화 conda activate azr_eval # 2. latex2sympy 설치 # AZR 디렉토리로 이동 cd /home/ubuntu/RLVR/Absolute-Zero-Reasoner/evaluation/math_eval # latex2sympy 압축 해제 (eval 디렉토리에서) cd eval tar -xzvf latex2sympy.tar.gz # latex2sympy 설치 cd latex2sympy pip install -e . # 3. 평가 의존성 설치 # math_eval 디렉토리로 돌아가서 cd /home/ubuntu/RLVR/Absolute-Zero-Reasoner/evaluation/math_eval # 의존성 설치 pip install -r requirements.txt # flash-attention 설치 pip install flash_attn==2.7.4.post1 # 4. 평가 스크립트 실행 # 완전한 평가 스크립트 실행 cd /home/ubuntu/RLVR/Absolute-Zero-Reasoner bash evaluation/run_complete_evaluation.sh