Skip to content

anandanne/finetune_llama

 
 

Repository files navigation

Finetune LLaMA

This is a combination of the following three repos:

It finetunes LLaMa using the Alpaca dataset with Peft.

You need to install the packages required by the above libraries.

Steps:

  1. Put alpaca_data.json to this directory.
  2. Run python3 alpaca.py; this will create the trainingset and save to pickle.
  3. Run . train.sh
  4. Run chat_alpaca.py vs chat_no_alpaca.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%