Multilingual Medicine: Model, Dataset, Benchmark, Code
Multilingual Medicine: Model, Dataset, Benchmark, Code
Covering English, Chinese, French, Hindi, Spanish, Hindi, Arabic So far
Paper • Demo • ApolloCorpus • XMedBench • ApolloMoE中文 | English
Apollo-0.5B • Apollo-1.8B • Apollo-2B • Apollo-6B • Apollo-7B • Apollo-34B • Apollo-72B
MedJamba
Apollo-0.5B-GGUF • Apollo-2B-GGUF • Apollo-6B-GGUF • Apollo-7B-GGUF Dataset ApolloCorpus
Click to expand
[
"string1",
"string2",
...
][
[
"q1",
"a1",
"q2",
"a2",
...
],
...
] [
[
"q1",
"a1",
"q2",
"a2",
...
],
...
]Evaluation XMedBench
Click to expand
EN:
ZH:
ES: Head_qa
FR: Frenchmedmcqa
HI: MMLU_HI
AR: MMLU_Ara
Click to expand
We take Gemma-2b as example
Download Dataset for project:
bash 0.download_data.shPrepare test and dev for specific model:
bash 1.data_process_test&dev.shPrepare train data for specific model (Create tokenized data in advance):
bash 2.data_process_train.shTrain the model
bash 3.single_node_train_gemma.sh(Optional) Proxy-Tuning: Directly improve model capabilities without fine-tuning
bash src/proxy-tuning/scripts/eval/proxy_tuning.shEvaluate your model: Generate score for benchmark
bash 4.eval.shEvaluate your model: Play with your ckpts in bash
python ./src/evaluate/cli_demo.py --model_name='./ckpts/your/path/tfmr'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}
}No open issues yet, or sync has not completed.