PMC-LLaMA: toward building open-source language models for medicine. Wu, C., Lin, W., Zhang, X., Zhang, Y., Xie, W., & Wang, Y. Journal of the American Medical Informatics Association, 31(9):1833–1843, September, 2024.
Paper doi abstract bibtex Recently, large language models (LLMs) have showcased remarkable capabilities in natural language understanding. While demonstrating proficiency in everyday conversations and question-answering (QA) situations, these models frequently struggle in domains that require precision, such as medical applications, due to their lack of domain-specific knowledge. In this article, we describe the procedure for building a powerful, open-source language model specifically designed for medicine applications, termed as PMC-LLaMA.We adapt a general-purpose LLM toward the medical domain, involving data-centric knowledge injection through the integration of 4.8M biomedical academic papers and 30K medical textbooks, as well as comprehensive domain-specific instruction fine-tuning, encompassing medical QA, rationale for reasoning, and conversational dialogues with 202M tokens.While evaluating various public medical QA benchmarks and manual rating, our lightweight PMC-LLaMA, which consists of only 13B parameters, exhibits superior performance, even surpassing ChatGPT. All models, codes, and datasets for instruction tuning will be released to the research community.Our contributions are 3-fold: (1) we build up an open-source LLM toward the medical domain. We believe the proposed PMC-LLaMA model can promote further development of foundation models in medicine, serving as a medical trainable basic generative language backbone; (2) we conduct thorough ablation studies to demonstrate the effectiveness of each proposed component, demonstrating how different training data and model scales affect medical LLMs; (3) we contribute a large-scale, comprehensive dataset for instruction tuning.In this article, we systematically investigate the process of building up an open-source medical-specific LLM, PMC-LLaMA.
@article{wu_pmc-llama_2024,
title = {{PMC}-{LLaMA}: toward building open-source language models for medicine},
volume = {31},
issn = {1527-974X},
shorttitle = {{PMC}-{LLaMA}},
url = {https://doi.org/10.1093/jamia/ocae045},
doi = {10.1093/jamia/ocae045},
abstract = {Recently, large language models (LLMs) have showcased remarkable capabilities in natural language understanding. While demonstrating proficiency in everyday conversations and question-answering (QA) situations, these models frequently struggle in domains that require precision, such as medical applications, due to their lack of domain-specific knowledge. In this article, we describe the procedure for building a powerful, open-source language model specifically designed for medicine applications, termed as PMC-LLaMA.We adapt a general-purpose LLM toward the medical domain, involving data-centric knowledge injection through the integration of 4.8M biomedical academic papers and 30K medical textbooks, as well as comprehensive domain-specific instruction fine-tuning, encompassing medical QA, rationale for reasoning, and conversational dialogues with 202M tokens.While evaluating various public medical QA benchmarks and manual rating, our lightweight PMC-LLaMA, which consists of only 13B parameters, exhibits superior performance, even surpassing ChatGPT. All models, codes, and datasets for instruction tuning will be released to the research community.Our contributions are 3-fold: (1) we build up an open-source LLM toward the medical domain. We believe the proposed PMC-LLaMA model can promote further development of foundation models in medicine, serving as a medical trainable basic generative language backbone; (2) we conduct thorough ablation studies to demonstrate the effectiveness of each proposed component, demonstrating how different training data and model scales affect medical LLMs; (3) we contribute a large-scale, comprehensive dataset for instruction tuning.In this article, we systematically investigate the process of building up an open-source medical-specific LLM, PMC-LLaMA.},
number = {9},
urldate = {2024-08-28},
journal = {Journal of the American Medical Informatics Association},
author = {Wu, Chaoyi and Lin, Weixiong and Zhang, Xiaoman and Zhang, Ya and Xie, Weidi and Wang, Yanfeng},
month = sep,
year = {2024},
keywords = {Computer Science - Computation and Language},
pages = {1833--1843},
}
Downloads: 0
{"_id":"ha35DfWsEyfWPYn3r","bibbaseid":"wu-lin-zhang-zhang-xie-wang-pmcllamatowardbuildingopensourcelanguagemodelsformedicine-2024","author_short":["Wu, C.","Lin, W.","Zhang, X.","Zhang, Y.","Xie, W.","Wang, Y."],"bibdata":{"bibtype":"article","type":"article","title":"PMC-LLaMA: toward building open-source language models for medicine","volume":"31","issn":"1527-974X","shorttitle":"PMC-LLaMA","url":"https://doi.org/10.1093/jamia/ocae045","doi":"10.1093/jamia/ocae045","abstract":"Recently, large language models (LLMs) have showcased remarkable capabilities in natural language understanding. While demonstrating proficiency in everyday conversations and question-answering (QA) situations, these models frequently struggle in domains that require precision, such as medical applications, due to their lack of domain-specific knowledge. In this article, we describe the procedure for building a powerful, open-source language model specifically designed for medicine applications, termed as PMC-LLaMA.We adapt a general-purpose LLM toward the medical domain, involving data-centric knowledge injection through the integration of 4.8M biomedical academic papers and 30K medical textbooks, as well as comprehensive domain-specific instruction fine-tuning, encompassing medical QA, rationale for reasoning, and conversational dialogues with 202M tokens.While evaluating various public medical QA benchmarks and manual rating, our lightweight PMC-LLaMA, which consists of only 13B parameters, exhibits superior performance, even surpassing ChatGPT. All models, codes, and datasets for instruction tuning will be released to the research community.Our contributions are 3-fold: (1) we build up an open-source LLM toward the medical domain. We believe the proposed PMC-LLaMA model can promote further development of foundation models in medicine, serving as a medical trainable basic generative language backbone; (2) we conduct thorough ablation studies to demonstrate the effectiveness of each proposed component, demonstrating how different training data and model scales affect medical LLMs; (3) we contribute a large-scale, comprehensive dataset for instruction tuning.In this article, we systematically investigate the process of building up an open-source medical-specific LLM, PMC-LLaMA.","number":"9","urldate":"2024-08-28","journal":"Journal of the American Medical Informatics Association","author":[{"propositions":[],"lastnames":["Wu"],"firstnames":["Chaoyi"],"suffixes":[]},{"propositions":[],"lastnames":["Lin"],"firstnames":["Weixiong"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Xiaoman"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Ya"],"suffixes":[]},{"propositions":[],"lastnames":["Xie"],"firstnames":["Weidi"],"suffixes":[]},{"propositions":[],"lastnames":["Wang"],"firstnames":["Yanfeng"],"suffixes":[]}],"month":"September","year":"2024","keywords":"Computer Science - Computation and Language","pages":"1833–1843","bibtex":"@article{wu_pmc-llama_2024,\n\ttitle = {{PMC}-{LLaMA}: toward building open-source language models for medicine},\n\tvolume = {31},\n\tissn = {1527-974X},\n\tshorttitle = {{PMC}-{LLaMA}},\n\turl = {https://doi.org/10.1093/jamia/ocae045},\n\tdoi = {10.1093/jamia/ocae045},\n\tabstract = {Recently, large language models (LLMs) have showcased remarkable capabilities in natural language understanding. While demonstrating proficiency in everyday conversations and question-answering (QA) situations, these models frequently struggle in domains that require precision, such as medical applications, due to their lack of domain-specific knowledge. In this article, we describe the procedure for building a powerful, open-source language model specifically designed for medicine applications, termed as PMC-LLaMA.We adapt a general-purpose LLM toward the medical domain, involving data-centric knowledge injection through the integration of 4.8M biomedical academic papers and 30K medical textbooks, as well as comprehensive domain-specific instruction fine-tuning, encompassing medical QA, rationale for reasoning, and conversational dialogues with 202M tokens.While evaluating various public medical QA benchmarks and manual rating, our lightweight PMC-LLaMA, which consists of only 13B parameters, exhibits superior performance, even surpassing ChatGPT. All models, codes, and datasets for instruction tuning will be released to the research community.Our contributions are 3-fold: (1) we build up an open-source LLM toward the medical domain. We believe the proposed PMC-LLaMA model can promote further development of foundation models in medicine, serving as a medical trainable basic generative language backbone; (2) we conduct thorough ablation studies to demonstrate the effectiveness of each proposed component, demonstrating how different training data and model scales affect medical LLMs; (3) we contribute a large-scale, comprehensive dataset for instruction tuning.In this article, we systematically investigate the process of building up an open-source medical-specific LLM, PMC-LLaMA.},\n\tnumber = {9},\n\turldate = {2024-08-28},\n\tjournal = {Journal of the American Medical Informatics Association},\n\tauthor = {Wu, Chaoyi and Lin, Weixiong and Zhang, Xiaoman and Zhang, Ya and Xie, Weidi and Wang, Yanfeng},\n\tmonth = sep,\n\tyear = {2024},\n\tkeywords = {Computer Science - Computation and Language},\n\tpages = {1833--1843},\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Wu, C.","Lin, W.","Zhang, X.","Zhang, Y.","Xie, W.","Wang, Y."],"key":"wu_pmc-llama_2024","id":"wu_pmc-llama_2024","bibbaseid":"wu-lin-zhang-zhang-xie-wang-pmcllamatowardbuildingopensourcelanguagemodelsformedicine-2024","role":"author","urls":{"Paper":"https://doi.org/10.1093/jamia/ocae045"},"keyword":["Computer Science - Computation and Language"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://bibbase.org/zotero/sarveshsoni","dataSources":["taWdMrienBzqHC2tC"],"keywords":["computer science - computation and language"],"search_terms":["pmc","llama","toward","building","open","source","language","models","medicine","wu","lin","zhang","zhang","xie","wang"],"title":"PMC-LLaMA: toward building open-source language models for medicine","year":2024}