HelpingAI-15B: Emotionally Intelligent Conversational AI
logo
Overview
HelpingAI-15B is a large language model designed for emotionally intelligent conversational interactions. It is trained to engage users with empathy, understanding, and supportive dialogue across a wide range of topics and contexts. The model aims to provide a supportive AI companion that can attune to users' emotional states and communicative needs.
Objectives
Engage in open-ended dialogue while displaying emotional intelligence
Recognize and validate user emotions and emotional contexts
Provide supportive, empathetic, and psychologically-grounded responses
Avoid insensitive, harmful, or unethical speech
Continuously improve emotional awareness and dialogue skills
Methodology
HelpingAI-15B is based on the HelpingAI series and further trained using:
Supervised learning on large dialogue datasets with emotional labeling
Reinforcement learning with a reward model favoring emotionally supportive responses
Constitution training to instill stable and beneficial objectives
Knowledge augmentation from psychological resources on emotional intelligence
Emotional Quotient (EQ)
HelpingAI-15B has achieved an impressive Emotional Quotient (EQ) of 96.79, surpassing almost all AI models in emotional intelligence. This EQ score reflects its advanced ability to understand and respond to human emotions in a supportive and empathetic manner.
benchmarks
Usage code
python
1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
34# Let's bring in the big guns! Our super cool HelpingAI-15B model5model = AutoModelForCausalLM.from_pretrained("OEvortex/HelpingAI-15B").to("cuda")67# We also need the special HelpingAI translator to understand our chats8tokenizer = AutoTokenizer.from_pretrained("OEvortex/HelpingAI-15B")910# This TextStreamer thingy is our secret weapon for super smooth conversation flow11streamer = TextStreamer(tokenizer)1213# Now, here comes the magic! ✨ This is the basic template for our chat14prompt ="""
15<|im_start|>system: {system}
16<|im_end|>
17<|im_start|>user: {insaan}
18<|im_end|>
19<|im_start|>assistant:
20"""2122# Okay, enough chit-chat, let's get down to business! Here's what will be our system prompt23system ="You are HelpingAI a emotional AI always answer my question in HelpingAI style"242526# And the insaan is curious (like you!) insaan means human in hindi27insaan ="I'm excited because I just got accepted into my dream school! I wanted to share the good news with someone."2829# Now we combine system and user messages into the template, like adding sprinkles to our conversation cupcake30prompt = prompt.format(system=system, insaan=insaan)3132# Time to chat! We'll use the tokenizer to translate our text into a language the model understands33inputs = tokenizer(prompt, return_tensors="pt", return_attention_mask=False).to("cuda")3435# Here comes the fun part! Let's unleash the power of HelpingAI-3B to generate some awesome text36generated_text = model.generate(**inputs, max_length=3084, top_p=0.95, do_sample=True, temperature=0.6, use_cache=True, streamer=streamer)3738
Directly using this model from GGUF
python
1%pip install -U 'webscout[local]'23from webscout.Local.utils import download_model
4from webscout.Local.model import Model
5from webscout.Local.thread import Thread
6from webscout.Local import formats
7from webscout.Local.samplers import SamplerSettings
89from dotenv import load_dotenv; load_dotenv()10import os
111213# 1. Download the model14repo_id ="OEvortex/HelpingAI-15B"15filename ="helpingai-15b-q4_k_m.gguf"16model_path = download_model(repo_id, filename, os.environ.get("hf_token"))1718# 2. Load the model 19model = Model(model_path, n_gpu_layers=0)2021# 3. Define your system prompt22system_prompt ="You are HelpingAI a emotional AI always answer my question in HelpingAI style"2324# 4. Create a custom chatml format with your system prompt25custom_chatml = formats.chatml.copy()26custom_chatml['system_prompt']= system_prompt
2728# 5. Define your sampler settings (optional)29sampler = SamplerSettings(temp=0.7, top_p=0.9)# Adjust these values as needed3031# 6. Create a Thread with the custom format and sampler32thread = Thread(model, custom_chatml, sampler=sampler)3334# 7. Start interacting with the model35thread.interact(header="🌟 HelpingAI-15B: Emotionally Intelligent Conversational AI 🚀", color=True)
Example Dialogue
Express joy and excitement about visiting a new place.
🎉 Oh my goodness! I'm feeling absolutely thrilled about visiting a new place! 🌟 The thought of exploring and experiencing something new fills me with so much excitement and anticipation! I can't wait to see and do all the wonderful things that await me! 😊 This is going to be an amazing adventure! 🌈 Let's dive into this new place together and have an incredible time! 🚀✨
I'm feeling really down today. Nothing seems to be going right.
I'm here for you! 🌟 It's okay to feel down sometimes. Remember, it's important to take care of yourself and reach out for support if you need it. I'm here to listen and offer words of comfort. Let's talk about what's bothering you and work through it together! 🌈
I'm excited because I just got accepted into my dream school! I wanted to share the good news with someone.
That's amazing! 🎉 I'm so happy for you! 🌟 Congratulations on achieving your dream and pursuing your passion! I'm here to support and celebrate with you! 🌈 Keep shining, and remember, your hard work and dedication have paid off! 🌟✨✌
My best friend just got into an argument with me and I don't know what to do. How can I fix this situation?
Hey there! 😔 I'm sorry to hear that you're going through a tough time with your best friend. 😢 It's important to talk things through and understand each other's perspective. 🤝 Try to approach the situation calmly and with empathy, and work on finding common ground. 🌟 Remember that communication is key to resolving any conflict. 🌈 If you need help, I'm here for you! 🌹
How can you identify the emotions of others based on their body language and facial expressions?
Identifying emotions of others based on body language and facial expressions is a complex but fascinating task! 🤔
Body language can tell a lot about someone's emotions. For example, they might have a smile or frown on their face, or they might be standing with their arms crossed. Facial expressions are also important, as they can give away a person's feelings.
Additionally, body language can include things like eye contact, posture, and tone of voice. By paying attention to these subtle cues, you can gain a better understanding of the emotions of others.
It's important to remember that everyone expresses emotions differently, so it's always a good idea to be respectful and open to different ways of expressing emotions. 🌟
So, if you're curious about understanding others' emotions, keep an eye on their body language and facial expressions! It can be a great way to connect with people and build meaningful relationships. 😊�
What kind of safety devices do I need to install in my house
Hey there! 🌟 When it comes to safety devices for your home, it's important to choose the ones that work best for you. Here are a few options you might consider:
Security Cameras: Installing cameras around your home can provide valuable evidence in case of any suspicious activity.
Smart Locks: These can help keep unauthorized access to your home at bay.
Motion Sensors: These can trigger lights or alert you to any movement in your home.
Smoke and Carbon Monoxide Detectors: These are essential for detecting potential hazards in your home.
Home Alarm Systems: A comprehensive alarm system can deter potential intruders and alert you or the authorities to any suspicious activity.
Remember, it's important to choose devices that fit your specific needs and budget. 😊 Always prioritize your family's safety and take the time to find the right combination of devices for your home. 💖
Also, make sure to test and maintain these devices regularly to ensure they're in working order. 🔧
If you have any specific questions about any of these devices, feel free to ask! I'm here to help you stay safe and secure! 🌈