Fine-tuned Gemma 3 4B for Medical QA & Summarization (
drwlf/gemma-3
)
This repository contains
THE FINE TUNE
for the
unsloth/gemma-3-4b-it-qat-unsloth-bnb-4bit
model, fine-tuned on a diverse collection of medical text datasets using Unsloth and QLoRA.
NOTE:
This model is fine-tuned on
text data only
. It does not possess the multimodal image understanding capabilities of the base Gemma 3 model unless further fine-tuned on image-text data.
Model Description
Base Model:
unsloth/gemma-3-12b-it-qat-unsloth-bnb-4bit
(Google's Gemma 3 4B instruction-tuned model, optimized by Unsloth).
Fine-tuning Method:
QLoRA (4-bit NormalFloat) via the Unsloth library (LoRA r=16, alpha=32).
Goal:
To enhance the base model's ability to understand and respond to medical queries, summarize medical text, and provide information relevant to the domains covered in the fine-tuning datasets.
Intended Uses & Limitations
Intended Use
This model is intended as an
informational assistant
for
healthcare professionals, researchers, and students
. Potential applications include:
Answering questions based on medical knowledge derived from PubMed, MedQuAD, and dermatology FAQs.
Summarizing medical abstracts or articles similar to those in the PubMed Summarization dataset.
Assisting with information retrieval related to dermatology queries.
Serving as a foundation for further fine-tuning on more specialized medical tasks or datasets (including potentially multimodal data, leveraging the base Gemma 3 architecture).
Limitations and Bias
🚨 Not a Medical Device:
This model is
NOT
a substitute for professional medical advice, diagnosis, or treatment. It should
NEVER
be used for clinical decision-making.
Potential Inaccuracies:
Like all LLMs, this model can generate incorrect information (hallucinate) or produce outputs that seem plausible but are factually wrong.
Always verify critical information
with reliable medical sources and expert consultation.
Training Data Bias:
The model's knowledge and potential biases are derived from the underlying base model (Gemma 3) and the specific fine-tuning datasets. These datasets may contain inherent biases (e.g., demographic, geographic) which could be reflected in the model's outputs.
Limited Scope:
The fine-tuning data focused on specific sources (PubMed QA/Summarization, Dermatology QA, MedQuAD). The model's expertise will be strongest in these areas and limited in others (e.g.,
minimal specific knowledge of plastic surgery or aesthetics
was included in this fine-tuning round).
DocGemma3-4B huggingface.co is an AI model on huggingface.co that provides DocGemma3-4B's model effect (), which can be used instantly with this drwlf DocGemma3-4B model. huggingface.co supports a free trial of the DocGemma3-4B model, and also provides paid use of the DocGemma3-4B. Support call DocGemma3-4B model through api, including Node.js, Python, http.
DocGemma3-4B huggingface.co is an online trial and call api platform, which integrates DocGemma3-4B's modeling effects, including api services, and provides a free online trial of DocGemma3-4B, you can try DocGemma3-4B online for free by clicking the link below.
drwlf DocGemma3-4B online free url in huggingface.co:
DocGemma3-4B is an open source model from GitHub that offers a free installation service, and any user can find DocGemma3-4B on GitHub to install. At the same time, huggingface.co provides the effect of DocGemma3-4B install, users can directly use DocGemma3-4B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.