shibing624/medicalgpt

MedicalGPT: Training Your Own Medical GPT Model with ChatGPT Training Pipeline. 训练医疗大模型,实现了包括增量预训练(PT)、有监督微调(SFT)、RLHF、DPO、ORPO、GRPO。

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 11th, 2026
Created on June 2nd, 2023
Open Issues & Pull Requests: 6 (+0)
GitHub issues: Enabled
Number of forks: 794
Total Stargazers: 5,799 (+0)
Total Subscribers: 40 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.9 hours
Mean response time: 31.1 days
90th percentile: 25.1 days
Tracked items: 96

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 9% of issues opened in the past year have been closed. Three people close 83% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 6
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 390 days
Stale 30+ days: 6
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (50)
  • bug (32)
  • enhancement (10)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

MedicalGPT is a training framework for building domain-specific large language models in the medical field using a ChatGPT-style training pipeline.

The project addresses the need to create specialized medical language models by providing implementations of the full training workflow: incremental pretraining, supervised fine-tuning, reinforcement learning from human feedback with reward modeling, direct preference optimization, ORPO, and GRPO. It supports multiple base model architectures and includes conversation templates tailored for medical applications, allowing practitioners to adapt general-purpose language models to medical domains through structured training stages.

Teams building medical AI systems should consider this tool if they need to train models on domain-specific data and want a complete pipeline rather than assembling components separately. The project suits organizations with medical datasets and computational resources who want to implement modern alignment techniques beyond basic fine-tuning. It provides support for popular base models and includes tooling for function calling and agent training, which extends its utility beyond pure language generation.

Maintainers respond to issues and pull requests within a day. Work in the issue tracker centers on questions, bug reports, and enhancement requests.