Downloads · 30 days
15
13% of all-time downloads
justinj92/MedGPT-OSS-20B
MedGPT-OSS-20B is a text generation model from justinj92. 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.
Merged LoRA model based on openai/gpt-oss-20b.
Downloads · 30 days
15
13% of all-time downloads
All-time downloads
119
Public
Parameters
20.9B
41.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors41.8 GB · 100%
How the weights are stored.
BF1619.1B · 91%
From the Hugging Face model README
Merged LoRA model based on openai/gpt-oss-20b.
openai/gpt-oss-20bfrom transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "justinj92/MedGPT-OSS-20B"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = "Your prompt here"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Base model and LoRA adapter weights were merged using PeftModel.merge_and_unload() to create a standalone model (no PEFT dependency required at inference).
This model inherits the limitations and potential biases of openai/gpt-oss-20b and the fine-tuning dataset.
Licensed under apache-2.0. Check the base model's license for additional terms.