From 7cb32e12496f0c983f49a7f4eb9a83da82a1b588 Mon Sep 17 00:00:00 2001 From: HongCheng Date: Fri, 15 Mar 2024 10:51:42 +0900 Subject: [PATCH 01/10] Update demo link in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6b66f8..71f8177 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ 探索本项目的文档 »

- 查看Demo + 体验EmoLLM 2.0 OpenXLab Demo · 报告Bug · @@ -264,4 +264,4 @@ git clone https://github.com/SmartFlowAI/EmoLLM.git

EmoLLM官方交流群 -

\ No newline at end of file +

From e305def96ac2726fa567dc641fb8ebd461917e75 Mon Sep 17 00:00:00 2001 From: HongCheng Date: Fri, 15 Mar 2024 10:59:01 +0900 Subject: [PATCH 02/10] Update xlab app link --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71f8177..aad2b74 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,16 @@ 探索本项目的文档 »

- 体验EmoLLM 2.0 OpenXLab Demo + EmoLLM 2.0 + [![OpenXLab_App][OpenXLab_App-image]][OpenXLab_App-url] · 报告Bug · 提出新特性 + + [OpenXLab_App-image]: https://cdn-static.openxlab.org.cn/app-center/openxlab_app.svg + [OpenXLab_App-url]: https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0 +

From 0c925d5d14abf5dbeab2df2c9b4334bf4c9f380e Mon Sep 17 00:00:00 2001 From: HongCheng Date: Fri, 15 Mar 2024 11:06:48 +0900 Subject: [PATCH 03/10] Update xlab link --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index aad2b74..75c1e8d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ [![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Issues][issues-shield]][issues-url] +[![OpenXLab_App][OpenXLab_App-image]][OpenXLab_App-url] [![MIT License][license-shield]][license-url] [![Stargazers][stars-shield]][stars-url] @@ -22,26 +23,20 @@

EmoLLM

-

+

简体中文| English

探索本项目的文档 »

- EmoLLM 2.0 - [![OpenXLab_App][OpenXLab_App-image]][OpenXLab_App-url] + 体验EmoLLM 2.0 OpenXLab Demo · 报告Bug · 提出新特性 +
- [OpenXLab_App-image]: https://cdn-static.openxlab.org.cn/app-center/openxlab_app.svg - [OpenXLab_App-url]: https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0 - -

- -

@@ -263,6 +258,10 @@ git clone https://github.com/SmartFlowAI/EmoLLM.git [license-shield]: https://img.shields.io/github/license/SmartflowAI/EmoLLM.svg?style=flat-square [license-url]: https://github.com/SmartFlowAI/EmoLLM/blob/main/LICENSE +[OpenXLab_App-image]: https://cdn-static.openxlab.org.cn/app-center/openxlab_app.svg +[OpenXLab_Model-image]: https://cdn-static.openxlab.org.cn/header/openxlab_models.svg +[OpenXLab_App-url]: https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0 + ## 交流群 - 如果失效,请移步Issue区 From 5bdbf9364c96869e701f2fcd36472cb06b9cb735 Mon Sep 17 00:00:00 2001 From: HongCheng Date: Fri, 15 Mar 2024 11:10:21 +0900 Subject: [PATCH 04/10] add xlab model --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 75c1e8d..d6d5d06 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ [![Forks][forks-shield]][forks-url] [![Issues][issues-shield]][issues-url] [![OpenXLab_App][OpenXLab_App-image]][OpenXLab_App-url] +[![OpenXLab_Model][OpenXLab_Model-image]][OpenXLab_Model-url] [![MIT License][license-shield]][license-url] [![Stargazers][stars-shield]][stars-url] @@ -30,7 +31,7 @@ 探索本项目的文档 »

