├── Autonomous_ChatDoctor_Wikipedia ├── chat_wiki.py └── wiki_reader.py ├── Autonomous_ChatDoctor_csv ├── chat_csv.py ├── csv_reader.py └── disease_symptom.csv ├── Autonomous_ChatGPT_API ├── chat_openai.py └── disease_database_mini.csv ├── LICENSE ├── README.md ├── alpaca_data.json ├── chat.py ├── chatdoctor5k.json ├── fig ├── logo.png ├── overview.PNG └── wiki.PNG ├── format_dataset.csv ├── pretrained ├── added_tokens.json ├── config.json ├── generation_config.json ├── pytorch_model.bin.index.json ├── special_tokens_map.json ├── tokenizer.model ├── tokenizer_config.json ├── trainer_state.json └── training_args.bin ├── requirements.txt ├── train.py ├── train_lora.py └── utils.py /Autonomous_ChatDoctor_Wikipedia/chat_wiki.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatDoctor_Wikipedia/chat_wiki.py -------------------------------------------------------------------------------- /Autonomous_ChatDoctor_Wikipedia/wiki_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatDoctor_Wikipedia/wiki_reader.py -------------------------------------------------------------------------------- /Autonomous_ChatDoctor_csv/chat_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatDoctor_csv/chat_csv.py -------------------------------------------------------------------------------- /Autonomous_ChatDoctor_csv/csv_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatDoctor_csv/csv_reader.py -------------------------------------------------------------------------------- /Autonomous_ChatDoctor_csv/disease_symptom.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatDoctor_csv/disease_symptom.csv -------------------------------------------------------------------------------- /Autonomous_ChatGPT_API/chat_openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatGPT_API/chat_openai.py -------------------------------------------------------------------------------- /Autonomous_ChatGPT_API/disease_database_mini.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/Autonomous_ChatGPT_API/disease_database_mini.csv -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/README.md -------------------------------------------------------------------------------- /alpaca_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/alpaca_data.json -------------------------------------------------------------------------------- /chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/chat.py -------------------------------------------------------------------------------- /chatdoctor5k.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/chatdoctor5k.json -------------------------------------------------------------------------------- /fig/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/fig/logo.png -------------------------------------------------------------------------------- /fig/overview.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/fig/overview.PNG -------------------------------------------------------------------------------- /fig/wiki.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/fig/wiki.PNG -------------------------------------------------------------------------------- /format_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/format_dataset.csv -------------------------------------------------------------------------------- /pretrained/added_tokens.json: -------------------------------------------------------------------------------- 1 | { 2 | "[PAD]": 32000 3 | } 4 | -------------------------------------------------------------------------------- /pretrained/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/config.json -------------------------------------------------------------------------------- /pretrained/generation_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/generation_config.json -------------------------------------------------------------------------------- /pretrained/pytorch_model.bin.index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/pytorch_model.bin.index.json -------------------------------------------------------------------------------- /pretrained/special_tokens_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/special_tokens_map.json -------------------------------------------------------------------------------- /pretrained/tokenizer.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/tokenizer.model -------------------------------------------------------------------------------- /pretrained/tokenizer_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/tokenizer_config.json -------------------------------------------------------------------------------- /pretrained/trainer_state.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/trainer_state.json -------------------------------------------------------------------------------- /pretrained/training_args.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/pretrained/training_args.bin -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/requirements.txt -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/train.py -------------------------------------------------------------------------------- /train_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/train_lora.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kent0n-Li/ChatDoctor/HEAD/utils.py --------------------------------------------------------------------------------