arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02350cs.CLcs.AI
收藏

LlamaCare:一个用于增强医疗知识共享的大型医疗语言模型

LlamaCare: A Large Medical Language Model for Enhancing Healthcare Knowledge Sharing

Hong Kong Polytechnic University(香港理工大学)

Maojun Sun

AI总结:

本文提出微调医疗语言模型LlamaCare及扩展分类集成模块ECI,以低碳排放和单张24G GPU实现媲美ChatGPT的性能,解决分类冗余答案问题,并发布PubMedQA等基准数据。

摘要:

大型语言模型(LLMs)在知识记忆和当前表现方面展现出了惊人的能力。然而,当涉及特定领域的知识和医疗等下游任务时,通用LLMs往往无法给出精确的答案。此外,当人们希望LLMs回答分类问题时,通常需要先进行指令微调。然而,经过指令微调后,LLMs并不总是直接给出分类的索引。在本文中,我们提出了LlamaCare,一个经过微调的医疗语言模型,以及Extended Classification Integration(ECI,扩展分类集成),一个用于处理LLMs分类问题的模块。我们的贡献是:(i)我们以极低的碳排放量微调了一个具备医疗知识的大型语言模型,并通过一块24G GPU实现了与ChatGPT相似的性能。(ii)我们通过提出名为Extended Classification Integration的新模块,解决了冗余分类答案的问题并提升了LLMs的性能。(iii)我们发布了处理后的数据,用于PubMedQA和USMLE 1-3 step等一些基准的一次和少样本训练。我们的方法在基准测试上取得了与同等参数量的最先进模型相近的性能,同时通过使用更少的GPU计算时间而更加环保。我们的模型、代码和数据集可在 https://github.com/Stephen-SMJ/LLamaCare 找到。

英文摘要:

Large language models (LLMs) have shown amazing capabilities in knowledge memorization and the present. However, when it comes to domain-specific knowledge and downstream tasks like medical, general LLMs are often unable to give precise answers. In addition, when people want LLMs to answer classification questions, they usually go through instruction tuning first. However, LLMs do not always give a direct index of the categorization after instruction tuning. In this paper, we proposed LlamaCare, a fine-tuned medical language model, and Extended Classification Integration(ECI), a module to handle classification problems of LLMs. Our contributions are : (i) We fine-tuned a large language model of medical knowledge with very low carbon emissions and achieved similar performance with ChatGPT by a 24G GPU. (ii) We solved the problem of redundant categorical answers and improved the performance of LLMs by proposing a new module called Extended Classification Integration. (iii) We released our processed data for one-shot and few-shot training for some benchmarks such as PubMedQA and USMLE 1-3 step. Our method achieves a close performance comparable to some state-of-the-art models with the same quantity of parameters on benchmarks, while being more environmentally friendly by using less GPU computation time. Our models, codes, and datasets can be found at \url{https://github.com/Stephen-SMJ/LLamaCare}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