Baby EmoLLM
This commit is contained in:
		
							parent
							
								
									d401e8d62d
								
							
						
					
					
						commit
						186511ce9c
					
				
							
								
								
									
										1126
									
								
								Baby EmoLLM.ipynb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1126
									
								
								Baby EmoLLM.ipynb
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										54
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										54
									
								
								README.md
									
									
									
									
									
								
							| @ -253,33 +253,33 @@ git clone https://github.com/SmartFlowAI/EmoLLM.git | |||||||
| 
 | 
 | ||||||
| ### 作者(排名不分先后) | ### 作者(排名不分先后) | ||||||
| 
 | 
 | ||||||
| |                            用户名                             |                     学校/组织                      |                                 备注                                 |                     贡献                      | | |                            用户名                            |                     学校/组织                      |                             备注                             |                     贡献                      | | ||||||
| | :-----------------------------------------------------------: | :------------------------------------------------: | :------------------------------------------------------------------: | :-------------------------------------------: | | | :----------------------------------------------------------: | :------------------------------------------------: | :----------------------------------------------------------: | :-------------------------------------------: | | ||||||
| |            [aJupyter](https://github.com/aJupyter)            |                  南开大学在读硕士                  |                            DataWhale成员                             |                  项目发起人                   | | |           [aJupyter](https://github.com/aJupyter)            |                  南开大学在读硕士                  |                        DataWhale成员                         |                  项目发起人                   | | ||||||
| |            [MING-ZCH](https://github.com/MING-ZCH)            |               华中科技大学在读本科生               |                       LLM x Psychology 研究者                        |                项目联合负责人                 | | |           [MING-ZCH](https://github.com/MING-ZCH)            |               华中科技大学在读本科生               |                   LLM x Psychology 研究者                    |                项目联合负责人                 | | ||||||
| |          [jujimeizuo](https://github.com/jujimeizuo)          |                  江南大学在读硕士                  |                                                                      |                                               | | |         [jujimeizuo](https://github.com/jujimeizuo)          |                  江南大学在读硕士                  |                                                              |                                               | | ||||||
| | [Smiling-Weeping-zhr](https://github.com/Smiling-Weeping-zhr) |          哈尔滨工业大学(威海)在读本科生          |                                                                      |                                               | | | [Smiling-Weeping-zhr](https://github.com/Smiling-Weeping-zhr) |          哈尔滨工业大学(威海)在读本科生          |                                                              |                                               | | ||||||
| |              [8baby8](https://github.com/8baby8)              |                 飞桨领航团区域主管                 |                         文心大模型核心开发者                         |                                               | | |             [8baby8](https://github.com/8baby8)              |                 飞桨领航团区域主管                 |                     文心大模型核心开发者                     |                                               | | ||||||
| |              [zxazys](https://github.com/zxazys)              |                  南开大学在读硕士                  |                                                                      |                                               | | |             [zxazys](https://github.com/zxazys)              |                  南开大学在读硕士                  |                                                              |                                               | | ||||||
| |    [JasonLLLLLLLLLLL](https://github.com/JasonLLLLLLLLLLL)    |                       swufe                        |                                                                      |                                               | | |   [JasonLLLLLLLLLLL](https://github.com/JasonLLLLLLLLLLL)    |                       swufe                        |                                                              |                                               | | ||||||
| |             [MrCatAI](https://github.com/MrCatAI)             |                      AI搬用工                      |                                                                      |                                               | | |            [MrCatAI](https://github.com/MrCatAI)             |                      AI搬用工                      |                                                              |                                               | | ||||||
| |              [ZeyuBa](https://github.com/ZeyuBa)              |                  自动化所在读硕士                  |                                                                      |                                               | | |             [ZeyuBa](https://github.com/ZeyuBa)              |                  自动化所在读硕士                  |                                                              |                                               | | ||||||
| |    [aiyinyuedejustin](https://github.com/aiyinyuedejustin)    |               宾夕法尼亚大学在读硕士               |                                                                      |                                               | | |   [aiyinyuedejustin](https://github.com/aiyinyuedejustin)    |               宾夕法尼亚大学在读硕士               |                                                              |                                               | | ||||||
| |           [Nobody-ML](https://github.com/Nobody-ML)           |           中国石油大学(华东)在读本科生           |                                                                      |                                               | | |          [Nobody-ML](https://github.com/Nobody-ML)           |           中国石油大学(华东)在读本科生           |                                                              |                                               | | ||||||
| |             [chg0901](https://github.com/chg0901)             | [MiniSora](https://github.com/mini-sora/minisora/) | [MiniSora](https://github.com/mini-sora/minisora/)主要维护者,管理员 | LLM预训练和微调、模型上传、数据清洗、文档翻译 | | |            [chg0901](https://github.com/chg0901)             | [MiniSora](https://github.com/mini-sora/minisora/) | [MiniSora](https://github.com/mini-sora/minisora/)主要维护者,管理员 | LLM预训练和微调、模型上传、数据清洗、文档翻译 | | ||||||
| |              [Mxoder](https://github.com/Mxoder)              |             北京航空航天大学在读本科生             |                                                                      |                                               | | |             [Mxoder](https://github.com/Mxoder)              |             北京航空航天大学在读本科生             |                                                              |                                               | | ||||||
| |            [Anooyman](https://github.com/Anooyman)            |                  南京理工大学硕士                  |                                                                      |                                               | | |           [Anooyman](https://github.com/Anooyman)            |                  南京理工大学硕士                  |                                                              |                                               | | ||||||
| |          [Vicky-3021](https://github.com/Vicky-3021)          |            西安电子科技大学硕士(研0)             |                                                                      |                                               | | |         [Vicky-3021](https://github.com/Vicky-3021)          |            西安电子科技大学硕士(研0)             |                                                              |                                               | | ||||||
| |         [SantiagoTOP](https://github.com/santiagoTOP)         |                太原理工大学在读硕士                |                                                                      |                                               | | |        [SantiagoTOP](https://github.com/santiagoTOP)         |                太原理工大学在读硕士                |                                                              |      数据清洗,文档管理、Baby EmoLLM维护      | | ||||||
| |         [zealot52099](https://github.com/zealot52099)         |                     个人开发者                     |                                                                      |            清洗数据、LLM微调、RAG             | | |        [zealot52099](https://github.com/zealot52099)         |                     个人开发者                     |                                                              |            清洗数据、LLM微调、RAG             | | ||||||
| |             [wwwyfff](https://github.com/wwwyfff)             |                  复旦大学在读硕士                  |                                                                      |                                               | | |            [wwwyfff](https://github.com/wwwyfff)             |                  复旦大学在读硕士                  |                                                              |                                               | | ||||||
| |            [Yicooong](https://github.com/Yicooong)            |                  南开大学在读硕士                  |                                                                      |                                               | | |           [Yicooong](https://github.com/Yicooong)            |                  南开大学在读硕士                  |                                                              |                                               | | ||||||
| |             [jkhumor](https://github.com/jkhumor)             |                  南开大学在读硕士                  |                                                                      |                      RAG                      | | |            [jkhumor](https://github.com/jkhumor)             |                  南开大学在读硕士                  |                                                              |                      RAG                      | | ||||||
| |        [lll997150986](https://github.com/lll997150986)        |                  南开大学在读硕士                  |                                                                      |                     微调                      | | |       [lll997150986](https://github.com/lll997150986)        |                  南开大学在读硕士                  |                                                              |                     微调                      | | ||||||
| |           [nln-maker](https://github.com/nln-maker)           |                  南开大学在读硕士                  |                                                                      |                  前后端开发                   | | |          [nln-maker](https://github.com/nln-maker)           |                  南开大学在读硕士                  |                                                              |                  前后端开发                   | | ||||||
| |          [dream00001](https://github.com/dream00001)          |                  南开大学在读硕士                  |                                                                      |                  前后端开发                   | | |         [dream00001](https://github.com/dream00001)          |                  南开大学在读硕士                  |                                                              |                  前后端开发                   | | ||||||
| |     [王几行XING](https://zhihu.com/people/brycewang1898)      |                  北京大学硕士毕业                  |                                                                      |         清洗数据、LLM微调、前后端开发         | | |     [王几行XING](https://zhihu.com/people/brycewang1898)     |                  北京大学硕士毕业                  |                                                              |         清洗数据、LLM微调、前后端开发         | | ||||||
| |                            [思在]                             |            北京大学硕士毕业(微软美国)            |                                                                      |              LLM微调、前后端开发              | | |                            [思在]                            |            北京大学硕士毕业(微软美国)            |                                                              |              LLM微调、前后端开发              | | ||||||
| 
 | 
 | ||||||
| ### 版权说明 | ### 版权说明 | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										52
									
								
								README_EN.md
									
									
									
									
									
								
							
							
						
						
									
										52
									
								
								README_EN.md
									
									
									
									
									
								
							| @ -253,32 +253,32 @@ This project uses Git for version control. You can see the currently available v | |||||||
| 
 | 
 | ||||||
| ### Authors (in no particular order) | ### Authors (in no particular order) | ||||||
| 
 | 
 | ||||||
| |                           Username                            |                         School/Organization                          |                                  Remarks                                  |                                     Contributions                                     | | |                           Username                           |                     School/Organization                      |                           Remarks                            |                        Contributions                         | | ||||||
| | :-----------------------------------------------------------: | :------------------------------------------------------------------: | :-----------------------------------------------------------------------: | :-----------------------------------------------------------------------------------: | | | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | | ||||||
| |            [aJupyter](https://github.com/aJupyter)            |                 Nankai University, Master's student                  |                             DataWhale member                              |                                   Project initiator                                   | | |           [aJupyter](https://github.com/aJupyter)            |             Nankai University, Master's student              |                       DataWhale member                       |                      Project initiator                       | | ||||||
| |            [MING-ZCH](https://github.com/MING-ZCH)            | Huazhong University of Science and Technology, Undergraduate student |                        LLM X Psychology researcher                        |                                   Project co-leader                                   | | |           [MING-ZCH](https://github.com/MING-ZCH)            | Huazhong University of Science and Technology, Undergraduate student |                 LLM X Psychology researcher                  |                      Project co-leader                       | | ||||||
| |          [jujimeizuo](https://github.com/jujimeizuo)          |                Jiangnan University, Master's student                 |                                                                           |                                                                                       | | |         [jujimeizuo](https://github.com/jujimeizuo)          |            Jiangnan University, Master's student             |                                                              |                                                              | | ||||||
| | [Smiling-Weeping-zhr](https://github.com/Smiling-Weeping-zhr) |    Harbin Institute of Technology (Weihai), Undergraduate student    |                                                                           |                                                                                       | | | [Smiling-Weeping-zhr](https://github.com/Smiling-Weeping-zhr) | Harbin Institute of Technology (Weihai), Undergraduate student |                                                              |                                                              | | ||||||
| |              [8baby8](https://github.com/8baby8)              |              PaddlePaddle Pilot Team Regional Director               |                     Wenxin Large Model core developer                     |                                                                                       | | |             [8baby8](https://github.com/8baby8)              |          PaddlePaddle Pilot Team Regional Director           |              Wenxin Large Model core developer               |                                                              | | ||||||
| |              [zxazys](https://github.com/zxazys)              |                 Nankai University, Master's student                  |                                                                           |                                                                                       | | |             [zxazys](https://github.com/zxazys)              |             Nankai University, Master's student              |                                                              |                                                              | | ||||||
| |    [JasonLLLLLLLLLLL](https://github.com/JasonLLLLLLLLLLL)    |       SWUFE (Southwestern University of Finance and Economics)       |                                                                           |                                                                                       | | |   [JasonLLLLLLLLLLL](https://github.com/JasonLLLLLLLLLLL)    |   SWUFE (Southwestern University of Finance and Economics)   |                                                              |                                                              | | ||||||
| |             [MrCatAI](https://github.com/MrCatAI)             |                               AI Mover                               |                                                                           |                                                                                       | | |            [MrCatAI](https://github.com/MrCatAI)             |                           AI Mover                           |                                                              |                                                              | | ||||||
| |              [ZeyuBa](https://github.com/ZeyuBa)              |              Institute of Automation, Master's student               |                                                                           |                                                                                       | | |             [ZeyuBa](https://github.com/ZeyuBa)              |          Institute of Automation, Master's student           |                                                              |                                                              | | ||||||
| |    [aiyinyuedejustin](https://github.com/aiyinyuedejustin)    |             University of Pennsylvania, Master's student             |                                                                           |                                                                                       | | |   [aiyinyuedejustin](https://github.com/aiyinyuedejustin)    |         University of Pennsylvania, Master's student         |                                                              |                                                              | | ||||||
| |           [Nobody-ML](https://github.com/Nobody-ML)           |  China University of Petroleum (East China), Undergraduate student   |                                                                           |                                                                                       | | |          [Nobody-ML](https://github.com/Nobody-ML)           | China University of Petroleum (East China), Undergraduate student |                                                              |                                                              | | ||||||
| |             [chg0901](https://github.com/chg0901)             |          [MiniSora](https://github.com/mini-sora/minisora)           | Maintainer and Admin of [MiniSora](https://github.com/mini-sora/minisora) | LLM Pre-Training and Fine-Tuning, Model Uploading, Data Cleaning and Docs Translation | | |            [chg0901](https://github.com/chg0901)             |      [MiniSora](https://github.com/mini-sora/minisora)       | Maintainer and Admin of [MiniSora](https://github.com/mini-sora/minisora) | LLM Pre-Training and Fine-Tuning, Model Uploading, Data Cleaning and Docs Translation | | ||||||
| |              [Mxoder](https://github.com/Mxoder)              |              Beihang University, Undergraduate student               |                                                                           |                                                                                       | | |             [Mxoder](https://github.com/Mxoder)              |          Beihang University, Undergraduate student           |                                                              |                                                              | | ||||||
| |            [Anooyman](https://github.com/Anooyman)            |    Nanjing University of Science and Technology, Master's student    |                                                                           |                                                                                       | | |           [Anooyman](https://github.com/Anooyman)            | Nanjing University of Science and Technology, Master's student |                                                              |                                                              | | ||||||
| |          [Vicky-3021](https://github.com/Vicky-3021)          |        Xidian University, Master's student (Research Year 0)         |                                                                           |                                                                                       | | |         [Vicky-3021](https://github.com/Vicky-3021)          |    Xidian University, Master's student (Research Year 0)     |                                                              |                                                              | | ||||||
| |         [SantiagoTOP](https://github.com/santiagoTOP)         |          Taiyuan University of Technology, Master's student          |                                                                           |                                                                                       | | |        [SantiagoTOP](https://github.com/santiagoTOP)         |      Taiyuan University of Technology, Master's student      |                                                              | Data cleansing, document management, Baby EmoLLM maintenance | | ||||||
| |         [zealot52099](https://github.com/zealot52099)         |                         Individual developer                         |                                                                           |                        Data Processing, LLM finetuning and RAG                        | | |        [zealot52099](https://github.com/zealot52099)         |                     Individual developer                     |                                                              |           Data Processing, LLM finetuning and RAG            | | ||||||
| |             [wwwyfff](https://github.com/wwwyfff)             |                  FuDan University, Master's student                  |                                                                           |                                                                                       | | |            [wwwyfff](https://github.com/wwwyfff)             |              FuDan University, Master's student              |                                                              |                                                              | | ||||||
| |             [jkhumor](https://github.com/jkhumor)             |                 Nankai University, Master's student                  |                                                                           |                                          RAG                                          | | |            [jkhumor](https://github.com/jkhumor)             |             Nankai University, Master's student              |                                                              |                             RAG                              | | ||||||
| |        [lll997150986](https://github.com/lll997150986)        |                 Nankai University, Master's student                  |                                                                           |                                      Fine Tuning                                      | | |       [lll997150986](https://github.com/lll997150986)        |             Nankai University, Master's student              |                                                              |                         Fine Tuning                          | | ||||||
| |           [nln-maker](https://github.com/nln-maker)           |                 Nankai University, Master's student                  |                                                                           |                          Front-end and back-end development                           | | |          [nln-maker](https://github.com/nln-maker)           |             Nankai University, Master's student              |                                                              |              Front-end and back-end development              | | ||||||
| |          [dream00001](https://github.com/dream00001)          |                 Nankai University, Master's student                  |                                                                           |                          Front-end and back-end development                           | | |         [dream00001](https://github.com/dream00001)          |             Nankai University, Master's student              |                                                              |              Front-end and back-end development              | | ||||||
| |         [王几行XING](zhihu.com/people/brycewang1898)          |                 Peking University, Master's graduate                 |                                                                           |          Data Processing, LLM finetuning, Front-end and back-end development          | | |         [王几行XING](zhihu.com/people/brycewang1898)         |             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                   | | |                            [思在]                            |       Peking University, Master's graduate (Microsoft)       |                                                              |      LLM finetuning, Front-end and back-end development      | | ||||||
| 
 | 
 | ||||||
| ### Copyright Notice | ### Copyright Notice | ||||||
| 
 | 
 | ||||||
|  | |||||||
										
											Binary file not shown.
										
									
								
							| @ -1,9 +1,9 @@ | |||||||
| import json | import json | ||||||
| 
 | 
 | ||||||
| # 打开JSON文件并读取其内容 | # 打开JSON文件并读取其内容 | ||||||
| # file_name = 'single_turn_dataset_1.json'  | file_name = 'single_turn_dataset_1.json' | ||||||
| file_name = 'single_turn_dataset_2.json'   | # file_name = 'single_turn_dataset_2.json' | ||||||
| with open(f'/root/StableCascade/emollm2/EmoLLM/datasets/{file_name}', 'rt', encoding='utf-8') as file: | with open(f'E:\LLM\EmoLLM\datasets\\{file_name}', 'rt', encoding='utf-8') as file: | ||||||
|     format1_data = json.load(file) |     format1_data = json.load(file) | ||||||
| 
 | 
 | ||||||
| system = "你是心理健康助手EmoLLM,由EmoLLM团队打造。你旨在通过专业心理咨询,协助来访者完成心理诊断。请充分利用专业心理学知识与咨询技术,一步步帮助来访者解决心理问题。" | system = "你是心理健康助手EmoLLM,由EmoLLM团队打造。你旨在通过专业心理咨询,协助来访者完成心理诊断。请充分利用专业心理学知识与咨询技术,一步步帮助来访者解决心理问题。" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 santiagoTOP
						santiagoTOP