Skip to main content

IvyGPT: InteractiVe Chinese Pathway Language Model in Medical Domain

  • Conference paper
  • First Online:
Artificial Intelligence (CICAI 2023)

Abstract

General large language models (LLMs) such as ChatGPT have shown remarkable success. However, such LLMs have not been widely adopted for medical purposes, due to poor accuracy and inability to provide medical advice. We propose IvyGPT, an LLM based on LLaMA that is trained and fine-tuned with high-quality medical question-answer (QA) instances and Reinforcement Learning from Human Feedback (RLHF). In the training, we used QLoRA to handle 33 billion parameters on a small number of NVIDIA A100 (80 GB) GPUs. Experimental results show that IvyGPT has outperformed other medical GPT models. The online demo is available at http://81.71.71.157:52022. Our demo video can be found at https://youtu.be/O4D74pQh8Is.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Dettmers, T., Pagnoni, A., Holtzman, A., Zettlemoyer, L.: QLORA: efficient finetuning of quantized LLMs. arXiv preprint arXiv:2305.14314 (2023)

  2. Liu, H., Liao, Y., Meng, Y., Wang, Y., Wang, Y.: MedicalGPT-zh (2023). https://github.com/MediaBrain-SJTU/MedicalGPT-zh

  3. Hu, E.J., et al.: LoRA: low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685 (2021)

  4. Li, J., Pang, P.C.I., Xiao, Y., Wong, D.: Changes in doctor-patient relationships in china during COVID-19: a text mining analysis. Int. J. Environ. Res. Public Health 19(20), 13446 (2022)

    Article  Google Scholar 

  5. Ouyang, L., et al.: Training language models to follow instructions with human feedback (2022)

    Google Scholar 

  6. Touvron, H., et al.: LLaMA: open and efficient foundation language models (2023)

    Google Scholar 

  7. Wang, H., et al.: HuaTuo: tuning LLaMA model with Chinese medical knowledge (2023)

    Google Scholar 

  8. Zhang, H., et al.: HuatuoGPT, towards taming language model to be a doctor (2023)

    Google Scholar 

  9. Zhu, W., Wang, X.: ChatMed: a Chinese medical large language model (2023). https://github.com/michael-wzhu/ChatMed

  10. Zhu, W., Wang, X.: ShenNong-TCM-LLM (2023). https://github.com/michael-wzhu/ShenNong-TCM-LLM

Download references

Funding

This work was funded by the Science and Technology Development Fund of Macau SAR (Grant Number 0105/2022/A and File Number 0041/2023/RIB2).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tao Tan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, R. et al. (2024). IvyGPT: InteractiVe Chinese Pathway Language Model in Medical Domain. In: Fang, L., Pei, J., Zhai, G., Wang, R. (eds) Artificial Intelligence. CICAI 2023. Lecture Notes in Computer Science(), vol 14474. Springer, Singapore. https://doi.org/10.1007/978-981-99-9119-8_34

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-9119-8_34

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-9118-1

  • Online ISBN: 978-981-99-9119-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics