Downloads · 30 days
11
11% of all-time downloads
krishna195/medgemma-anatomy-v2.0
medgemma-anatomy-v2.0 is a text generation model from krishna195. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
High-quality production model fine-tuned on 830 curated anatomy Q&A pairs.
Downloads · 30 days
11
11% of all-time downloads
All-time downloads
103
Public
Parameters
4.4B
3.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.2 GB · 99%
How the weights are stored.
U83.7B · 85%
From the Hugging Face model README
High-quality production model fine-tuned on 830 curated anatomy Q&A pairs.
- Max Sequence Length: 1024
- Batch Size: 2 (effective 16)
- Learning Rate: 0.00015
- LoRA Rank: 32
- LoRA Alpha: 64
- Target Modules: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
All answers follow a standardized 5-section format:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "krishna195/medgemma-anatomy-v2.0"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
question = "What is the anatomical snuffbox and its clinical significance?"
prompt = f"<start_of_turn>user\n{question}<end_of_turn>\n<start_of_turn>model\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Apache 2.0
@misc{medgemma-anatomy-v2,
title={MedGemma-4B Anatomy v2.0},
author={Krishna195},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/krishna195/medgemma-anatomy-v2.0}
}