HuaTuo is an LLaMA fine-tuning model based on Chinese medical knowledge.
This project has open sourced the LLaMA-7B model that has undergone Chinese medical instruction fine-tuning/instruct-tuning. A Chinese medical instruction dataset was constructed through the medical knowledge graph and GPT3.5 API, and on this basis, LLaMA was fine-tuned to improve the question-answering effect of LLaMA in the medical field.
An example of a training sample is as follows:
Model effect comparison:
test input | Llama output | Alpaca output | Huatuo Hua camel output |
---|---|---|---|
Xiao Zhang recently felt unwell, with heart palpitations, shortness of breath and other symptoms. Physical examination revealed an enlarged heart and a weakened beating. | Question: Xiao Zhang recently felt unwell, with symptoms such as heart palpitations and shortness of breath. Physical examination revealed an enlarged heart and a weakened beating. | Recently, Xiao Zhang has been feeling unwell, with symptoms such as upset and shortness of breath. A physical examination revealed an enlarged heart and muscle weakness. | Xiao Zhang may suffer from myocarditis, and it is recommended to go to the hospital for examination and treatment as soon as possible. Treatment options include medication and surgery. |
Are leprosy and childhood asthma the same cause? | The causes of childhood asthma and leprosy are the same, but the causes of childhood asthma and leprosy are not the same | Yes, asthma and childhood wheeze have similar causes. | Inconsistent, the cause of leprosy is bacillus leprae infection, while the cause of childhood asthma is poor feeding, smoking and other factors. |
A patient presented with persistent pain and jaundice, and was diagnosed with hepatolithiasis after imaging examination. What treatment plan should be adopted? | What treatment options should be taken for patients with hepatolithiasis? | Patients should be treated with a combination of surgery and chemotherapy. | For hepatolithiasis, the treatment options include surgical treatment, drug treatment and adjuvant treatment. The specific treatment plan needs to be determined according to the specific situation of the patient. |
#Huatuo #Homepage #Documentation #Downloads #LLaMA #finetuning #model #based #Chinese #medical #knowledge #News Fast Delivery