Downloads · 30 days
14
19% of all-time downloads
BodyCam-VQA/qwen3-4b-sft-qa
qwen3-4b-sft-qa is a text generation model from BodyCam-VQA. Use it when you need the model to write or continue text. It is set up for peft.
Pre-trained adapters for question generation on police body-worn camera footage, designed to work with Qwen3-4B-Thinking-2507. Trained using standard fine-tuning (SFT).
Downloads · 30 days
14
19% of all-time downloads
All-time downloads
74
Public
Repo size
200 MB
Likes
0
Public
Click a slice to open those files.
.safetensors189 MB · 92%
From the Hugging Face model README
Pre-trained adapters for question generation on police body-worn camera footage, designed to work with Qwen3-4B-Thinking-2507. Trained using standard fine-tuning (SFT).
bnb_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_compute_dtype=torch.float16,
bnb_4bit_use_double_quant=True,
bnb_4bit_quant_type="nf4",
)
model = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen3-4B-Thinking-2507",
quantization_config=bnb_config,
device_map="auto",
)
self.model = PeftModel.from_pretrained(model, "ADAPTER/PATH", torch_dtype=torch.float16)
Full Codebase: https://github.com/Karish-Gupta/BodyCam-VQA/tree/main/fine_tuning