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
											
										
									
								
							| @ -254,7 +254,7 @@ 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)          |                  江南大学在读硕士                  |                                                              |                                               | | ||||||
| @ -270,7 +270,7 @@ git clone https://github.com/SmartFlowAI/EmoLLM.git | |||||||
| |             [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)            |                  南开大学在读硕士                  |                                                              |                                               | | ||||||
|  | |||||||
| @ -254,7 +254,7 @@ 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             |                                                              |                                                              | | ||||||
| @ -270,7 +270,7 @@ This project uses Git for version control. You can see the currently available v | |||||||
| |             [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                              | | ||||||
|  | |||||||
										
											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