Downloads · 30 days
0
david125tran/llama31-medqa-qlora
llama31-medqa-qlora is a machine learning model from david125tran. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
libraryname: transformers tags: - llama - medical - usmle - multiple-choice - text-classification - causal-lm - qlora - peft - instruction-tuned ---
Downloads · 30 days
0
Access
Public
Updated Nov 18, 2025
Repo size
71.8 MB
Likes
0
Public
Click a slice to open those files.
.safetensors27.3 MB · 61%
From the Hugging Face model README
library_name: transformers tags:
david125tran/llama31-medqa-qloraThis model is a QLoRA-fine-tuned version of Meta-Llama-3.1-8B-Instruct on the MedQA USMLE 4-option multiple-choice dataset. It is trained to answer USMLE-style medical questions by selecting one of four answer choices: A, B, C, or D.
meta-llama/Llama-3.1-8B-InstructSFTTrainer (TRL)david125tran)meta-llama/Llama-3.1-8B-Instruct and the MedQA dataset.meta-llama/Llama-3.1-8B-InstructThis model is intended as a research and learning artifact in my “LLM-Fine-Tuning-Lab” repo, demonstrating how an instruction-tuned base model can be adapted into a domain-specific multiple-choice classifier using modern fine-tuning techniques (QLoRA, LoRA, 4-bit quantization).
https://github.com/david125tran/LLM-Fine-Tuning-LabGBaker/MedQA-USMLE-4-options on the Hugging Face HubThe model can be used to:
Typical usage pattern:
"A", "B", "C", "D" and choose argmax.Downstream, the model may be:
This model must not be used for:
It is a research/educational artifact and should be treated as such.
The model has only been evaluated on a small subset (~200 examples) of the MedQA distribution during this experiment and has not been rigorously validated for robustness, calibration, or fairness.