Python
update
xjzhao86b87c2c848f
diff --git a/README.md b/README.mdindex d455590..7c93e66 100644--- a/README.md+++ b/README.md@@ -31,7 +31,8 @@ Qi Chen, [Siria Xiyueyao Luo](https://www.rug.nl/staff/x.luo/?lang=en), [XuejiaoThe pipeline of our model is shown in Fig. 1 which consists of three stages:- **(1) CBT Expert Seed Curation**: Curate CBT literatures to form high quality [*CBT Cognitive Triplet Dataset*](https://github.com/SNOWTEAM2023/Cognivia/blob/main/data/CBT_Cognitive_Triplet_Dataset.xlsx) as reference seed.-- **(2) CBT Cognitive Triplet Dataset Augmentation**: Multi-stage prompting and structured generation to augment mental health questions from PsyQA dataset to generate *Augmented CBT Cognitive Triplet Dataset*.+- **(2) CBT Cognitive Triplet Dataset Augmentation**: Multi-stage prompting and structured generation to augment mental health questions from PsyQA dataset to generate+[*Augmented CBT Cognitive Triplet Dataset*](https://github.com/SNOWTEAM2023/Cognivia/blob/main/data/Augtd_CBT_Cognitive_Triplet_Dataset.xlsx).- **(3) Task-oriented LoRA Fine-tuning**: Fine-tuning large language models by *Augmented CBT Cognitive Triplet Dataset* to obtain **Cognivia** for cognitive distortion identification and rational response generation.## π Dataset@@ -48,7 +49,7 @@ The form of this *CBT Cognitive Triplet Dataset*:{"Thought": "...", "Cognitive Distortion": "...", "Rational Response": "..."}```-2. [**Augmented CBT Cognitive Triplet Dataset**](https://github.com/SNOWTEAM2023/Cognivia/blob/main/data/Aug_CBT_Cognitive_Triplet_Dataset.xlsx):+2. [**Augmented CBT Cognitive Triplet Dataset**](https://github.com/SNOWTEAM2023/Cognivia/blob/main/data/Augtd_CBT_Cognitive_Triplet_Dataset.xlsx):This dataset is based on [**PsyQA**](https://github.com/thu-coai/PsyQA),a large-scale psychological question-answering dataset collected from publicly accessibleonline mental health forums. PsyQA consists of anonymized user-generated questionβanswer pairs@@ -58,11 +59,11 @@ related to psychological concerns as the following form:{"Question": "...", "Answer": "..."}```-For each question *ππ* in PsyQA, we employ the DeepSeek with expert-designed+For each question **ππ** in PsyQA, we employ the DeepSeek with expert-designed[*prompt_1*](https://github.com/SNOWTEAM2023/Cognivia/blob/main/prompts/filter_prompt.txt) to identify the-corresponding cognitive distortion *ππ*, and use ChatGPT with-[prompt_2][*prompt_1*](https://github.com/SNOWTEAM2023/Cognivia/blob/main/prompts/response_prompt.txt) to generate a-corresponding rational response *ππ*.+corresponding cognitive distortion **ππ**, and use ChatGPT with+[*prompt_2*](https://github.com/SNOWTEAM2023/Cognivia/blob/main/prompts/response_prompt.txt) to generate a+corresponding rational response **ππ**.The form of this *Augmented CBT Cognitive Triplet Dataset*:```jsonl