Utility
Collection
4 items • Updated
How to use mychen76/alpaca-bitcoin-tweets-sentiment 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, "mychen76/alpaca-bitcoin-tweets-sentiment")The following bitsandbytes quantization config was used during training: