EleutherAI/wikitext_document_level
Viewer • Updated • 60.6k • 56.9k • 18
How to use chargoddard/llama33b-s2a4-qlora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("huggyllama/llama-30b")
model = PeftModel.from_pretrained(base_model, "chargoddard/llama33b-s2a4-qlora")LLaMA 33b finetuned on wikitext_document_level with a combination of both linear and NTK-aware ROPE scaling.
Trained with alpha=4, scale=2. Definitely works for sequence lengths up to and including 4096. Might work for much longer, but I don't have the VRAM to test properly. ¯\_(ツ)_/¯
The following bitsandbytes quantization config was used during training:
Base model
huggyllama/llama-30b