Paper here -> PsycoLLM: Enhancing LLM for Psychological Understanding and Evaluation
-[2024.11.4] PsycoLLM: Enhancing LLM for Psychological Understanding and Evaluation 被 IEEE Transactions on Computational Social Systems 接收
-[2024.9.22] 我们的中文心理大模型PsycoLLM正式发布!如有需要下载模型,请点击此处:MindIntLab/PsycoLLM
心理健康问题一直备受社会关注。在当代社会,每个人都可能遇上或多或少的难题,在心底慢慢堆积,便可能形成大的心理健康问题。青少年可能是因为校园霸凌、同学相处、原生家庭,年轻人可能是学业繁忙、工作压力大,老年人则可能是缺乏陪伴,需要抒发他们内心的不安与不满,以缓解环绕内心已久的心理问题。为此,我们精心制作了一份数据集,基于此进行大模型的微调,拟用于心理咨询。微调后的大模型在我们构建的评估集上表现优异,其 MCQ 准确率超过60%。
-
我们根据官方的全国心理咨询师考试构建了一个 Benchmark 。
-
PsycoLLM 在该 Benchmark 的平均 MCQ 准确率超过了 60%。
1.克隆本项目至本地
git clone https://github.com/MACLAB-HFUT/PsycoLLM.git2.配置环境
conda create -n PsycoLLM python=3.10
conda activate PsycoLLM
pip install -r requirements.txt3.运行python文件run.py
deepspeed --num_gpus=2 run.py4.开始交互
This repository is licensed under the Apache-2.0 License.
If this work is helpful, please kindly cite as:
@ARTICLE{10772313,
author={Hu, Jinpeng and Dong, Tengteng and Luo, Gang and Ma, Hui and Zou, Peng and Sun, Xiao and Guo, Dan and Yang, Xun and Wang, Meng},
journal={IEEE Transactions on Computational Social Systems},
title={PsycoLLM: Enhancing LLM for Psychological Understanding and Evaluation},
year={2025},
volume={12},
number={2},
pages={539-551},
doi={10.1109/TCSS.2024.3497725}}感谢以下同学对本项目的帮助(排名不分先后),包括数据收集、模型评估等,赵佳琪、李绪彬、刘序雄、刘方园、李静远、戴崇远、徐开元
This repo benefits from PEFT, TRL and LLaMA Factory. Thanks for their wonderful works.


