Downloads · 30 days
0
BernesLy/medgemma-4b-it-sft-lora-crc100k
medgemma-4b-it-sft-lora-crc100k is a machine learning model from BernesLy. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This model is a fine-tuned version of google/medgemma-4b-it. It has been trained using TRL.
Downloads · 30 days
0
Access
Public
Updated Feb 26, 2026
Repo size
49.9 GB
Likes
0
Public
Click a slice to open those files.
.safetensors2.8 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of google/medgemma-4b-it. It has been trained using TRL.
from transformers import pipeline
question = "What steps should be taken to ensure safe conditions before performing any maintenance work on a Magnetom Aera MRI system?"
generator = pipeline("text-generation", model="BernesLy/medgemma-4b-it-sft-lora-crc100k", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
This model was trained with SFT.
Cite TRL as:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}