RST Parser with Llama 2
Collection
Collection of the pretrained LoRA weights of Llama2 for RST discourse parsing. โข 36 items โข Updated โข 3
How to use arumaekawa/rstdt-7b-nuc with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf")
model = PeftModel.from_pretrained(base_model, "arumaekawa/rstdt-7b-nuc")The following bitsandbytes quantization config was used during training: