Downloads · 30 days
0
darkB/german-elections-2025-qa-adapter
german-elections-2025-qa-adapter is a machine learning model from darkB. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
PEFT adapter for german-elections-2025 question answering
Downloads · 30 days
0
Access
Public
Updated Feb 25, 2025
Repo size
14.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors13.6 MB · 76%
From the Hugging Face model README
PEFT adapter for german-elections-2025 question answering
This is a PEFT adapter trained for quantum computing question-answering tasks.
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load base model
base_model = AutoModelForCausalLM.from_pretrained(
"mistralai/Mistral-7B-Instruct-v0.3",
device_map="auto",
trust_remote_code=True
)
# Load adapter
model = PeftModel.from_pretrained(
base_model,
"darkB/german-elections-2025-qa-adapter"
)