Python
update
xjzhao78cc314e1f6c
diff --git a/README.md b/README.mdindex 2ef5c4b..704c5ae 100644--- a/README.md+++ b/README.md@@ -1,12 +1,12 @@<p align="center">- <img src="https://github.com/SNOWTEAM2023/Cognivia/blob/main/materials/cognivia.png" width="400">+ <img src="https://github.com/SNOWTEAM2023/Cognivia/blob/main/materials/cognivia.png" width="300"></p>💻 This is the official implementation of paper **Cognivia: An AI Therapist for Evidence-Based Cognitive Behavioral Therapy**.✅ This paper has been submitted to [**The 32nd SIGKDD Conference on Knowledge Discovery and Data Mining -AI for Sciences Track (KDD) 2026**](https://kdd2026.kdd.org/ai4sciences-track-call-for-papers/).-**Cognivia** is an evidence-based artificial intelligence therapist that integrates automatic cognitive distortion identification and rational response generation.+**Cognivia** is an evidence-based artificial intelligence therapist for cognitive behavioral therapy (CBT) that integrates automatic cognitive distortion identification and rational response generation.#### AuthorsQi Chen, [Siria Xiyueyao Luo](https://www.rug.nl/staff/x.luo/?lang=en), [Xuejiao Zhao*](https://zxjwudi.github.io/xuejiaozhao/)@@ -35,7 +35,15 @@ The pipeline of our model is shown in Fig. 1 which consists of three stages:- **(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-1. **CBT Cognitive Triplet Dataset**:+1. [**CBT Cognitive Triplet Dataset**](https://github.com/SNOWTEAM2023/Cognivia/blob/main/data/CBT_Cognitive_Triplet_Dataset.xlsx): Our work is based on authoritative texts that are widely regarded as+core paradigms and standard references in CBT. From these sources, we extract a well-established+taxonomy of cognitive distortions and further integrate complementary insights from other seminal works in the field.+This taxonomy is operationalized through explicit category definitions, annotation guidelines, decision rules, and illustrative examples to ensure consistent application in data construction and+analysis. Using this structured framework, we curate a high-quality seed dataset of representative CBT question–answer pairs, each+annotated with specific cognitive distortion labels (e.g., catastrophizing, overgeneralization, mind reading). These carefully selected+exemplars, aligned with CBT principles and therapeutic framing, are incorporated into structured prompt templates 𝑃𝑖 that encode+expert-informed CBT reasoning patterns. These templates guide downstream model generation to maintain theoretical consistency and adherence to clinical guidelines.+2. **Augmented CBT Cognitive Triplet Dataset**: