Installation#

1. Clone this repository#

git clone https://github.com/turingmotors/heron.git
cd heron

2. Install Packages#

We recommend using virtual environment to install the required packages. If you want to install the packages globally, use pip install -r requirements.txt instead.

2-b. Anaconda#

Anaconda , you can install the required packages as follows:

conda create -n heron python=3.10 -y
conda activate heron
pip install --upgrade pip  # enable PEP 660 support

pip install -r requirements.txt
pip install -e .

# for development, install pre-commit
pre-commit install

Attention

To use Llama-2 models, you need to register for the models. First, you request access to the llama-2 models, in Hugging Face and Meta .

Please sign-in the Hugging Face account.

huggingface-cli login