tatsu-lab/alpaca
Viewer • Updated • 52k • 107k • 964
How to use monsterapi/llama7B_alpaca-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("decapoda-research/llama-7b-hf")
model = PeftModel.from_pretrained(base_model, "monsterapi/llama7B_alpaca-lora")We finetuned huggyllama/llama-7b on tatsu-lab/alpaca Dataset for 5 epochs or ~ 25,000 steps using MonsterAPI no-code LLM finetuner.
This dataset is HuggingFaceH4/tatsu-lab/alpaca unfiltered, removing 36 instances of blatant alignment.
The finetuning session got completed in 4 hours and costed us only $16 for the entire finetuning run!