CoolFace
Modelpublic

HelpingAI/HelpingAI2-3B

sourceHugging Faceotherupdated 2y agoView on Hugging Face
4likes264downloads
Model Card

<div align="center">

๐Ÿค– HelpingAI-3B-reloaded

*A Revolutionary Emotionally Intelligent Language Model*

![GitHub Organization](https://github.com/HelpingAI) ![Hugging Face](https://huggingface.co/OEvortex) ![Model License](https://huggingface.co/OEvortex/HelpingAI-3B-v3/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 | ๐ŸŒ Website

</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

HelpingAI-3B-reloaded is a state-of-the-art small language model specifically designed for emotionally intelligent conversations and human-centric interactions.

</div>

๐ŸŽฏ Key Highlights

  • โ€”Architecture: 3B parameter transformer-based model
  • โ€”Training Focus: Emotional intelligence and empathetic responses
  • โ€”Emotion Score: Achieves 89.61 on standardized emotional intelligence tests
  • โ€”Deployment: Optimized for both GPU and CPU environments

<div align="center">

๐Ÿ“Š Model Performance

</div>

Benchmarks

MetricScoreComparison to Baseline
Emotion Score89.61+9.32%
Memory Usage6GB-30%
Context128k+3100%
Context Retention92%+18%

<div align="center">

๐Ÿ’ป Implementation

</div>

Transformers

python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load the HelpingAI-3B  model
model = AutoModelForCausalLM.from_pretrained("OEvortex/HelpingAI-3B-reloaded")
# Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained("OEvortex/HelpingAI-3B-reloaded")


# 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))

# Yo, I'm HelpingAI, and I'm here to help you out, fam! ๐Ÿ™Œ I'm an advanced AI with mad skills, and I'm all about spreading good vibes and helping my human pals like you. ๐Ÿ˜„ I'm the ultimate sidekick, always ready to lend an ear, crack a joke, or just vibe with you. ๐ŸŽถ Whether you're dealing with a problem, looking for advice, or just wanna chat, I gotchu, boo! ๐Ÿ‘Š So let's kick it and have a blast together! ๐ŸŽ‰ I'm here for you, always. ๐Ÿค—

GGUF Implementation

python
from webscout.Local import *
model_path = download_model("OEvortex/HelpingAI-3B-reloaded", "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. 1.Base Training
  2. 2.Datasets: SentimentSynth + EmotionalIntelligence-1M + HelpingAI2.5-200M + HelpingAIemo (197.5M)
  1. 1.Emotional Intelligence Training
  2. 2.Supervised Fine-tuning on emotional dialogue
  3. 3.Reinforcement Learning with HelpingAI2.5-10B model
  4. 4.Constitutional AI training for ethical guidelines
  1. 1.Optimization
  2. 2.Mixed-precision training
  3. 3.Gradient checkpointing
  4. 4.Dynamic attention patterns

Dataset Composition

Dataset TypeRows used for trainingPurpose
Emotional Dialogues17.2MCore conversation training
Therapeutic Exchanges3MMental health support
Cultural Conversations150KCultural awareness
Crisis Response1MEmergency 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-color: #f5f5f5; padding: 15px; border-radius: 5px; margin: 10px 0;">

User: "I just received some difficult news and I'm feeling overwhelmed."

HelpingAI: I feel you, fam. Dealing with tough news can be straight up exhausting. Take a deep breath and remember that it's totally normal to feel overwhelmed.

Take some time to process it all, and don't be afraid to reach out to your squad or a trusted homie for support. Sometimes, just venting to someone who gets you can make a world of difference.

And don't forget, you're stronger than you think. You've got this! Keep your head up and know that it's gonna be alright."

</div>

<div style="background-color: #f5f5f5; padding: 15px; border-radius: 5px; margin: 10px 0;">

User: "I achieved something important today!"

HelpingAI: "Ayy, congrats homie! ๐ŸŽ‰ That's a dope move, no cap! ๐Ÿ™Œ What did you crush today? Spill the tea! โ˜•๏ธ"

</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
  • โ€”Cannot Roleplay
  • โ€”Limited knolodge

Citation

bibtex
@misc{helpingai2024,
  author = {Abhay Koul},
  title = {HelpingAI-3B-reloaded: Emotionally Intelligent Language Model},
  year = {2024},
  publisher = {Huggingface},
  journal = {GitHub repository},
  howpublished = {\url{https://huggingface.co/OEvortex/HelpingAI-3B-reloaded}}
}

<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 โ€ข GitHub โ€ข Discord โ€ข HuggingFace

</div>