← all repositories
SCIR-HI/Huatuo-Llama-Med-Chinese

BenCao: Chinese medical fine-tunes that admit they’re still in residency

Because general-purpose LLMs hallucinate dangerously on Chinese medical queries, this project distills structured knowledge graphs and recent literature into cheap LoRA adapters for several popular base models.

5k stars Python Domain AppsLanguage Models
Huatuo-Llama-Med-Chinese
Not currently ranked — collecting fresh signals.
star history

What it does

BenCao (formerly HuaTuo) is a collection of LoRA fine-tuning recipes and adapter weights that nudge several open LLMs—LLaMA, Alpaca-Chinese, Bloom, and the HIT Huozi model—toward answering Chinese medical questions. The team generated roughly eight thousand instruction-tuning samples from a structured medical knowledge graph and another thousand from 2023 liver-cancer literature using the ChatGPT API, then trained low-rank adapters rather than full model copies.

The interesting bit

The project’s “knowledge tuning” method doesn’t just bake facts into weights; it trains the model to first retrieve structured knowledge—disease attributes, drugs, symptoms—and then generate an answer, making the reasoning path explicit. That work recently landed in ACM TKDD, which is unusual for a repo that also hands out Baidu Netdisk links.

Key highlights

  • Supports four base models via lightweight LoRA adapters, so you don’t need to host separate 7B-parameter fine-tunes.
  • Training data mixes a public Chinese medical knowledge graph (cMeKG) with GPT-3.5-generated Q&A derived from recent liver-cancer paper abstracts.
  • The “knowledge tuning” pipeline structures inference into retrieval-then-generation stages, aiming to reduce hallucination by grounding answers in explicit facts.
  • Published research backs the method, including a TKDD paper on reliable Chinese medical response generation.
  • The authors openly warn that the dataset contains errors and imperfections, and that the literature branch currently covers only liver cancer.

Caveats

  • The training data is synthetic and explicitly flagged as flawed; the authors note errors, incomplete coverage, and ongoing iteration.
  • Medical knowledge base construction code and the full dataset curation scripts are still being organized and have not been released.
  • Literature-based models are currently limited to liver cancer; the promised expansion to sixteen hepatobiliary diseases is not yet available.

Verdict Worth a look if you’re researching Chinese medical NLP or need a starting point for low-cost, domain-specific adapter tuning. Skip it if you want a production-ready diagnostic tool or fully open data pipelines.

Frequently asked

What is SCIR-HI/Huatuo-Llama-Med-Chinese?
Because general-purpose LLMs hallucinate dangerously on Chinese medical queries, this project distills structured knowledge graphs and recent literature into cheap LoRA adapters for several popular base models.
Is Huatuo-Llama-Med-Chinese open source?
Yes — SCIR-HI/Huatuo-Llama-Med-Chinese is open source, released under the Apache-2.0 license.
What language is Huatuo-Llama-Med-Chinese written in?
SCIR-HI/Huatuo-Llama-Med-Chinese is primarily written in Python.
How popular is Huatuo-Llama-Med-Chinese?
SCIR-HI/Huatuo-Llama-Med-Chinese has 5k stars on GitHub.
Where can I find Huatuo-Llama-Med-Chinese?
SCIR-HI/Huatuo-Llama-Med-Chinese is on GitHub at https://github.com/SCIR-HI/Huatuo-Llama-Med-Chinese.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.