LED QA LoRA โ€” Mistral-7B-Instruct

LoRA adapter fine-tuned on F1 technical regulations QA.

Base model

mistralai/Mistral-7B-Instruct-v0.3

Training

  • Dataset: filtered/full Proposed QA SFT split
  • LoRA r=16, alpha=32, target=all linear projections
  • Epochs: 3
  • Max seq len: 2048

Load

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base = "mistralai/Mistral-7B-Instruct-v0.3"
adapter = "REPO_ID"

tokenizer = AutoTokenizer.from_pretrained(base, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    base,
    device_map="auto",
    torch_dtype="auto",
    trust_remote_code=True,
)
model = PeftModel.from_pretrained(model, adapter)
Downloads last month
19
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Roseshmay/led-qa-mistral-7b-lora

Adapter
(824)
this model