RST Parser with Llama 2
Collection
Collection of the pretrained LoRA weights of Llama2 for RST discourse parsing. โข 36 items โข Updated โข 4
Run arumaekawa/rstdt-7b-span on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/arumaekawa/rstdt-7b-span. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/arumaekawa/rstdt-7b-span on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use arumaekawa/rstdt-7b-span 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-span")The following bitsandbytes quantization config was used during training: