Shortcuts

Installation

  1. Set up the FinEval environment:

    conda create --name fineval_venv python=3.8
    conda activate fineval_venv
    

    If you want to customize the PyTorch version or related CUDA version, please refer to the official document to prepare the Pytorch environment. In the FinEval environment, pytorch>=1.13 is required.

  2. Install FinEval:

    git clone https://github.com/SUFE-AIFLM/FinEval
    cd FinEval
    pip install -r requirements.txt
    
    requirements.txt is as follows:
    pandas
    torch
    tqdm
    peft 
    sentencepiece