Install Emotion-LLaMA

  1. folk & clone the repo
  2. Setup env & Install the required packages
cd Emotion-LLaMA
conda env create -f environment.yml
conda activate llama
pip install moviepy==1.0.3 soundfile==0.12.1 opencv-python==4.7.0.72

Download Models and put the location

<aside> 💡

1. Preparing the Pretrained LLM Weights

<aside> 💡

you have to ask permission at the huggingface

</aside>

# Set Llama-2-7b-chat-hf path
llama_model: "/home/user/project/Emotion-LLaMA/checkpoints/Llama-2-7b-chat-hf"

2. HuBERT-large model

# Set HuBERT-large model path
model_file = "checkpoints/transformer/chinese-hubert-large"

3. Emotion-LLaMA model for Local Demo