|
--- |
|
license: other |
|
license_name: helpingai |
|
license_link: https://huggingface.co/OEvortex/HelpingAI2.5-5B/blob/main/LICENSE.md |
|
pipeline_tag: text-generation |
|
language: |
|
- en |
|
tags: |
|
- HelpingAI |
|
- Emotionally-Intelligent |
|
- EQ-focused |
|
- Conversational |
|
- SLM |
|
library_name: transformers |
|
--- |
|
|
|
<div align="center"> |
|
|
|
# π€ HelpingAI2.5-10B |
|
|
|
***A Revolutionary Emotionally Intelligent Language Model*** |
|
|
|
[![GitHub Organization](https://img.shields.io/badge/GitHub-Organization-blue.svg)](https://github.com/HelpingAI) |
|
[![Hugging Face](https://img.shields.io/badge/π€%20Hugging%20Face-Organization-yellow)](https://huggingface.co/OEvortex) |
|
[![Model License](https://img.shields.io/badge/License-HelpingAI-green.svg)](https://huggingface.co/OEvortex/HelpingAI2.5-10B/blob/main/LICENSE.md) |
|
|
|
|
|
<a href="https://github.com/HelpingAI/community/discussions"> |
|
<img src="https://img.shields.io/badge/Join-Community%20Discussion-blue?style=for-the-badge&logo=github" alt="Join Community Discussion"> |
|
</a> |
|
|
|
[π License](LICENSE) | [π Website](https://helpingai-in.netlify.app/) |
|
|
|
</div> |
|
|
|
<div align="center"> |
|
<img src="https://huggingface.co/OEvortex/HelpingAI-3B/resolve/main/HelpingAI.png" alt="HelpingAI Logo" width="300px"> |
|
</div> |
|
|
|
--- |
|
|
|
<div align="center"> |
|
|
|
## π Model Overview |
|
|
|
**HelpingAI2.5-10B** is a compact yet powerful language model specifically designed for emotionally intelligent conversations and human-centric interactions. |
|
|
|
</div> |
|
|
|
### π― Key Highlights |
|
|
|
- **Architecture**: 10B parameter transformer-based model |
|
- **Training Focus**: Emotional intelligence and empathetic responses |
|
- **Emotion Score**: Achieves 98.13 on standardized emotional intelligence tests |
|
- **Deployment**: Optimized for efficient deployment on consumer hardware |
|
|
|
|
|
--- |
|
|
|
<div align="center"> |
|
|
|
## π» Implementation |
|
|
|
</div> |
|
|
|
### Transformers |
|
|
|
```python |
|
import torch |
|
from transformers import AutoModelForCausalLM, AutoTokenizer |
|
|
|
# Load the HelpingAI2.5-10B model |
|
model = AutoModelForCausalLM.from_pretrained("OEvortex/HelpingAI2.5-10B") |
|
# Load the tokenizer |
|
tokenizer = AutoTokenizer.from_pretrained("OEvortex/HelpingAI2.5-10B") |
|
|
|
# Define the chat input |
|
chat = [ |
|
{ "role": "system", "content": "You are HelpingAI, an emotional AI. Always answer my questions in the HelpingAI style." }, |
|
{ "role": "user", "content": "GIVE ME YOUR INTRO" } |
|
] |
|
|
|
inputs = tokenizer.apply_chat_template( |
|
chat, |
|
add_generation_prompt=True, |
|
return_tensors="pt" |
|
).to(model.device) |
|
|
|
# Generate text |
|
outputs = model.generate( |
|
inputs, |
|
max_new_tokens=256, |
|
do_sample=True, |
|
temperature=0.6, |
|
top_p=0.9, |
|
) |
|
|
|
response = outputs[0][inputs.shape[-1]:] |
|
print(tokenizer.decode(response, skip_special_tokens=True)) |
|
``` |
|
|
|
### GGUF Implementation |
|
|
|
```python |
|
from webscout.Local import * |
|
model_path = download_model("OEvortex/HelpingAI2.5-10B", "q4_k_m.gguf", token=None) |
|
model = Model(model_path, n_gpu_layers=0, context_length=4096) |
|
|
|
thread = Thread(model, format=helpingai2) |
|
# print(thread.send("hi")) #send a single msg to ai |
|
|
|
thread.interact() # interact with the model in terminal |
|
``` |
|
|
|
--- |
|
|
|
<div align="center"> |
|
|
|
## π― Training Details |
|
|
|
</div> |
|
|
|
### Methodology |
|
|
|
1. **Base Training** |
|
- Datasets: SentimentSynth + EmotionalIntelligence-1M + HelpingAI2.0-150M + HelpingAIemo (152.5M) |
|
|
|
2. **Emotional Intelligence Training** |
|
- Supervised Fine-tuning on emotional dialogue |
|
- Reinforcement Learning with HelpingAI2.0-7B model |
|
- Constitutional AI training for ethical guidelines |
|
|
|
3. **Optimization** |
|
- Mixed-precision training |
|
- Gradient checkpointing |
|
- Dynamic attention patterns |
|
|
|
### Dataset Composition |
|
|
|
| Dataset Type | Rows used for training | Purpose | |
|
|--------------|------|---------| |
|
| Emotional Dialogues | 12.5M | Core conversation training | |
|
| Therapeutic Exchanges | 2M | Mental health support | |
|
| Cultural Conversations | 100K | Cultural awareness | |
|
| Crisis Response | 750K | Emergency support handling | |
|
|
|
--- |
|
|
|
<div align="center"> |
|
|
|
## π Use Cases & Examples |
|
|
|
</div> |
|
|
|
### Primary Applications |
|
|
|
- π― Personal AI Companionship |
|
- π§ Mental Health Support |
|
- π Educational Assistance |
|
- πΌ Professional Development |
|
- π€ Social Skills Training |
|
|
|
### Example Interactions |
|
<div style="background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%); padding: 20px; border-radius: 15px; margin: 15px 0; border: 2px solid #000080;"> |
|
|
|
<div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px; margin-bottom: 10px;"> |
|
<span style="color: #D32F2F; font-weight: bold;">User: </span> |
|
<span style="color: #D32F2F;">I've been feeling really anxious about my upcoming job interview. Any advice?</span> |
|
</div> |
|
|
|
<div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px;"> |
|
<span style="color: #1B5E20; font-weight: bold;">HelpingAI: </span> |
|
<span style="color: #1B5E20;"> |
|
Hey there! π First off, take a deep breath and don't sweat it too much. π¨ Job interviews can be nerve-wracking, but I gotchu! π |
|
|
|
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. ππ‘ |
|
|
|
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! π |
|
|
|
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! π |
|
|
|
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. π₯ |
|
|
|
You're gonna crush this interview, fam! πͺ Remember, I got faith in you. π</span> |
|
</div> |
|
|
|
</div> |
|
|
|
<div style="background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%); padding: 20px; border-radius: 15px; margin: 15px 0; border: 2px solid #000080;"> |
|
|
|
<div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px; margin-bottom: 10px;"> |
|
<span style="color: #D32F2F; font-weight: bold;">User: </span> |
|
<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> |
|
</div> |
|
|
|
<div style="background-color: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 10px;"> |
|
<span style="color: #1B5E20; font-weight: bold;">HelpingAI: </span> |
|
<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. π€ |
|
|
|
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. |
|
|
|
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. |
|
|
|
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. π₯ |
|
|
|
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> |
|
</div> |
|
|
|
</div> |
|
|
|
------ |
|
|
|
<div align="center"> |
|
|
|
## π Ethical Considerations & Limitations |
|
|
|
</div> |
|
|
|
### Ethical Guidelines |
|
|
|
- Prioritizes user emotional wellbeing |
|
- Maintains strict privacy standards |
|
- Avoids harmful or discriminatory responses |
|
- Transparent about AI limitations |
|
- Promotes healthy coping mechanisms |
|
|
|
### Known Limitations |
|
|
|
- Cannot Replace Human Professionals |
|
- Cannot Roleplay |
|
- Limited Knowledge Base |
|
- Context Window Constraints |
|
|
|
--- |
|
|
|
### Citation |
|
|
|
```bibtex |
|
@misc{helpingai2024, |
|
author = {Abhay Koul}, |
|
title = {HelpingAI2.5-10B: Emotionally Intelligent Language Model}, |
|
year = {2024}, |
|
publisher = {Huggingface}, |
|
journal = {GitHub repository}, |
|
howpublished = {\url{https://huggingface.co/OEvortex/HelpingAI2.5-10B}} |
|
} |
|
``` |
|
|
|
--- |
|
|
|
<div align="center"> |
|
|
|
## π Acknowledgments |
|
|
|
Special thanks to the HelpingAI community, Huggingface, contributors, and researchers who made this model possible. Your dedication to advancing emotionally intelligent AI is invaluable. |
|
|
|
</div> |
|
|
|
--- |
|
|
|
<div align="center"> |
|
|
|
*Built with β€οΈ by the HelpingAI Community* |
|
|
|
[Website](https://helpingai-in.netlify.app/) β’ [GitHub](https://github.com/HelpingAI) β’ [Discord](https://discord.gg/YweJwNqrnH) β’ [HuggingFace](https://huggingface.co/OEvortex) |
|
|
|
</div> |