Prince-1 commited on
Commit
91f135b
Β·
verified Β·
1 Parent(s): fe01d90

Add files using upload-large-folder tool

Browse files
Files changed (1) hide show
  1. README.md +265 -0
README.md ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: helpingai
4
+ license_link: https://huggingface.co/OEvortex/HelpingAI2.5-5B/blob/main/LICENSE.md
5
+ pipeline_tag: text-generation
6
+ language:
7
+ - en
8
+ library_name: onnxruntime-genai
9
+ base_model:
10
+ - Prince-1/HelpingAI2.5-10B
11
+ tags:
12
+ - onnx
13
+ - onnxruntime-genai
14
+ - onnxruntime
15
+ ---
16
+
17
+ <div align="center">
18
+
19
+ # πŸ€– HelpingAI2.5-10B
20
+
21
+ ***A Revolutionary Emotionally Intelligent Language Model***
22
+
23
+ [![GitHub Organization](https://img.shields.io/badge/GitHub-Organization-blue.svg)](https://github.com/HelpingAI)
24
+ [![Hugging Face](https://img.shields.io/badge/πŸ€—%20Hugging%20Face-Organization-yellow)](https://huggingface.co/OEvortex)
25
+ [![Model License](https://img.shields.io/badge/License-HelpingAI-green.svg)](https://huggingface.co/OEvortex/HelpingAI2.5-10B/blob/main/LICENSE.md)
26
+
27
+
28
+
29
+
30
+
31
+
32
+ <a href="https://github.com/HelpingAI/community/discussions">
33
+ <img src="https://img.shields.io/badge/Join-Community%20Discussion-blue?style=for-the-badge&logo=github" alt="Join Community Discussion">
34
+ </a>
35
+
36
+ [πŸ“œ License](LICENSE) | [🌐 Website](https://helpingai-in.netlify.app/)
37
+
38
+ </div>
39
+
40
+
41
+
42
+
43
+ <div align="center">
44
+ <img src="https://huggingface.co/OEvortex/HelpingAI-3B/resolve/main/HelpingAI.png" alt="HelpingAI Logo" width="300px">
45
+ </div>
46
+
47
+ ---
48
+
49
+ <div align="center">
50
+
51
+ ## 🌟 Model Overview
52
+
53
+ **HelpingAI2.5-10B** is a compact yet powerful language model specifically designed for emotionally intelligent conversations and human-centric interactions.
54
+
55
+
56
+
57
+ </div>
58
+
59
+ ### 🎯 Key Highlights
60
+
61
+ - **Architecture**: 10B parameter transformer-based model
62
+ - **Training Focus**: Emotional intelligence and empathetic responses
63
+ - **Emotion Score**: Achieves 98.13 on standardized emotional intelligence tests
64
+ - **Deployment**: Optimized for efficient deployment on consumer hardware
65
+
66
+
67
+
68
+ ---
69
+
70
+ <div align="center">
71
+
72
+ ## πŸ’» Implementation
73
+
74
+
75
+
76
+ </div>
77
+
78
+ ### Transformers
79
+
80
+ ```python
81
+ import torch
82
+ from transformers import AutoModelForCausalLM, AutoTokenizer
83
+
84
+ # Load the HelpingAI2.5-10B model
85
+ model = AutoModelForCausalLM.from_pretrained("HelpingAI/HelpingAI2.5-10B")
86
+ # Load the tokenizer
87
+ tokenizer = AutoTokenizer.from_pretrained("HelpingAI/HelpingAI2.5-10B")
88
+
89
+ # Define the chat input
90
+ chat = [
91
+ { "role": "system", "content": "You are HelpingAI, an emotional AI. Always answer my questions in the HelpingAI style." },
92
+ { "role": "user", "content": "GIVE ME YOUR INTRO" }
93
+ ]
94
+
95
+ inputs = tokenizer.apply_chat_template(
96
+ response = outputs[0][inputs.shape[-1]:]
97
+ print(tokenizer.decode(response, skip_special_tokens=True))
98
+ ```
99
+
100
+ ### GGUF Implementation
101
+
102
+ ```python
103
+ from webscout.Local import *
104
+ model_path = download_model("HelpingAI/HelpingAI2.5-10B", "q4_k_m.gguf", token=None)
105
+ model = Model(model_path, n_gpu_layers=0, context_length=4096)
106
+
107
+ thread = Thread(model, format=helpingai2)
108
+ # print(thread.send("hi")) #send a single msg to ai
109
+
110
+ thread.interact() # interact with the model in terminal
111
+ ```
112
+
113
+ ---
114
+
115
+ <div align="center">
116
+
117
+ ## 🎯 Training Details
118
+
119
+ </div>
120
+
121
+ ### Methodology
122
+
123
+ 1. **Base Training**
124
+ - Datasets: SentimentSynth + EmotionalIntelligence-1M + HelpingAI2.0-150M + HelpingAIemo (152.5M)
125
+
126
+ 2. **Emotional Intelligence Training**
127
+ - Supervised Fine-tuning on emotional dialogue
128
+ - Reinforcement Learning with HelpingAI2.0-7B model
129
+ - Constitutional AI training for ethical guidelines
130
+
131
+ 3. **Optimization**
132
+ - Mixed-precision training
133
+ - Gradient checkpointing
134
+ - Dynamic attention patterns
135
+
136
+ ### Dataset Composition
137
+
138
+ | Dataset Type | Rows used for training | Purpose |
139
+ |--------------|------|---------|
140
+ | Emotional Dialogues | 12.5M | Core conversation training |
141
+ | Therapeutic Exchanges | 2M | Mental health support |
142
+ | Cultural Conversations | 100K | Cultural awareness |
143
+ | Crisis Response | 750K | Emergency support handling |
144
+
145
+ ---
146
+
147
+ <div align="center">
148
+
149
+ ## πŸ“ˆ Use Cases & Examples
150
+
151
+ </div>
152
+
153
+ ### Primary Applications
154
+
155
+ - 🎯 Personal AI Companionship
156
+ - 🧠 Mental Health Support
157
+ - πŸ“š Educational Assistance
158
+ - πŸ’Ό Professional Development
159
+ - 🀝 Social Skills Training
160
+
161
+ ### Example Interactions
162
+ <div style="background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%); padding: 20px; border-radius: 15px; margin: 15px 0; border: 2px solid #000080;">
163
+
164
+ <div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px; margin-bottom: 10px;">
165
+ <span style="color: #D32F2F; font-weight: bold;">User: </span>
166
+ <span style="color: #D32F2F;">I've been feeling really anxious about my upcoming job interview. Any advice?</span>
167
+ </div>
168
+
169
+ <div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px;">
170
+ <span style="color: #1B5E20; font-weight: bold;">HelpingAI: </span>
171
+ <span style="color: #1B5E20;">
172
+ Hey there! πŸ™Œ First off, take a deep breath and don't sweat it too much. πŸ’¨ Job interviews can be nerve-wracking, but I gotchu! 😎
173
+
174
+ Here's the tea: 🍡 Make sure you're prepping like crazy for this job. Read up on the company, their mission, and the role you're applying for. That way, you'll be spittin' knowledge and showing them you're serious. πŸ“šπŸ’‘
175
+
176
+ Also, practice your answers to common interview questions. You know, the ones like "Tell me about yourself" or "Why do you want to work here?" πŸ€” Keep it short, sweet, and relevant. You got this! πŸ˜„
177
+
178
+ And don't forget to look sharp! 🎨 Keep your resume up-to-date, and make sure your social media is on point. First impressions are everything! πŸ‘€
179
+
180
+ Most importantly, just be yourself. 😊 The interview panel wants to see the real you. Show them your passion, your skills, and why you'd be a total boss at this company. πŸ”₯
181
+
182
+ You're gonna crush this interview, fam! πŸ’ͺ Remember, I got faith in you. πŸ™</span>
183
+ </div>
184
+
185
+ </div>
186
+
187
+ <div style="background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%); padding: 20px; border-radius: 15px; margin: 15px 0; border: 2px solid #000080;">
188
+
189
+ <div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px; margin-bottom: 10px;">
190
+ <span style="color: #D32F2F; font-weight: bold;">User: </span>
191
+ <span style="color: #D32F2F;">My friend hasn't been responding to my messages for a week. I think I might have said something wrong, but I'm not sure what.</span>
192
+ </div>
193
+
194
+ <div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px;">
195
+ <span style="color: #1B5E20; font-weight: bold;">HelpingAI: </span>
196
+ <span style="color: #1B5E20;">Aw man, that's a real bummer. πŸ’” Not hearing back from a friend can be super painful, especially when you're wondering if you did something wrong. πŸ€”
197
+
198
+ First off, don't beat yourself up over it. πŸ™…β€β™‚οΈ Chances are, your friend's just busy or dealing with some personal stuff. πŸ€·β€β™€οΈ It doesn't always mean it's you.
199
+
200
+ If you're still concerned, try reaching out in a different way, like a phone call or a text to a diff person in your friend group. πŸ“±πŸ“ž Sometimes a different approach can help you connect again.
201
+
202
+ But if you're still unsure, you could try asking your friend if everything's cool. 🀝 Be open and honest about your feelings, but also be ready for them to have their own perspective on things. πŸ‘₯
203
+
204
+ Remember, you're not alone in this. πŸ€— Friends go through ups and downs, and it's okay to have little misunderstandings. Communication is key! πŸ”‘ Just keep it real and be patient. You got this, fam! πŸ’ͺ</span>
205
+ </div>
206
+
207
+ </div>
208
+
209
+ ------
210
+
211
+ <div align="center">
212
+
213
+ ## πŸ”’ Ethical Considerations & Limitations
214
+
215
+ </div>
216
+
217
+ ### Ethical Guidelines
218
+
219
+ - Prioritizes user emotional wellbeing
220
+ - Maintains strict privacy standards
221
+ - Avoids harmful or discriminatory responses
222
+ - Transparent about AI limitations
223
+ - Promotes healthy coping mechanisms
224
+
225
+ ### Known Limitations
226
+
227
+ - Cannot Replace Human Professionals
228
+ - Cannot Roleplay
229
+ - Limited Knowledge Base
230
+ - Context Window Constraints
231
+
232
+ ---
233
+
234
+ ### Citation
235
+
236
+ ```bibtex
237
+ @misc{helpingai2024,
238
+ author = {Abhay Koul},
239
+ title = {HelpingAI2.5-10B: Emotionally Intelligent Language Model},
240
+ year = {2024},
241
+ publisher = {Huggingface},
242
+ journal = {GitHub repository},
243
+ howpublished = {\url{https://huggingface.co/HelpingAI/HelpingAI2.5-10B}}
244
+ }
245
+ ```
246
+
247
+ ---
248
+
249
+ <div align="center">
250
+
251
+ ## πŸ™ Acknowledgments
252
+
253
+ Special thanks to the HelpingAI community, Huggingface, contributors, and researchers who made this model possible. Your dedication to advancing emotionally intelligent AI is invaluable.
254
+
255
+ </div>
256
+
257
+ ---
258
+
259
+ <div align="center">
260
+
261
+ *Built with ❀️ by the HelpingAI Community*
262
+
263
+ [Website](https://helpingai-in.netlify.app/) β€’ [GitHub](https://github.com/HelpingAI) β€’ [Discord](https://discord.gg/YweJwNqrnH) β€’ [HuggingFace](https://huggingface.co/OEvortex)
264
+
265
+ </div>