Downloads · 30 days
7
100% of all-time downloads
HAJERI/gemma-3-4b-endocrinology-scenario-mcq-it-lora
gemma-3-4b-endocrinology-scenario-mcq-it-lora is a machine learning model from HAJERI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Gemma-3 Endocrinology Scenario-Based MCQ Models (20 Variants) =============================================================
Downloads · 30 days
7
100% of all-time downloads
All-time downloads
7
Public
Repo size
230 MB
Likes
0
Public
Click a slice to open those files.
.safetensors131 MB · 57%
From the Hugging Face model README
This collection contains 20 instruction-tuned Gemma-3 variants (270M–27B) optimized for endocrinology scenario-based MCQs and clinical Q&A. Variants are provided as LoRA adapters, merged FP16, and GGUF builds (FP16 and Q4_K_M) for flexible deployment from research servers to local/offline inference.
Collection link: https://huggingface.co/collections/HAJERI/gemma-3-endocrinology-scenario-based-mcq-models
All variants are designed for three primary inference modes:
Important: These models are intended for educational and research purposes only and must not be used for clinical decision-making.
The dataset was designed and prepared by Professor _Saeed Awad M. Alqahtani _ (Taibah University, Saudi Arabia) and reviewed and approved by three licensed medical doctors:
-lora: best if you want to keep the base model separate and apply adapters (research workflows, experimentation).
-merged-fp16: best for GPU inference with a standard Transformers pipeline (higher quality, higher VRAM).
-fp16-gguf: best for llama.cpp inference with high quality (larger RAM/VRAM than quantized).
-Q4_K_M-gguf: best for fast, memory-efficient local inference (most users on laptops/desktops).
You are an expert endocrinologist.
Clinical scenario:
A 32-year-old woman presents with weight loss, heat intolerance, and palpitations.
Labs: suppressed TSH and elevated free T4.
Options: A. Subacute thyroiditis B. Graves disease C. Hashimoto thyroiditis D. Pituitary adenoma
Instructions:
You are an expert endocrinologist.
Create a clinical multiple-choice question on diabetic ketoacidosis suitable for final-year medical students.
Include:
You are an expert endocrinologist.
Question: Explain the mechanism of action of metformin.
Example (Q4_K_M GGUF):
./main
-m gemma-3-12b-endocrinology-scenario-mcq-it-Q4_K_M.gguf
-p "You are an expert endocrinologist. Explain the pathophysiology of diabetic ketoacidosis."
-n 400
--temp 0.7
Example (FP16 GGUF):
./main
-m gemma-3-12b-endocrinology-scenario-mcq-it-fp16.gguf
-p "You are an expert endocrinologist. Create a clinical MCQ on DKA with 4 options and explanation."
-n 500
--temp 0.7
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "HAJERI/gemma-3-12b-endocrinology-scenario-mcq-it-merged-fp16"
tok = AutoTokenizer.from_pretrained(model_id) model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype="auto")
prompt = """You are an expert endocrinologist.
Question: Explain the mechanism of action of metformin. """ inputs = tok(prompt, return_tensors="pt") out = model.generate(**inputs, max_new_tokens=350, temperature=0.7, do_sample=True)
print(tok.decode(out[0], skip_special_tokens=True))
These models can generate clinically plausible text. Always apply:
Human expert review
Educational context only
No patient-specific decisions
Compute resources (NVIDIA A100 80GB) were supplied by the National eLearning Center (NeLC), Saudi Arabia, as part of the AI Sandbox in Digital Learning initiative.
Model author: Professor Saeed Awad M. Alqahtani
Affiliation: Taibah University, Saudi Arabia
email: [email protected]
For academic, educational, or research inquiries: please open an issue on the relevant model repository.