ShihaoZhaoZSH / LaVi-Bridge

Bridging Different Language Models and Generative Vision Models for Text-to-Image Generation
MIT License
287 stars 20 forks source link

how to use Llama-2,it is not run in this model #2

Open fengyun691340 opened 3 months ago

ShihaoZhaoZSH commented 3 months ago

As mentioned in the README, you need to first download the pre-trained Llama-2-7b. Then, you should modify the python script in run.sh to llama2_unet.py, uncomment --llama2_dir argument in run.sh and set it to the directory where you have downloaded the Llama-2 model. Finally, execute the run.sh script.