Downloads · 30 days
13
36% of all-time downloads
omareng/on-device-LLM-gpt-oss-20b
on-device-LLM-gpt-oss-20b is a text generation model from omareng. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
LoRA fine-tuned version of unsloth/gpt-oss-20b for medical radiology diagnosis tasks.
Downloads · 30 days
13
36% of all-time downloads
All-time downloads
36
Public
Repo size
2.5 GB
Likes
0
Public
Click a slice to open those files.
.safetensors2.4 GB · 99%
From the Hugging Face model README
LoRA fine-tuned version of unsloth/gpt-oss-20b for medical radiology diagnosis tasks.
unsloth/gpt-oss-20bpip install unsloth peft transformers accelerate bitsandbytes
from unsloth import FastLanguageModel
from peft import PeftModel
# Load base model
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="unsloth/gpt-oss-20b",
dtype=None,
max_seq_length=4096,
load_in_4bit=True,
full_finetuning=False,
)
# Load LoRA adapter
model = PeftModel.from_pretrained(
model,
"omareng/on-device-LLM-gpt-oss-20b",
is_trainable=False
)
# Enable inference mode
FastLanguageModel.for_inference(model)
[Citation information will be added upon publication]
Issues: Please report to this repository
Disclaimer: This model is for research purposes only and has not been approved for clinical use. Always consult qualified healthcare professionals for medical decisions.