DoctorGLM:微调你的中文医生并非一项艰巨任务
DoctorGLM: Fine-tuning your Chinese Doctor is not a Herculean Task
AI总结:
本文提出DoctorGLM,通过收集中文医疗对话数据并在单张A100 80G上13小时微调ChatGLM-6B,以低成本构建易于部署的中文医疗大语言模型。
摘要:
大型语言模型(LLMs)近期在理解和响应人类指令方面取得了显著进展,包括ChatGPT和GPT-4。然而,这些模型通常在英语中表现更好,并且没有针对医疗领域进行专门训练,导致在诊断、药物推荐和其他医疗建议方面的精确度欠佳。此外,训练和部署对话模型仍被认为对医院而言不可行,阻碍了LLMs的推广。为应对这些挑战,我们在ChatGPT的帮助下收集了中文医疗对话数据库,并采用多种技术训练了一个易于部署的LLM。值得注意的是,我们能够在单张A100 80G上于13小时内微调ChatGLM-6B,这意味着拥有一个面向医疗保健用途的LLM可以非常经济实惠。DoctorGLM目前是一个早期阶段的工程尝试,包含各种错误。我们将其分享给更广泛的社区,以征求反馈和建议,从而改进其以医疗保健为重点的能力:https://github.com/xionghonglin/DoctorGLM。
英文摘要:
The recent progress of large language models (LLMs), including ChatGPT and GPT-4, in comprehending and responding to human instructions has been remarkable. Nevertheless, these models typically perform better in English and have not been explicitly trained for the medical domain, resulting in suboptimal precision in diagnoses, drug recommendations, and other medical advice. Additionally, training and deploying a dialogue model is still believed to be impossible for hospitals, hindering the promotion of LLMs. To tackle these challenges, we have collected databases of medical dialogues in Chinese with ChatGPT's help and adopted several techniques to train an easy-deploy LLM. Remarkably, we were able to fine-tune the ChatGLM-6B on a single A100 80G in 13 hours, which means having a healthcare-purpose LLM can be very affordable. DoctorGLM is currently an early-stage engineering attempt and contain various mistakes. We are sharing it with the broader community to invite feedback and suggestions to improve its healthcare-focused capabilities: https://github.com/xionghonglin/DoctorGLM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。