CoolFace
Modelpublic

FreedomIntelligence/Apollo-1.8B

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
5likes76downloads
Model Card

Multilingual Medicine: Model, Dataset, Benchmark, Code

Covering English, Chinese, French, Hindi, Spanish, Hindi, Arabic So far

<p align="center"> πŸ‘¨πŸ»β€πŸ’»<a href="https://github.com/FreedomIntelligence/Apollo" target="blank">Github</a> β€’πŸ“ƒ <a href="https://arxiv.org/abs/2403.03640" target="blank">Paper</a> β€’ 🌐 <a href="https://apollo.llmzoo.com/" target="blank">Demo</a> β€’ πŸ€— <a href="https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus" target="blank">ApolloCorpus</a> β€’ πŸ€— <a href="https://huggingface.co/datasets/FreedomIntelligence/XMedbench" target="blank">XMedBench</a> <br> <a href="./READMEzh.md"> δΈ­ζ–‡ </a> | <a href="./README.md"> English </p>

[image]

🌈 Update

  • β€”[2024.03.07] Paper released.
  • β€”[2024.02.12] <a href="https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus" target="blank">ApolloCorpus</a> and <a href="https://huggingface.co/datasets/FreedomIntelligence/XMedbench" target="blank">XMedBench</a> is publishedοΌπŸŽ‰
  • β€”[2024.01.23] Apollo repo is publishedοΌπŸŽ‰

Results

πŸ€—<a href="https://huggingface.co/FreedomIntelligence/Apollo-0.5B" target="blank">Apollo-0.5B</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-1.8B" target="blank">Apollo-1.8B</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-2B" target="blank">Apollo-2B</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-6B" target="blank">Apollo-6B</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-7B" target="_blank">Apollo-7B</a>

πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-0.5B-GGUF" target="blank">Apollo-0.5B-GGUF</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-2B-GGUF" target="blank">Apollo-2B-GGUF</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-6B-GGUF" target="blank">Apollo-6B-GGUF</a> β€’ πŸ€— <a href="https://huggingface.co/FreedomIntelligence/Apollo-7B-GGUF" target="blank">Apollo-7B-GGUF</a>

[image]

## Usage Format

User:{query}\nAssistant:{response}<|endoftext|>

Dataset & Evaluation

  • β€”Dataset πŸ€— <a href="https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus" target="_blank">ApolloCorpus</a>

<details><summary>Click to expand</summary>

[image]

  • β€”Zip File
  • β€”Data category
  • β€”Pretrain:
  • β€”data item:
  • β€”jsonname: {datasource}{language}{data_type}.json
  • β€”data_type: medicalBook, medicalGuideline, medicalPaper, medicalWeb(from online forum), medicalWiki
  • β€”language: en(English), zh(chinese), es(spanish), fr(french), hi(Hindi)
  • β€”data_type: qa(generated qa from text)
  • β€”data_type==text: list of string
              [
                "string1",
                "string2",
                ...
              ]
  • β€”data_type==qa: list of qa pairs(list of string)
              [
                [
                  "q1",
                  "a1",
                  "q2",
                  "a2",
                  ...
                ],
                ...
              ]
  • β€”SFT:
  • β€”jsonname: {datasource}_{language}.json
  • β€”data_type: code, general, math, medicalExam, medicalPatient
  • β€”data item: list of qa pairs(list of string)
              [
                [
                  "q1",
                  "a1",
                  "q2",
                  "a2",
                  ...
                ],
                ...
              ]

</details>

  • β€”Evaluation πŸ€— <a href="https://huggingface.co/datasets/FreedomIntelligence/XMedbench" target="_blank">XMedBench</a>

<details><summary>Click to expand</summary>

  • β€”EN:
  • β€”MedQA-USMLE
  • β€”MedMCQA
  • β€”PubMedQA: Because the results fluctuated too much, they were not used in the paper.
  • β€”MMLU-Medical
  • β€”Clinical knowledge, Medical genetics, Anatomy, Professional medicine, College biology, College medicine
  • β€”ZH:
  • β€”MedQA-MCMLE
  • β€”CMB-single: Not used in the paper
  • β€”Randomly sample 2,000 multiple-choice questions with single answer.
  • β€”CMMLU-Medical
  • β€”Anatomy, Clinicalknowledge, Collegemedicine, Genetics, Nutrition, Traditionalchinesemedicine, Virology
  • β€”CExam: Not used in the paper
  • β€”Randomly sample 2,000 multiple-choice questions
  • β€”ES: Head_qa
  • β€”FR: Frenchmedmcqa
  • β€”HI: MMLU_HI
  • β€”Clinical knowledge, Medical genetics, Anatomy, Professional medicine, College biology, College medicine
  • β€”AR: MMLU_Ara
  • β€”Clinical knowledge, Medical genetics, Anatomy, Professional medicine, College biology, College medicine

</details>

Results reproduction

<details><summary>Click to expand</summary>

Waiting for Update

</details>

Citation

Please use the following citation if you intend to use our dataset for training or evaluation:

@misc{wang2024apollo,
   title={Apollo: Lightweight Multilingual Medical LLMs towards Democratizing Medical AI to 6B People},
   author={Xidong Wang and Nuo Chen and Junyin Chen and Yan Hu and Yidong Wang and Xiangbo Wu and Anningzhe Gao and Xiang Wan and Haizhou Li and Benyou Wang},
   year={2024},
   eprint={2403.03640},
   archivePrefix={arXiv},
   primaryClass={cs.CL}
}