CoolFace
Modelpublic

lukasdrews/Gemma-4-E2B-IT-SFT-RLVR-Medical-GGUF

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
3likes968downloads
Model Card

Gemma-4-E2B-IT-SFT-RLVR-Medical

Gemma-4-E2B-it fine-tuned on PubMedQA using SFT and RLVR.<br> Also check out the training code on GitHub.<br>

Setup

python
# !pip install llama-cpp-python
from llama_cpp import Llama

llm = Llama.from_pretrained(
    repo_id="lukasdrews/Gemma-4-E2B-IT-SFT-RLVR-Medical-GGUF",
    filename="gemma-4-E2B-it-sft-rlvr-medical-Q4_K_M.gguf",
    verbose=False,
)
messages = [
    {
        "role": "user",
        "content": [
            {"type": "text", "text": "Do GEC produce and bear factor H under complement attack?"}
        ]
    },
]

outputs = llm.create_chat_completion(messages, max_tokens=1024)
print(outputs["choices"][0]["message"]["content"])

Benchmarks

**Model****Quantization****PubMedQA<br>(In-Domain)****MedQA-USMLE<br>(Zero-Shot Transfer)**
Gemma-4-E2B-it (base model)-58.10 %29.54 %
Gemma-4-E2B-it + SFT + RLVR-73.10 %43.05 %
Gemma-4-E2B-it + SFT + RLVRQ8_072.40 %43.00 %
Gemma-4-E2B-it + SFT + RLVRQ6_K72.10 %42.18 %
Gemma-4-E2B-it + SFT + RLVRQ5KM72.00 %38.88 %
Gemma-4-E2B-it + SFT + RLVRQ4KM71.80 %38.88 %