├── Doctor_GLM ├── GenMedGLM-8k.json ├── GenMedGPT-5k-ch.json ├── GenMedGPT-5k.json ├── WebCrawl │ ├── crawl.py │ └── query_MSD.json ├── __pycache__ │ ├── data_utils.cpython-38.pyc │ └── tokenization_chatglm.cpython-38.pyc ├── arguments.py ├── chat_lora.ipynb ├── chat_lora_quant.ipynb ├── chat_ptuning_v2.ipynb ├── ckpt │ ├── lora │ │ ├── adapter_config.json │ │ ├── adapter_model.bin │ │ └── config.json │ └── ptuningv2 │ │ └── config.json ├── data_utils.py ├── disease_info.json ├── disease_info_en.json ├── disease_sent_emb.pkl ├── gradio.ipynb ├── load_quantization.py ├── models.py ├── old_pretrain_model │ └── config.json ├── pretrain_model │ └── config.json ├── qa_generation.py ├── seach_engine.py ├── tokenization_chatglm.py └── translation.py ├── README.md ├── imgs ├── 11682312010_.pic.jpg ├── 3_ret.png ├── MachineTranslation.png ├── example1.png ├── example2.png ├── example34.png ├── gradio_demo.gif ├── group_qrcode.png ├── logo.png └── overall_pipeline.png ├── index.html └── results ├── DoctorGLM_results.json ├── chatGLM_results.json └── results_ptuning.txt /Doctor_GLM/GenMedGLM-8k.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/GenMedGLM-8k.json -------------------------------------------------------------------------------- /Doctor_GLM/GenMedGPT-5k-ch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/GenMedGPT-5k-ch.json -------------------------------------------------------------------------------- /Doctor_GLM/GenMedGPT-5k.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/GenMedGPT-5k.json -------------------------------------------------------------------------------- /Doctor_GLM/WebCrawl/crawl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/WebCrawl/crawl.py -------------------------------------------------------------------------------- /Doctor_GLM/WebCrawl/query_MSD.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/WebCrawl/query_MSD.json -------------------------------------------------------------------------------- /Doctor_GLM/__pycache__/data_utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/__pycache__/data_utils.cpython-38.pyc -------------------------------------------------------------------------------- /Doctor_GLM/__pycache__/tokenization_chatglm.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/__pycache__/tokenization_chatglm.cpython-38.pyc -------------------------------------------------------------------------------- /Doctor_GLM/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/arguments.py -------------------------------------------------------------------------------- /Doctor_GLM/chat_lora.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/chat_lora.ipynb -------------------------------------------------------------------------------- /Doctor_GLM/chat_lora_quant.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/chat_lora_quant.ipynb -------------------------------------------------------------------------------- /Doctor_GLM/chat_ptuning_v2.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/chat_ptuning_v2.ipynb -------------------------------------------------------------------------------- /Doctor_GLM/ckpt/lora/adapter_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/ckpt/lora/adapter_config.json -------------------------------------------------------------------------------- /Doctor_GLM/ckpt/lora/adapter_model.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/ckpt/lora/adapter_model.bin -------------------------------------------------------------------------------- /Doctor_GLM/ckpt/lora/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/ckpt/lora/config.json -------------------------------------------------------------------------------- /Doctor_GLM/ckpt/ptuningv2/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/ckpt/ptuningv2/config.json -------------------------------------------------------------------------------- /Doctor_GLM/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/data_utils.py -------------------------------------------------------------------------------- /Doctor_GLM/disease_info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/disease_info.json -------------------------------------------------------------------------------- /Doctor_GLM/disease_info_en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/disease_info_en.json -------------------------------------------------------------------------------- /Doctor_GLM/disease_sent_emb.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/disease_sent_emb.pkl -------------------------------------------------------------------------------- /Doctor_GLM/gradio.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/gradio.ipynb -------------------------------------------------------------------------------- /Doctor_GLM/load_quantization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/load_quantization.py -------------------------------------------------------------------------------- /Doctor_GLM/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/models.py -------------------------------------------------------------------------------- /Doctor_GLM/old_pretrain_model/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/old_pretrain_model/config.json -------------------------------------------------------------------------------- /Doctor_GLM/pretrain_model/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/pretrain_model/config.json -------------------------------------------------------------------------------- /Doctor_GLM/qa_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/qa_generation.py -------------------------------------------------------------------------------- /Doctor_GLM/seach_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/seach_engine.py -------------------------------------------------------------------------------- /Doctor_GLM/tokenization_chatglm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/tokenization_chatglm.py -------------------------------------------------------------------------------- /Doctor_GLM/translation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/Doctor_GLM/translation.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/README.md -------------------------------------------------------------------------------- /imgs/11682312010_.pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/11682312010_.pic.jpg -------------------------------------------------------------------------------- /imgs/3_ret.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/3_ret.png -------------------------------------------------------------------------------- /imgs/MachineTranslation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/MachineTranslation.png -------------------------------------------------------------------------------- /imgs/example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/example1.png -------------------------------------------------------------------------------- /imgs/example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/example2.png -------------------------------------------------------------------------------- /imgs/example34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/example34.png -------------------------------------------------------------------------------- /imgs/gradio_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/gradio_demo.gif -------------------------------------------------------------------------------- /imgs/group_qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/group_qrcode.png -------------------------------------------------------------------------------- /imgs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/logo.png -------------------------------------------------------------------------------- /imgs/overall_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/imgs/overall_pipeline.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/index.html -------------------------------------------------------------------------------- /results/DoctorGLM_results.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/results/DoctorGLM_results.json -------------------------------------------------------------------------------- /results/chatGLM_results.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/results/chatGLM_results.json -------------------------------------------------------------------------------- /results/results_ptuning.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xionghonglin/DoctorGLM/HEAD/results/results_ptuning.txt --------------------------------------------------------------------------------