- 体验EmoLLM 2.0 OpenXLab Demo + 体验EmoLLM 2.0 · 报告Bug · @@ -261,6 +262,7 @@ git clone https://github.com/SmartFlowAI/EmoLLM.git [OpenXLab_App-image]: https://cdn-static.openxlab.org.cn/app-center/openxlab_app.svg [OpenXLab_Model-image]: https://cdn-static.openxlab.org.cn/header/openxlab_models.svg [OpenXLab_App-url]: https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0 +[OpenXLab_Model-url]: https://openxlab.org.cn/models/detail/ajupyter/EmoLLM_internlm2_7b_full ## 交流群 From 33b71a690dfa9bc8b5e1a906ca2bfcfe80bd1fb7 Mon Sep 17 00:00:00 2001 From: xzw <62385492+aJupyter@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:45:58 +0800 Subject: [PATCH 05/10] Update web_demo-aiwei.py --- web_demo-aiwei.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web_demo-aiwei.py b/web_demo-aiwei.py index 3e7d225..aeb6c7c 100644 --- a/web_demo-aiwei.py +++ b/web_demo-aiwei.py @@ -218,7 +218,8 @@ def main(): user_avator = "assets/user.png" robot_avator = "assets/robot.jpeg" - st.title("EmoLLM-温柔御姐艾薇(aiwei)") + # st.title("EmoLLM-温柔御姐艾薇(aiwei)") + st.title("EmoLLM-艾薇(aiwei)AI心理咨询") generation_config = prepare_generation_config() @@ -264,4 +265,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main() From 6e16d19bc1fa12cefa4854c4c83a6c6b9fd9215c Mon Sep 17 00:00:00 2001 From: HongCheng Date: Fri, 15 Mar 2024 13:10:30 +0900 Subject: [PATCH 06/10] add bitex --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index d6d5d06..3a77437 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,18 @@ git clone https://github.com/SmartFlowAI/EmoLLM.git 该项目签署了 MIT 授权许可,详情请参阅 [LICENSE](https://github.com/SmartFlowAI/EmoLLM/blob/main/LICENSE) +### 引用 +如果本项目对您的工作有所帮助,请使用以下格式引用: + +```bibtex +@misc{EmoLLM, + title={EmoLLM}, + author={EmoLLM}, + url={https://github.com/SmartFlowAI/EmoLLM/}, + year={2024} +} +``` + ### 特别鸣谢 - [Sanbu](https://github.com/sanbuphy) From 5485b4c124affaa72219aba20e11296c847da510 Mon Sep 17 00:00:00 2001 From: xzw <62385492+aJupyter@users.noreply.github.com> Date: Fri, 15 Mar 2024 21:12:24 +0800 Subject: [PATCH 07/10] Update web_demo-aiwei.py --- web_demo-aiwei.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_demo-aiwei.py b/web_demo-aiwei.py index aeb6c7c..f4af119 100644 --- a/web_demo-aiwei.py +++ b/web_demo-aiwei.py @@ -210,6 +210,8 @@ def combine_history(prompt): def main(): + st.markdown("我在这里,准备好倾听你的心声了。", unsafe_allow_html=True) + # torch.cuda.empty_cache() print("load model begin.") model, tokenizer = load_model() From 968234fbe73ac411f640c61c256b5957718d545d Mon Sep 17 00:00:00 2001 From: HongCheng Date: Sat, 16 Mar 2024 11:01:15 +0900 Subject: [PATCH 08/10] Update README_EN.md with xlab demo links --- README_EN.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README_EN.md b/README_EN.md index 7c83344..5b0e54d 100644 --- a/README_EN.md +++ b/README_EN.md @@ -15,6 +15,8 @@ [![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Issues][issues-shield]][issues-url] +[![OpenXLab_App][OpenXLab_App-image]][OpenXLab_App-url] +[![OpenXLab_Model][OpenXLab_Model-image]][OpenXLab_Model-url] [![MIT License][license-shield]][license-url] [![Stargazers][stars-shield]][stars-url] @@ -29,7 +31,7 @@ Explore the documentation of this project »

