|
--- |
|
license: apache-2.0 |
|
--- |
|
# 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="" 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="./README_zh.md"> 中文 </a> | <a href="./README.md"> English |
|
</p> |
|
|
|
![Apollo](assets/apollo_medium_final.png) |
|
|
|
## 🌈 Update |
|
|
|
* **[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 |
|
|
|
<details><summary>Click to expand</summary> |
|
|
|
![Apollo](assets/result.png) |
|
|
|
|
|
</details> |
|
|
|
## Data: Huge, Diverse, Clean, Multilingual |
|
|
|
|
|
|
|
![Apollo](assets/dataset.png) |
|
|
|
|
|
|
|
## Usage |
|
|
|
- [Zip File](https://huggingface.co/datasets/FreedomIntelligence/Medbase_data/blob/main/Medbase_data-datasets.zip) |
|
- [Data category](https://huggingface.co/datasets/FreedomIntelligence/Medbase_data/tree/main/train) |
|
- Pretrain: |
|
- json_name: {data_source}_{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 item: |
|
- data_type==text: list of string |
|
``` |
|
[ |
|
"string1", |
|
"string2", |
|
... |
|
] |
|
``` |
|
- data_type==qa: list of qa pairs(list of string) |
|
``` |
|
[ |
|
[ |
|
"q1", |
|
"a1", |
|
"q2", |
|
"a2", |
|
... |
|
], |
|
... |
|
] |
|
``` |
|
|
|
- SFT: |
|
- json_name: {data_source}_{language}.json |
|
- data_type: code, general, math, medicalExam, medicalPatient |
|
- data item: list of qa pairs(list of string) |
|
``` |
|
[ |
|
[ |
|
"q1", |
|
"a1", |
|
"q2", |
|
"a2", |
|
... |
|
], |
|
... |
|
] |
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Citation |
|
|
|
``` |
|
@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} |
|
} |
|
@misc{Apollo, |
|
title={Apollo, Multilingual Medicine: Model, Dataset, Benchmark, Code}, |
|
author={Xidong Wang, Junyin Chen, Nuo Chen, Yidong Wang, Zhiyi Zhang, Benyou Wang}, |
|
year = {2024}, |
|
publisher = {GitHub}, |
|
journal = {GitHub repository}, |
|
howpublished = {\url{https://github.com/FreedomIntelligence/Apollo}}, |
|
} |
|
``` |