maliksaad/empathLM-dataset-v2
收藏资源简介:
--- license: mit task_categories: - text-generation - conversational language: - en tags: - mental-health - empathy - motivational-interviewing - cognitive-behavioral-therapy - psychology - fine-tuning - emotional-support - empathLM pretty_name: EmpathLM — Psychologically Safe & Persuasive Response Dataset size_categories: - n<1K --- # 🧠 EmpathLM Dataset V2 **Psychologically Safe AND Persuasive AI Responses + Identity-Aware Meta Conversations** Created by [Muhammad Saad](https://huggingface.co/maliksaad) as part of the **EmpathLM** project -- a fine-tuned language model that combines Motivational Interviewing (MI) and Cognitive Behavioral Therapy (CBT) principles with smart intent detection. --- ## 📖 What This Dataset Is This dataset contains **760 curated examples** -- 700 emotional support examples and 60 meta conversation examples (identity, greeting, closing, capability, clarification). Each emotional support example demonstrates the critical difference between how typical AI systems respond versus how a psychologically-informed system *should* respond. **No existing HuggingFace model is trained specifically for this task.** This dataset was created to fill that gap. --- ## 📦 Dataset Fields | Field | Type | Description | |-------|------|-------------| | `situation` | `string` | First-person message expressing emotional distress or meta question | | `unsafe_response` | `string` | How a typical AI responds (empty for meta conversations) | | `empathetic_response` | `string` | The gold-standard response | | `psychology_principle` | `string` | The specific MI/CBT technique or 'Identity Awareness' for meta | | `safety_score` | `int` | Psychological safety rating (1-10) | | `persuasion_score` | `int` | Effectiveness of perspective shift (1-10) | | `category` | `string` | 'emotional_support' or 'meta_conversation' | --- ## 🧪 Psychology Principles Covered The dataset spans the following evidence-based psychological techniques: - **Reflective Listening** — Mirroring and paraphrasing to show understanding - **Socratic Questioning** — Open questions that guide self-discovery - **Cognitive Reframing** — Gently suggesting alternative interpretations - **Validation and Normalization** — Affirming that feelings are understandable - **Motivational Affirmation** — Highlighting the person's strengths and efforts - **Exploring Ambivalence** — Helping the person examine conflicting feelings - **Strength-Based Reflection** — Redirecting focus to resilience and capability --- ## 🌍 Situation Categories The 700 emotional support situations cover diverse human struggles: - Academic failure and exam pressure - Job rejection and career disappointment - Family pressure and cultural expectations - Loneliness and social isolation - Relationship loss and heartbreak - Identity crisis and self-doubt - Anxiety and overwhelming fear - Feeling invisible and unheard - Creative dreams being dismissed - Feeling like a burden - Financial stress, grief, burnout, and more --- ## 🚀 How to Use ```python from datasets import load_dataset dataset = load_dataset("maliksaad/empathLM-dataset-v2") # View example example = dataset["train"][0] print("Situation:", example["situation"]) print("\nEmpathetic Response:", example["empathetic_response"]) print("\nPrinciple:", example["psychology_principle"]) ``` ### Fine-tuning Format For instruction fine-tuning, format examples as: ```python SYSTEM_PROMPT = """You are EmpathLM — an emotionally intelligent AI trained in Motivational Interviewing and Cognitive Behavioral Therapy. When someone shares emotional pain with you: - Validate their feelings without judgment - Reflect their emotions back to them - Help them gently explore their perspective - Ask one powerful open-ended question - NEVER give unsolicited advice or tell them what to do Respond as a warm, deeply human presence.""" def format_example(example): return { "messages": [ {"role": "system", "content": SYSTEM_PROMPT}, {"role": "user", "content": example["situation"]}, {"role": "assistant", "content": example["empathetic_response"]}, ] } ``` --- ## 📊 Related Resources - **Model**: [maliksaad/empathLM-v2](https://huggingface.co/maliksaad/empathLM-v2) - **GitHub**: [EmpathLM Repository](https://github.com/maliksaad/empathLM) --- ## 📄 Citation ```bibtex @dataset{saad2025empathLM, title = {EmpathLM: Psychologically Safe and Persuasive Response Dataset}, author = {Muhammad Saad}, year = {2025}, publisher = {HuggingFace}, url = {https://huggingface.co/datasets/maliksaad/empathLM-dataset-v2} } ``` --- ## ⚖️ License MIT License — free to use for research and commercial applications with attribution.
--- license: MIT协议 task_categories: - 文本生成 - 对话式任务 language: - 英语 tags: - 心理健康 - 共情 - 动机性访谈(MI) - 认知行为疗法(CBT) - 心理学 - 微调 - 情绪支持 - EmpathLM(EmpathLM) pretty_name: EmpathLM(EmpathLM) — 心理安全且具有说服力的响应数据集 size_categories: - 样本量小于1000 --- # 🧠 EmpathLM(EmpathLM) 数据集V2 **心理安全且具有说服力的AI响应 + 身份感知元对话** 由[Muhammad Saad](https://huggingface.co/maliksaad)基于**EmpathLM(EmpathLM)**项目开发——这是一款结合了动机性访谈(MI)与认知行为疗法(CBT)原理,搭载智能意图检测模块的微调大语言模型。 --- ## 📖 本数据集概述 本数据集包含**760条精选样本**:700条情绪支持样本与60条元对话样本(涵盖身份、问候、结束语、功能说明与澄清请求)。每条情绪支持样本均清晰对比了通用AI系统的常规响应,与符合心理学规范的理想响应之间的核心差异。 **目前尚无HuggingFace平台上的模型针对该任务进行专项训练**,本数据集正是为填补这一空白而创建。 --- ## 📦 数据集字段说明 | 字段名 | 数据类型 | 描述 | |-------|---------|------| | `situation` | `string` | 表达情绪困扰的第一人称消息,或元对话类问题 | | `unsafe_response` | `string` | 通用AI的常规响应(元对话样本此字段为空) | | `empathetic_response` | `string` | 金标准响应(即符合心理学规范的共情响应) | | `psychology_principle` | `string` | 具体采用的MI/CBT技术,元对话样本则标注“身份感知” | | `safety_score` | `int` | 心理安全评分(1-10分) | | `persuasion_score` | `int` | 视角转换有效性评分(1-10分) | | `category` | `string` | 分类为`emotional_support`(情绪支持)或`meta_conversation`(元对话) | --- ## 🧪 覆盖的心理学原理 本数据集涵盖以下循证心理学技术: - **反射性倾听**:通过镜像与复述展现理解 - **苏格拉底式提问**:通过开放式问题引导自我探索 - **认知重构**:温和地引导个体形成替代性解读 - **验证与正常化**:肯定个体情绪的合理性与普遍性 - **动机性肯定**:强调个体的优势与付出 - **探索矛盾心理**:帮助个体梳理内心的冲突情绪 - **优势导向反思**:将注意力引导至韧性与能力层面 --- ## 🌍 情绪支持场景分类 700条情绪支持样本覆盖了多样化的人类困境: - 学业失败与考试压力 - 求职碰壁与职业挫败 - 家庭压力与文化期待 - 孤独与社交隔离 - 情感关系破裂与心碎 - 身份认同危机与自我怀疑 - 焦虑与过度恐惧 - 被忽视与不被倾听 - 创意梦想遭否定 - 感觉自己是他人的负担 - 财务压力、哀伤、职业倦怠等更多场景 --- ## 🚀 使用方法 python from datasets import load_dataset dataset = load_dataset("maliksaad/empathLM-dataset-v2") # 查看示例样本 example = dataset["train"][0] print("场景:", example["situation"]) print(" 共情响应:", example["empathetic_response"]) print(" 应用原理:", example["psychology_principle"]) ### 微调格式说明 若用于指令微调,可将样本格式化为如下形式: python SYSTEM_PROMPT = """你是EmpathLM(EmpathLM)——一款具备情绪智能的AI,接受过动机性访谈与认知行为疗法训练。当他人向你倾诉情绪痛苦时: - 不带评判地验证其感受 - 向对方复述其情绪以展现理解 - 温和地协助其探索自身视角 - 提出一个有力的开放式问题 - 切勿提供未经请求的建议或强行告知应对方案 请以温暖、极具人情味的姿态进行回应。""" def format_example(example): return { "messages": [ {"role": "system", "content": SYSTEM_PROMPT}, {"role": "user", "content": example["situation"]}, {"role": "assistant", "content": example["empathetic_response"]}, ] } --- ## 📊 相关资源 - **模型**:[maliksaad/empathLM-v2](https://huggingface.co/maliksaad/empathLM-v2) - **GitHub仓库**:[EmpathLM(EmpathLM) 项目仓库](https://github.com/maliksaad/empathLM) --- ## 📄 引用格式 bibtex @dataset{saad2025empathLM, title = {EmpathLM: Psychologically Safe and Persuasive Response Dataset}, author = {Muhammad Saad}, year = {2025}, publisher = {HuggingFace}, url = {https://huggingface.co/datasets/maliksaad/empathLM-dataset-v2} } --- ## ⚖️ 许可证 MIT协议——可自由用于研究与商业场景,需注明原作者出处。




