Downloads ยท 30 days
16
23% of all-time downloads
tenperformer/MediGPT
MediGPT is a text generation model from tenperformer. Use it when you need the model to write or continue text. The card lists the license as mit.
MediGPT is a decoder-only GPT-style Transformer trained entirely from scratch on medical and biomedical text corpora.
Downloads ยท 30 days
16
23% of all-time downloads
All-time downloads
70
Public
Repo size
375 MB
Likes
1
Public
Click a slice to open those files.
.bin375 MB ยท 100%
From the Hugging Face model README
MediGPT is a decoder-only GPT-style Transformer trained entirely from scratch on medical and biomedical text corpora.
Unlike models that rely on large-scale pretraining followed by fine-tuning, MediGPT was developed as a research-oriented educational project to explore domain-specific language modeling, transformer architectures, and clinical text generation.



| Component | Value |
|---|---|
| Architecture | GPT Decoder |
| Layers | 8 |
| Attention Heads | 8 |
| Hidden Size | 512 |
| Context Length | 512 |
| Dropout | 0.1 |
| Tokenizer | GPT-2 (tiktoken) |
| Framework | PyTorch |
Approximate Parameter Count: ~90M
MediGPT was trained on a combination of medical datasets:
Medical question-answer pairs covering diseases, symptoms, diagnostics, treatments, and healthcare information.
Biomedical question-answer data derived from scientific literature and PubMed abstracts.
The resulting corpus exposes the model to:
The model was trained using autoregressive next-token prediction.
Given a sequence such as:
Symptoms of diabetes include ...
the model learns to predict the most likely next token.
Evaluation included:
Results indicate successful learning of:




Input:
Symptoms of diabetes include
Generated continuation:
Symptoms of diabetes include increased thirst, frequent urination, fatigue, blurred vision and other complications associated with impaired glucose regulation.
This model is not a medical device and must not be used for:
All outputs should be verified by qualified healthcare professionals.
Rishabh Shenoy
Developed as a research-oriented educational project exploring domain-specific language model development and biomedical NLP.
If you use this work, please cite the repository and model page.