- View the Demo + EmoLLM 2.0 Demo · Report a Bug · @@ -285,6 +287,11 @@ The project is licensed under the MIT License. Please refer to the details [license-shield]: https://img.shields.io/github/license/SmartflowAI/EmoLLM.svg?style=flat-square [license-url]: https://github.com/SmartflowAI/EmoLLM/blob/main/LICENSE +[OpenXLab_App-image]: https://cdn-static.openxlab.org.cn/app-center/openxlab_app.svg +[OpenXLab_Model-image]: https://cdn-static.openxlab.org.cn/header/openxlab_models.svg +[OpenXLab_App-url]: https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0 +[OpenXLab_Model-url]: https://openxlab.org.cn/models/detail/ajupyter/EmoLLM_internlm2_7b_full + ## Communication group - If it fails, go to the Issue section. From a703b9a69048a41fbf734418f86cdb9d99353666 Mon Sep 17 00:00:00 2001 From: MING_X <119648793+MING-ZCH@users.noreply.github.com> Date: Sat, 16 Mar 2024 15:42:16 +0800 Subject: [PATCH 09/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a77437..9b88fbe 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ ### 🎇最近更新 - 【2024.3.12】在百度飞浆平台发布[艾薇](https://aistudio.baidu.com/community/app/63335) -- 【2024.3.11】 **EmoLLM V2.0 相比 EmoLLM V1.0 全面提升,已超越 Role-playing ChatGPT 在心理咨询任务上的能力!**,[点击体验EmoLLM V2.0](https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0),更新[数据集统计及详细信息](./datasets/)、[路线图](./assets/Roadmap_ZH.png) +- 【2024.3.11】 **EmoLLM V2.0 相比 EmoLLM V1.0 全面提升,已超越 Role-playing ChatGPT 在心理咨询任务上的能力!**[点击体验EmoLLM V2.0](https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0),更新[数据集统计及详细信息](./datasets/)、[路线图](./assets/Roadmap_ZH.png) - 【2024.3.9】 新增并发功能加速 [QA 对生成](./scripts/qa_generation/)、[RAG pipeline](./rag/) - 【2024.3.3】 [基于InternLM2-7B-chat全量微调版本EmoLLM V2.0开源](https://openxlab.org.cn/models/detail/ajupyter/EmoLLM_internlm2_7b_full),需要两块A100*80G,更新专业评估,详见[evaluate](./evaluate/),更新基于PaddleOCR的PDF转txt工具脚本,详见[scripts](./scripts/) - 【2024.2.29】更新客观评估计算,详见[evaluate](./evaluate/),更新一系列数据集,详见[datasets](./datasets/) From ef5eb66a4f94f70d45bbe1ea5b15a30799b4032a Mon Sep 17 00:00:00 2001 From: MING_X <119648793+MING-ZCH@users.noreply.github.com> Date: Sat, 16 Mar 2024 15:58:07 +0800 Subject: [PATCH 10/10] Update README_EN.md --- README_EN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_EN.md b/README_EN.md index 5b0e54d..7464ade 100644 --- a/README_EN.md +++ b/README_EN.md @@ -79,7 +79,7 @@ The Model aims to fully understand and promote the mental health of individuals, - Assessment and diagnostic tools: Effective promotion of mental health requires scientific tools to assess individuals' psychological states and diagnose potential psychological issues. ### Recent Updates - 【2024.3.12】 Released on Baidu Flying Pulp Platform [aiwei](https://aistudio.baidu.com/community/app/63335) -- 【2024.3.11】 **EmoLLM V2.0 is greatly improved in all scores compared to EmoLLM V1.0. Surpasses the performance of Role-playing ChatGPT on counseling tasks!**, [Click to experience EmoLLM V2.0](https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0), update [dataset statistics and details](./datasets/), [Roadmap](./assets/Roadmap_ZH.png) +- 【2024.3.11】 **EmoLLM V2.0 is greatly improved in all scores compared to EmoLLM V1.0. Surpasses the performance of Role-playing ChatGPT on counseling tasks!** [Click to experience EmoLLM V2.0](https://openxlab.org.cn/apps/detail/Farewell1/EmoLLMV2.0), update [dataset statistics and details](./datasets/), [Roadmap](./assets/Roadmap_ZH.png) - 【2024.3.9】 Add concurrency acceleration [QA pair generation](./scripts/qa_generation/), [RAG pipeline](./rag/) - 【2024.3.3】 [Based on InternLM2-7B-chat full fine-tuned version EmoLLM V2.0 open sourced](https://openxlab.org.cn/models/detail/ajupyter/EmoLLM_internlm2_7b_full), need two A100*80G, update professional evaluation, see [evaluate](./evaluate/), update PaddleOCR-based PDF to txt tool scripts, see [scripts](./scripts/). - 【2024.2.29】 Updated objective assessment calculations, see [evaluate](./evaluate/) for details. A series of datasets have also been updated, see [datasets](./datasets/) for details.