Go to file
Anooyman dbe92d31f6
Dev (#10)
* feat: add agents/actions/write_markdown

* [ADD] add evaluation result of base model on 5/10 epochs

* Rename mother.json to mother_v1_2439.json

* Add files via upload

* [DOC] update README

* Update requirements.txt

update mpi4py installation

* Update README_EN.md

update English comma

* Update README.md

基于母亲角色的多轮对话模型微调完毕。已上传到 Huggingface。

* 多轮对话母亲角色的微调的脚本

* Update README.md

加上了王几行XING 和 思在 的作者信息

* Update README_EN.md

* Update README.md

* Update README_EN.md

* Update README_EN.md

* Changes to be committed:
	modified:   .gitignore
	modified:   README.md
	modified:   README_EN.md
	new file:   assets/EmoLLM_transparent.png
	deleted:    assets/Shusheng.jpg
	new file:   assets/Shusheng.png
	new file:   assets/aiwei_demo1.gif
	new file:   assets/aiwei_demo2.gif
	new file:   assets/aiwei_demo3.gif
	new file:   assets/aiwei_demo4.gif

* Update README.md

rectify aiwei_demo.gif

* Update README.md

rectify aiwei_demo style

* Changes to be committed:
	modified:   README.md
	modified:   README_EN.md

* Changes to be committed:
	modified:   README.md
	modified:   README_EN.md

* [Doc] update readme

* [Doc] update readme

* Update README.md

* Update README_EN.md

* Update README.md

* Update README_EN.md

* Delete datasets/mother_v1_2439.json

* Rename mother_v2_3838.json to mother_v2.json

* Delete datasets/mother_v2.json

* Add files via upload

* Update README.md

* Update README_EN.md

* [Doc] Update README_EN.md

minor fix

* InternLM2-Base-7B QLoRA微调模型 链接和测评结果更新

* add download_model.py script, automatic download of model libraries

* 清除图片的黑边、更新作者信息
	modified:   README.md
	new file:   assets/aiwei_demo.gif
	deleted:    assets/aiwei_demo1.gif
	modified:   assets/aiwei_demo2.gif
	modified:   assets/aiwei_demo3.gif
	modified:   assets/aiwei_demo4.gif

* rectify aiwei_demo transparent

* transparent

* modify: aiwei_demo table--->div

* modified:   aiwei_demo

* modify: div ---> table

* modified:   README.md

* modified:   README_EN.md

* update model config file links

* Create internlm2_20b_chat_lora_alpaca_e3.py

20b模型的配置文件

* Fix the bug that openxlab platform cannot be deployed.

* update model config file links

update model config file links

* Revert "update model config file links"

* [redo] update model config file links 20b

---------

Co-authored-by: jujimeizuo <fengzetao.zed@foxmail.com>
Co-authored-by: xzw <62385492+aJupyter@users.noreply.github.com>
Co-authored-by: Zeyu Ba <72795264+ZeyuBa@users.noreply.github.com>
Co-authored-by: Bryce Wang <90940753+brycewang2018@users.noreply.github.com>
Co-authored-by: zealot52099 <songyan5209@163.com>
Co-authored-by: HongCheng <kwchenghong@gmail.com>
Co-authored-by: Yicong <yicooong@qq.com>
Co-authored-by: Yicooong <54353406+Yicooong@users.noreply.github.com>
Co-authored-by: aJupyter <ajupyter@163.com>
Co-authored-by: MING_X <119648793+MING-ZCH@users.noreply.github.com>
Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
Co-authored-by: HatBoy <null2none@163.com>
Co-authored-by: ZhouXinAo <142309012+zxazys@users.noreply.github.com>
2024-04-14 12:40:39 +08:00
agents feat: add agents/actions/write_markdown (#7) 2024-03-27 21:16:32 +08:00
assets Update code (#8) 2024-04-14 10:09:17 +08:00
back/dataset 更新了后端数据库信息 2024-03-27 20:23:36 +08:00
datasets Update code (#8) 2024-04-14 10:09:17 +08:00
demo Update code (#8) 2024-04-14 10:09:17 +08:00
deploy Add files via upload 2024-03-14 23:56:18 +08:00
docs Update code (#8) 2024-04-14 10:09:17 +08:00
evaluate Update code (#8) 2024-04-14 10:09:17 +08:00
front/Wechat small program prototype design Add files via upload 2024-03-27 20:23:36 +08:00
generate_data small update 2024-03-18 23:39:49 +09:00
rag Update README.md 2024-04-14 12:26:28 +08:00
scripts Update code (#8) 2024-04-14 10:09:17 +08:00
xtuner_config Update code (#8) 2024-04-14 10:09:17 +08:00
.gitignore Update code (#8) 2024-04-14 10:09:17 +08:00
app.py Dev (#10) 2024-04-14 12:40:39 +08:00
download_model.py Update code (#8) 2024-04-14 10:09:17 +08:00
LICENSE Update LICENSE 2024-03-16 18:50:10 +08:00
README_EN.md Dev (#10) 2024-04-14 12:40:39 +08:00
README.md Dev (#10) 2024-04-14 12:40:39 +08:00
requirements.txt Update code (#8) 2024-04-14 10:09:17 +08:00
setup.py initial emollm-metagpt 2024-03-27 20:23:36 +08:00
web_demo-aiwei.py Update code (#8) 2024-04-14 10:09:17 +08:00
web_internlm2.py Add RAG into internlm2 2024-04-14 12:22:35 +08:00

EmoLLM - Large Language Model for Mental Health

Logo

Contributors Forks Issues OpenXLab_App OpenXLab_Model MIT License Stargazers

EmoLLM

简体中文 | English

Explore the documentation of this project »

EmoLLM 2.0 Demo · Report a Bug · Propose a New Feature

EmoLLM is a series of large language models designed to understand, support and help customers in mental health counseling. It is fine-tuned from the LLM instructions. We really appreciate it if you could give it a star~. The open-sourced configuration is as follows:

Model Type link
InternLM2_7B_chat QLORA internlm2_7b_chat_qlora_e3.py
InternLM2_7B_chat full fine-tuning internlm2_chat_7b_full.py
InternLM2_7B_base QLORA internlm2_7b_base_qlora_e10_M_1e4_32_64.py
InternLM2_1_8B_chat full fine-tuning internlm2_1_8b_full_alpaca_e3.py
InternLM2_20B_chat LORA internlm2_20b_chat_lora_alpaca_e3.py
Qwen_7b_chat QLORA qwen_7b_chat_qlora_e3.py
Qwen1_5-0_5B-Chat full fine-tuning qwen1_5_0_5_B_full.py
Baichuan2_13B_chat QLORA baichuan2_13b_chat_qlora_alpaca_e3.py
ChatGLM3_6B LORA chatglm3_6b_lora_alpaca_e3.py
DeepSeek MoE_16B_chat QLORA deepseek_moe_16b_chat_qlora_oasst1_e3.py
Mixtral 8x7B_instruct QLORA mixtral_8x7b_instruct_qlora_oasst1_e3.py
…… …… ……

Everyone is welcome to contribute to this project ~


The Model aims to fully understand and promote the mental health of individuals, groups, and society. This model typically includes the following key components:

  • Cognitive factors: Involving an individual's thought patterns, belief systems, cognitive biases, and problem-solving abilities. Cognitive factors significantly impact mental health as they affect how individuals interpret and respond to life events.
  • Emotional factors: Including emotion regulation, emotional expression, and emotional experiences. Emotional health is a crucial part of mental health, involving how individuals manage and express their emotions and how they recover from negative emotions.
  • Behavioral factors: Concerning an individual's behavior patterns, habits, and coping strategies. This includes stress management skills, social skills, and self-efficacy, which is the confidence in one's abilities.
  • Social environment: Comprising external factors such as family, work, community, and cultural background, which have direct and indirect impacts on an individual's mental health.
  • Physical health: There is a close relationship between physical and mental health. Good physical health can promote mental health and vice versa.
  • Psychological resilience: Refers to an individual's ability to recover from adversity and adapt. Those with strong psychological resilience can bounce back from challenges and learn and grow from them.
  • Prevention and intervention measures: The Mental Health Grand Model also includes strategies for preventing psychological issues and promoting mental health, such as psychological education, counseling, therapy, and social support systems.
  • Assessment and diagnostic tools: Effective promotion of mental health requires scientific tools to assess individuals' psychological states and diagnose potential psychological issues.
占位图 占位图
占位图 占位图

Recent Updates

View More

模型下载量

  • 【2024.2.5】 The project has been promoted by the official WeChat account NLP Engineering. Here's the link to the article. Welcome everyone to follow!! 🥳🥳

公众号二维码

Honors

  • The project won the the Innovation and Creativity Award in the 2024 Puyuan Large Model Series Challenge Spring Competition held by the Shanghai Artificial Intelligence Laboratory

Challenge Innovation and Creativity Award

Roadmap

Roadmap_EN

Contents

Pre-development Configuration Requirements.
  • A100 40G (specifically for InternLM2_7B_chat + qlora fine-tuning + deepspeed zero2 optimization)
User Guide
  1. Clone the repo
git clone https://github.com/SmartFlowAI/EmoLLM.git
  1. Read in sequence or read sections you're interested in

🍪Quick start

📌Data Construction

🎨Fine-tuning Guide

For details, see the fine-tuning guide

🔧Deployment Guide

⚙RAG (Retrieval Augmented Generation) Pipeline

Additional Details

Frameworks Used

How to participate in this project

Contributions make the open-source community an excellent place for learning, inspiration, and creation. Any contribution you make is greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Version control

This project uses Git for version control. You can see the currently available versions in the repository.

Authors (in no particular order)

Username School/Organization Remarks Contributions
aJupyter Nankai University, Master's student DataWhale member Project initiator
MING-ZCH Huazhong University of Science and Technology, Undergraduate student LLM X Psychology researcher Project co-leader
jujimeizuo Jiangnan University, Master's student
Smiling-Weeping-zhr Harbin Institute of Technology (Weihai), Undergraduate student
8baby8 PaddlePaddle Pilot Team Regional Director Wenxin Large Model core developer
zxazys Nankai University, Master's student
JasonLLLLLLLLLLL SWUFE (Southwestern University of Finance and Economics)
MrCatAI AI Mover
ZeyuBa Institute of Automation, Master's student
aiyinyuedejustin University of Pennsylvania, Master's student
Nobody-ML China University of Petroleum (East China), Undergraduate student
chg0901 MiniSora Maintainer and Admin of MiniSora LLM Pre-Training and Fine-Tuning, Model Uploading, Data Cleaning and Docs Translation
Mxoder Beihang University, Undergraduate student
Anooyman Nanjing University of Science and Technology, Master's student
Vicky-3021 Xidian University, Master's student (Research Year 0)
SantiagoTOP Taiyuan University of Technology, Master's student
zealot52099 Individual developer Data Processing, LLM finetuning and RAG
wwwyfff FuDan University, Master's student
jkhumor Nankai University, Master's student RAG
lll997150986 Nankai University, Master's student Fine Tuning
nln-maker Nankai University, Master's student Front-end and back-end development
dream00001 Nankai University, Master's student Front-end and back-end development
王几行XING Peking University, Master's graduate Data Processing, LLM finetuning, Front-end and back-end development
[思在] Peking University, Master's graduate (Microsoft) LLM finetuning, Front-end and back-end development

The project is licensed under the MIT License. Please refer to the details LICENSE

Acknowledgments

Star History

Star History Chart

🌟 Contributors

EmoLLM contributors

Communication group

  • If it fails, go to the Issue section.

EmoLLM official communication group