Continuous Training and Fine-tuning for Domain-Specific Language Models in Medical Question Answering

Zhen Guo, Yining Hua
11/1/2023
cs.CLcs.AI

No confident code implementation found for this paper. 9 possible matches can be shown below.

Abstract

Large language models exhibit promising general capabilities but often lack specialized knowledge for domain-specific tasks. Developing domain experts from a base model enables a range of applications without prohibitive training costs. This work demonstrates a method using continuous training and instruction fine-tuning to rapidly adapt Llama 2 base models to the Chinese medical domain. We first conduct continuous training on 1B tokens from Chinese medical references to teach relevant vocabulary and knowledge. The models are then fine-tuned on 54K examples sourced from the Chinese National Medical Licensing Examination. Experiments on Chinese medical data confirm the effectiveness of this approach, producing a model comparable to GPT-3.5-turbo while using way less computational resource. The resulting domain-specific model could be useful for various Chinese medical applications. More broadly, this provides a template for domain-specific training of large language models in areas where pre-trained models lack the required expertise, such as law, science, and engineering.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 9 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guo2023continuous,
  title  = {Continuous Training and Fine-tuning for Domain-Specific Language Models in Medical Question Answering},
  author = {Zhen Guo and Yining Hua},
  year   = {2023},
  eprint = {2311.00204},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.00204v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.00204.svg)](https://codeofpaper.com/paper/2311.00204)

Discussion