Go to file
2024-03-10 10:42:08 +08:00
assets [docs] add lmdeploy.md 2024-03-08 20:57:50 +08:00
datasets Create README_EN.md 2024-03-06 17:58:17 +08:00
demo README files translation 2024-03-03 19:24:55 +09:00
deploy [docs] add lmdeploy.md 2024-03-08 20:57:50 +08:00
evaluate Update Professional_evaluation.md 2024-03-06 17:34:47 +08:00
generate_data Rename Introduction.markdown to Readme.md 2024-02-29 22:52:41 +08:00
rag Add files via upload 2024-03-09 21:30:52 +08:00
scripts Add concurrent functions (#1) 2024-03-09 16:44:59 +08:00
xtuner_config feat: add internlm2-chat-7b-config 2024-03-03 21:08:52 +08:00
.gitignore refactor: modified xtuner_config and removed model_config 2024-01-26 21:37:15 +08:00
app.py feat: Update Aiwei configuration. 2024-02-23 20:11:17 +08:00
LICENSE Create LICENSE 2024-01-23 16:14:23 +08:00
README_EN.md Update README 2024-03-10 06:20:32 +08:00
README.md Update README 2024-03-10 06:20:32 +08:00
requirements.txt feat: add web_internlm2 and upload s.t. scripts 2024-01-25 19:02:24 +08:00
web_demo-aiwei.py feat: Update Aiwei configuration. 2024-02-23 20:11:17 +08:00
web_internlm2.py feat: add web_internlm2 and upload s.t. scripts 2024-01-25 19:02:24 +08:00

EmoLLM - Large Languge Model for Mental Health

Contributors Forks Issues MIT License Stargazers

Logo

EmoLLM

简体中文 | English

Explore the documentation of this project »

View the 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 can give it a star~. The open-sourced configuration is as follows:

model type
InternLM2_7B_chat qlora
InternLM2_7B_chat full finetuning
InternLM2_1_8B_chat full finetuning
Qwen_7b_chat qlora
Qwen1_5-0_5B-Chat full finetuning
Baichuan2_13B_chat qlora
ChatGLM3_6B lora
DeepSeek MoE_16B_chat qlora
Mixtral 8x7B_instruct qlora
…… ……
Everyone is welcome to contribute to this project ~

The Model is aimed at fully understanding and promoting 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!! 🥳🥳

公众号二维码

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

File Directory Explanation

├─assetsImage Resources
├─datasetsDataset
├─demodemo scripts
├─generate_dataData Generation Guide
│  └─xinghuo
├─scriptsSome Available Tools
└─xtuner_configFine-tuning Guide
    └─images

Data Construction

Please read the Data Construction Guide for reference.

The dataset used for this fine-tuning can be found at datasets

Fine-tuning Guide

For details, see the fine-tuning guide

Deployment Guide

For details, see the deployment guide

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 current available versions in the repository.

Authors (in no particular order)

aJupyter@Datawhale member, Master's student at Nankai University

jujimeizuo@Master's student at Jiangnan University

Smiling&Weeping@Undergraduate student at Harbin Institute of Technology (Weihai)

Farewell@

ZhouXinAo@Master's student at Nankai University

MING_X @Undergraduate at Huazhong University of Science and Technology

Z_L@swufe

MrCatAI@AI Removal of Labour

ZeyuBa@Master's student at Institute of Automation

aiyinyuedejustin@Master's student at University of Pennsylvania

Nobody-ML@Undergraduate at China University of Petroleum (East China)

chg0901@PhD Candidate at Kwangwoon University

Mxoder@Undergraduate at Beihang University

Anooyman @Master of Nanjing University of Science and Technology

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