alpaca-lora/README.md
2023-03-13 17:23:29 -07:00

662 B

alpaca-lora (WIP)

This repository contains code for reproducing the Stanford Alpaca results. Users will need to be ready to fork transformers.

Setup

  1. Install dependencies (install zphang's transformers fork)
pip install -q datasets accelerate loralib sentencepiece

pip install -q git+https://github.com/zphang/transformers@llama_push
pip install -q git+https://github.com/huggingface/peft.git
  1. Install bitsandbytes from source

Inference

See generate.py.

Training

Under construction.