├── README.md ├── data ├── ablation_data │ ├── em_es_ia_sr_re │ │ ├── empathetic_dialogue_valid.json │ │ ├── test │ │ │ └── empathetic_dialogue_test.json │ │ └── train │ │ │ └── empathetic_dialogue_train.json │ ├── em_sr_re │ │ ├── empathetic_dialogue_valid.json │ │ ├── test │ │ │ └── empathetic_dialogue_test.json │ │ └── train │ │ │ └── empathetic_dialogue_train.json │ ├── re │ │ ├── empathetic_dialogue_valid.json │ │ ├── test │ │ │ └── empathetic_dialogue_test.json │ │ └── train │ │ │ └── empathetic_dialogue_train.json │ └── sr_re │ │ ├── empathetic_dialogue_valid.json │ │ ├── test │ │ └── empathetic_dialogue_test.json │ │ └── train │ │ └── empathetic_dialogue_train.json ├── test.json ├── train.json └── val.json ├── merge.py ├── requirements.txt ├── scripts ├── supervised_finetune_llama2_cot.sh ├── supervised_finetune_llama2_cot_ablation.sh ├── test_llama2_chat_sft_cot.sh └── test_llama2_inference_cot.sh ├── supervised_finetuning_cot.py ├── test_llama2_chat_cot.py └── test_llama2_inference_cot.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/README.md -------------------------------------------------------------------------------- /data/ablation_data/em_es_ia_sr_re/empathetic_dialogue_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/em_es_ia_sr_re/empathetic_dialogue_valid.json -------------------------------------------------------------------------------- /data/ablation_data/em_es_ia_sr_re/test/empathetic_dialogue_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/em_es_ia_sr_re/test/empathetic_dialogue_test.json -------------------------------------------------------------------------------- /data/ablation_data/em_es_ia_sr_re/train/empathetic_dialogue_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/em_es_ia_sr_re/train/empathetic_dialogue_train.json -------------------------------------------------------------------------------- /data/ablation_data/em_sr_re/empathetic_dialogue_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/em_sr_re/empathetic_dialogue_valid.json -------------------------------------------------------------------------------- /data/ablation_data/em_sr_re/test/empathetic_dialogue_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/em_sr_re/test/empathetic_dialogue_test.json -------------------------------------------------------------------------------- /data/ablation_data/em_sr_re/train/empathetic_dialogue_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/em_sr_re/train/empathetic_dialogue_train.json -------------------------------------------------------------------------------- /data/ablation_data/re/empathetic_dialogue_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/re/empathetic_dialogue_valid.json -------------------------------------------------------------------------------- /data/ablation_data/re/test/empathetic_dialogue_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/re/test/empathetic_dialogue_test.json -------------------------------------------------------------------------------- /data/ablation_data/re/train/empathetic_dialogue_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/re/train/empathetic_dialogue_train.json -------------------------------------------------------------------------------- /data/ablation_data/sr_re/empathetic_dialogue_valid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/sr_re/empathetic_dialogue_valid.json -------------------------------------------------------------------------------- /data/ablation_data/sr_re/test/empathetic_dialogue_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/sr_re/test/empathetic_dialogue_test.json -------------------------------------------------------------------------------- /data/ablation_data/sr_re/train/empathetic_dialogue_train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/ablation_data/sr_re/train/empathetic_dialogue_train.json -------------------------------------------------------------------------------- /data/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/test.json -------------------------------------------------------------------------------- /data/train.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/train.json -------------------------------------------------------------------------------- /data/val.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/data/val.json -------------------------------------------------------------------------------- /merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/merge.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/supervised_finetune_llama2_cot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/scripts/supervised_finetune_llama2_cot.sh -------------------------------------------------------------------------------- /scripts/supervised_finetune_llama2_cot_ablation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/scripts/supervised_finetune_llama2_cot_ablation.sh -------------------------------------------------------------------------------- /scripts/test_llama2_chat_sft_cot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/scripts/test_llama2_chat_sft_cot.sh -------------------------------------------------------------------------------- /scripts/test_llama2_inference_cot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/scripts/test_llama2_inference_cot.sh -------------------------------------------------------------------------------- /supervised_finetuning_cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/supervised_finetuning_cot.py -------------------------------------------------------------------------------- /test_llama2_chat_cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/test_llama2_chat_cot.py -------------------------------------------------------------------------------- /test_llama2_inference_cot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeigenZhang/ESCoT/HEAD/test_llama2_inference_cot.py --------------------------------------------------------------------------------