├── .gitignore ├── LICENSE ├── README.md ├── README_EN.md ├── assets ├── benchmark.png ├── case.png ├── logo │ ├── logo.png │ └── logo_new.png ├── process_of_knowledge_tuning.png ├── wechat.jpg └── wechat_group.jpg ├── benchmark ├── README.md └── question.json ├── data-literature └── liver_cancer.json ├── data ├── infer.json ├── knowledge_tuning_data_sample.txt └── llama_data.json ├── doc └── Tuning_Methods_for_LLMs_towards_Health_Intelligence.pdf ├── export_hf_checkpoint.py ├── export_state_dict_checkpoint.py ├── finetune.py ├── generate.py ├── infer.py ├── infer_literature.py ├── requirements.txt ├── scripts ├── finetune.sh ├── infer-literature-multi.sh ├── infer-literature-single.sh ├── infer.sh └── test.sh ├── templates ├── bloom_deploy.json ├── literature_template.json └── med_template.json └── utils ├── README.md ├── __init__.py └── prompter.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/README.md -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/README_EN.md -------------------------------------------------------------------------------- /assets/benchmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/benchmark.png -------------------------------------------------------------------------------- /assets/case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/case.png -------------------------------------------------------------------------------- /assets/logo/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/logo/logo.png -------------------------------------------------------------------------------- /assets/logo/logo_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/logo/logo_new.png -------------------------------------------------------------------------------- /assets/process_of_knowledge_tuning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/process_of_knowledge_tuning.png -------------------------------------------------------------------------------- /assets/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/wechat.jpg -------------------------------------------------------------------------------- /assets/wechat_group.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/assets/wechat_group.jpg -------------------------------------------------------------------------------- /benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/benchmark/README.md -------------------------------------------------------------------------------- /benchmark/question.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/benchmark/question.json -------------------------------------------------------------------------------- /data-literature/liver_cancer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/data-literature/liver_cancer.json -------------------------------------------------------------------------------- /data/infer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/data/infer.json -------------------------------------------------------------------------------- /data/knowledge_tuning_data_sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/data/knowledge_tuning_data_sample.txt -------------------------------------------------------------------------------- /data/llama_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/data/llama_data.json -------------------------------------------------------------------------------- /doc/Tuning_Methods_for_LLMs_towards_Health_Intelligence.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/doc/Tuning_Methods_for_LLMs_towards_Health_Intelligence.pdf -------------------------------------------------------------------------------- /export_hf_checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/export_hf_checkpoint.py -------------------------------------------------------------------------------- /export_state_dict_checkpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/export_state_dict_checkpoint.py -------------------------------------------------------------------------------- /finetune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/finetune.py -------------------------------------------------------------------------------- /generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/generate.py -------------------------------------------------------------------------------- /infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/infer.py -------------------------------------------------------------------------------- /infer_literature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/infer_literature.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/scripts/finetune.sh -------------------------------------------------------------------------------- /scripts/infer-literature-multi.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/scripts/infer-literature-multi.sh -------------------------------------------------------------------------------- /scripts/infer-literature-single.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/scripts/infer-literature-single.sh -------------------------------------------------------------------------------- /scripts/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/scripts/infer.sh -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/scripts/test.sh -------------------------------------------------------------------------------- /templates/bloom_deploy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/templates/bloom_deploy.json -------------------------------------------------------------------------------- /templates/literature_template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/templates/literature_template.json -------------------------------------------------------------------------------- /templates/med_template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/templates/med_template.json -------------------------------------------------------------------------------- /utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/utils/README.md -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/prompter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SCIR-HI/Huatuo-Llama-Med-Chinese/HEAD/utils/prompter.py --------------------------------------------------------------------------------