{"id":32513,"name":"medicalgpt","description":"MedicalGPT: Training Your Own Medical GPT Model with ChatGPT Training Pipeline. 训练医疗大模型，实现了包括增量预训练(PT)、有监督微调(SFT)、RLHF、DPO、ORPO、GRPO。","url":"https://github.com/shibing624/medicalgpt","last_synced_at":"2025-09-05T05:28:48.444Z","repository":{"id":171854084,"uuid":"648505057","full_name":"shibing624/MedicalGPT","owner":"shibing624","description":"MedicalGPT: Training Your Own Medical GPT Model with ChatGPT Training Pipeline. 训练医疗大模型，实现了包括增量预训练(PT)、有监督微调(SFT)、RLHF、DPO、ORPO、GRPO。","archived":false,"fork":false,"pushed_at":"2025-08-25T11:50:40.000Z","size":13917,"stargazers_count":4058,"open_issues_count":49,"forks_count":597,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-08-28T21:31:24.505Z","etag":null,"topics":["chatgpt","dpo","gpt","llama","llm","medical","medicalgpt"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shibing624.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-02T06:07:11.000Z","updated_at":"2025-08-28T11:22:40.000Z","dependencies_parsed_at":"2024-03-01T04:29:48.268Z","dependency_job_id":"ca25b74b-53d4-4849-9a63-3a9cc23b48bb","html_url":"https://github.com/shibing624/MedicalGPT","commit_stats":{"total_commits":500,"total_committers":11,"mean_commits":45.45454545454545,"dds":0.07999999999999996,"last_synced_commit":"6b9b1dcee89645f127828ded34d4f1fe9318c1bf"},"previous_names":["shibing624/medicalgpt"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/shibing624/MedicalGPT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shibing624","download_url":"https://codeload.github.com/shibing624/MedicalGPT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273715030,"owners_count":25154954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"shibing624","name":"xuming","uuid":"10249622","kind":"user","description":"Senior Researcher, Machine Learning Developer, Advertising Risk Control.","email":"","website":"https://blog.csdn.net/mingzai624","location":"Beijing, China","twitter":null,"company":"@tencent","icon_url":"https://avatars.githubusercontent.com/u/10249622?u=39133b98c78fe7cbaf0458be30352f1c5b1197c4\u0026v=4","repositories_count":32,"last_synced_at":"2023-02-26T09:45:33.381Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/shibing624","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-09T21:45:36.732Z","updated_at":"2023-02-26T09:45:33.417Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shibing624","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shibing624/repositories"},"packages":[],"commits":{"id":1639833,"full_name":"shibing624/MedicalGPT","default_branch":"main","committers":[{"name":"shibing624","email":"shibing624@126.com","login":"shibing624","count":539},{"name":"Xialie Zhuang","email":"62231346+ZhuangXialie","login":"ZhuangXialie","count":20},{"name":"flemingxu","email":"flemingxu@tencent.com","login":null,"count":7},{"name":"汪志鹏","email":"wangzhipeng628@gmail.com","login":"princepride","count":4},{"name":"XU Ke","email":"ker2.xu@outlook.com","login":"ker2xu","count":2},{"name":"Jim Zhang","email":"dividi_z@163.com","login":"dividez","count":2},{"name":"蒋潭","email":"654523039@qq.com","login":"jiangtann","count":1},{"name":"kinghuin","email":"kinghuin@outlook.com","login":"kinghuin","count":1},{"name":"iioSnail","email":"97774493+iioSnail","login":"iioSnail","count":1},{"name":"MZ Zhuo","email":"liuzhuobupt@sina.com","login":"anwuzhiab","count":1},{"name":"Billccx_server","email":"billcuichenxi@163.com","login":"Billccx","count":1}],"total_commits":579,"total_committers":11,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":52.63636363636363,"dds":0.06908462867012088,"past_year_committers":[{"name":"shibing624","email":"shibing624@126.com","login":"shibing624","count":87},{"name":"Xialie Zhuang","email":"62231346+ZhuangXialie","login":"ZhuangXialie","count":14}],"past_year_total_commits":101,"past_year_total_committers":2,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":50.5,"past_year_dds":0.13861386138613863,"last_synced_at":"2025-08-11T07:34:15.909Z","last_synced_commit":"afb808a00a9c5902618de120c4b4666faa6ab8b6","created_at":"2024-07-25T15:31:42.491Z","updated_at":"2025-08-11T07:34:15.929Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-08-21T00:00:20.603Z","repositories_count":5479765,"commits_count":853307975,"contributors_count":31095150,"owners_count":906558,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"shibing624/MedicalGPT","html_url":"https://github.com/shibing624/MedicalGPT","last_synced_at":"2025-09-03T22:06:59.888Z","status":"active","issues_count":264,"pull_requests_count":19,"avg_time_to_close_issue":3973453.4846938774,"avg_time_to_close_pull_request":343669.625,"issues_closed_count":196,"pull_requests_closed_count":16,"pull_request_authors_count":12,"issue_authors_count":175,"avg_comments_per_issue":2.231060606060606,"avg_comments_per_pull_request":0.21052631578947367,"merged_pull_requests_count":13,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":49,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":883572.1333333333,"past_year_avg_time_to_close_pull_request":100676.0,"past_year_issues_closed_count":15,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":34,"past_year_avg_comments_per_issue":0.6938775510204082,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"created_at":"2024-07-25T15:32:14.889Z","updated_at":"2025-09-03T22:06:59.888Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/shibing624%2FMedicalGPT/issues","issue_labels_count":{"question":151,"bug":85,"enhancement":16,"wontfix":13,"duplicate":4,"help wanted":3},"pull_request_labels_count":{"bug":5},"issue_author_associations_count":{"NONE":264},"pull_request_author_associations_count":{"NONE":10,"COLLABORATOR":6,"CONTRIBUTOR":3},"issue_authors":{"cqray1990":16,"listwebit":9,"cove1011":9,"tuqingwen":6,"dage0127":6,"yangzhipeng1108":6,"20246688":4,"charryshi":4,"tszslovewanpu":4,"xxm1668":3,"chloeHXY":3,"nuoma":3,"Vincent131499":3,"baibaiw5":3,"daimazz1":3,"Thunderltx":2,"LarryLong45":2,"zhr0313":2,"XiudingCai":2,"gaojing8500":2,"yangliuIOC":2,"veresse":2,"cheun726":2,"Peter-of-Astora":2,"nlper-hou":2,"XiaozhuLove":2,"Zagreus-lzy":2,"chloefresh":2,"zxx20231119":2,"ymyjl":2,"sevenandseven":2,"LanShanPi":2,"lljpwrs":2,"Ruiruiz30":2,"GEHAH":2,"ygyang11":2,"valkryhx":2,"535603775":1,"kyang888":1,"elieobeid7":1,"fxb392":1,"huangrs494":1,"lainxx":1,"JaredandLee":1,"luckmoon":1,"DDYuudachi":1,"youbingchenyoubing":1,"ssklzx":1,"waycup7":1,"wangrx33":1,"yingzhao27":1,"LKAMING97":1,"Candy555":1,"Faded1022":1,"qibao77":1,"XueMoonLit":1,"wsl1014":1,"songyao199681":1,"zhangatao":1,"xuanxixi":1,"minxiansheng":1,"giantzhong":1,"FFFFFzx":1,"chenkang404":1,"jason7323":1,"Lxhnnn":1,"llj1113":1,"AaronZLT":1,"Ricardokevins":1,"liulint":1,"chengzhen123":1,"iomgaa-ycz":1,"opooopooo":1,"yanqiangmiffy":1,"ozmemory":1,"zhangansen":1,"yeeeqichen":1,"pangpang-xuan":1,"hongyix":1,"songt96":1,"mingzhang798":1,"haoran1062":1,"SeekPoint":1,"vineet56-bot":1,"WANGDUNDUN1":1,"HaotianLiu123":1,"Riapy":1,"14686039":1,"VirgilG72":1,"1137043480":1,"Everyday-seu":1,"CHAOJICHENG5":1,"SolarKnight1":1,"boxter007":1,"zhangxinxin0428":1,"yangcm1986":1,"chlinfeng1997":1,"Aniketto16":1,"yysirs":1,"YuanEZhou":1,"zxgineng":1,"zhpmatrix":1,"wangxinwwang":1,"yankuo111":1,"SevenMpp":1,"hzspyy":1,"Wenting1227":1,"sunshineyg2018":1,"small-white-zs":1,"xxyp":1,"calvinzhan":1,"aichifandefan":1,"LouisHeck":1,"QWE-CXZ":1,"zty-king":1,"ZzzybEric":1,"LanHao0":1,"PoisonousBromineChan":1,"lianzhaoy":1,"chelovek21":1,"ospreyclaw":1,"zhengshi119":1,"sungatetop":1,"chiquitita-101":1,"Alfer-Feng":1,"WangZY1111":1,"Taimin":1,"wang9702":1,"dage1210":1,"bash99":1,"xiaochaich":1,"immmor":1,"dakongss123":1,"zzzhaoguziji":1,"ZTurboX":1,"sxl1993":1,"1716649290":1,"johnfelipe":1,"Droliven":1,"wuguangshuo":1,"weedon666":1,"hecheng64":1,"xiaohengDa":1,"ZhuangXialie":1,"ucaslei":1,"josangmi":1,"yxx-oo":1,"sweetboxwwy":1,"hao203":1,"turkeymz":1,"dingxianzhong":1,"CNUIGB":1,"lzw2000118":1,"yuwangnexusera":1,"LYN-MedHK":1,"richard880502":1,"1615070057":1,"qingjiaozyn":1,"Eren139":1,"dijkstra-mose":1,"Nisoka":1,"ljch2018":1,"AllenYkl":1,"shawnlihst":1,"sexan":1,"panliang5020":1,"growmuye":1,"gaoxc315":1,"MisakaPie":1,"YoshuaBengio":1,"starphantom666":1,"tian-you":1,"w5688414":1,"Telogen":1,"luckyzcw":1},"pull_request_authors":{"ZhuangXialie":7,"ker2xu":2,"deep-practice":1,"dividez":1,"Li-Jicheng":1,"iioSnail":1,"dage0127":1,"whaler404":1,"yuwangnexusera":1,"lyj-newbie":1,"princepride":1,"aqpmzngldh":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-04T00:00:25.939Z","repositories_count":10074708,"issues_count":31280107,"pull_requests_count":95730442,"authors_count":10690872,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"question":25,"bug":15,"enhancement":7},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":49},"past_year_pull_request_author_associations_count":{"NONE":1},"past_year_issue_authors":{"cqray1990":7,"20246688":4,"chloeHXY":3,"ygyang11":2,"XiudingCai":2,"GEHAH":2,"veresse":2,"PoisonousBromineChan":1,"QWE-CXZ":1,"ssklzx":1,"Taimin":1,"Telogen":1,"tian-you":1,"tuqingwen":1,"ucaslei":1,"vineet56-bot":1,"WANGDUNDUN1":1,"zhangansen":1,"zty-king":1,"MisakaPie":1,"mingzhang798":1,"LYN-MedHK":1,"luckyzcw":1,"luckmoon":1,"llj1113":1,"JaredandLee":1,"immmor":1,"hzspyy":1,"hecheng64":1,"giantzhong":1,"dakongss123":1,"dage1210":1,"dage0127":1,"1137043480":1},"past_year_pull_request_authors":{"whaler404":1},"maintainers":[{"login":"ZhuangXialie","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ZhuangXialie"}],"active_maintainers":[]},"events":{"total":{"CreateEvent":1,"ReleaseEvent":1,"IssuesEvent":53,"WatchEvent":741,"IssueCommentEvent":89,"PushEvent":66,"PullRequestEvent":1,"GollumEvent":3,"ForkEvent":96},"last_year":{"CreateEvent":1,"ReleaseEvent":1,"IssuesEvent":53,"WatchEvent":742,"IssueCommentEvent":89,"PushEvent":66,"PullRequestEvent":1,"GollumEvent":3,"ForkEvent":96}},"keywords":["chatgpt","dpo","gpt","llama","llm","medical","medicalgpt"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/ubuntu.yml","sha":null,"kind":"manifest","created_at":"2023-11-02T04:23:19.016Z","updated_at":"2023-11-02T04:23:19.016Z","repository_link":"https://github.com/shibing624/MedicalGPT/blob/main/.github/workflows/ubuntu.yml","dependencies":[{"id":14302193788,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14302193789,"package_name":"actions/cache","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":14302193790,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2023-11-02T04:23:19.083Z","updated_at":"2023-11-02T04:23:19.083Z","repository_link":"https://github.com/shibing624/MedicalGPT/blob/main/requirements.txt","dependencies":[{"id":14302193791,"package_name":"loguru","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":14302193792,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.33.2","direct":true,"kind":"runtime","optional":false},{"id":14302193793,"package_name":"sentencepiece","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":14302193794,"package_name":"datasets","ecosystem":"pypi","requirements":"\u003e=2.14.6","direct":true,"kind":"runtime","optional":false},{"id":14302193795,"package_name":"tqdm","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":14302193796,"package_name":"tensorboard","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":14302193797,"package_name":"tqdm","ecosystem":"pypi","requirements":"\u003e=4.47.0","direct":true,"kind":"runtime","optional":false},{"id":14302193798,"package_name":"peft","ecosystem":"pypi","requirements":"\u003e=0.5.0","direct":true,"kind":"runtime","optional":false},{"id":14302193799,"package_name":"accelerate","ecosystem":"pypi","requirements":"\u003e=0.21.0","direct":true,"kind":"runtime","optional":false},{"id":14302193800,"package_name":"trl","ecosystem":"pypi","requirements":"\u003e=0.7.1","direct":true,"kind":"runtime","optional":false}]}],"score":10.71834338675493,"created_at":"2025-09-04T15:51:05.612Z","updated_at":"2025-10-07T08:13:47.205Z","avatar_url":"https://github.com/shibing624.png","language":"Python","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/32513","html_url":"https://science.ecosyste.ms/projects/32513","bibtex_url":"https://science.ecosyste.ms/projects/32513/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/32513/export.apalike"}