HelpingAI/HelpingAI-15B
13135
1---2license: other3tags:4- HelpingAI5- Emotionally Intelligent6- EQ7datasets:8- OEvortex/SentimentSynth9- OEvortex/EmotionalIntelligence-75k10- Abhaykoul/Emotion11license_name: helpingai12license_link: LICENSE.md13pipeline_tag: text-generation14model-index:15- name: HelpingAI-15B16 results:17 - task:18 type: text-generation19 name: Text Generation20 dataset:21 name: IFEval (0-Shot)22 type: HuggingFaceH4/ifeval23 args:24 num_few_shot: 025 metrics:26 - type: inst_level_strict_acc and prompt_level_strict_acc27 value: 20.328 name: strict accuracy29 source:30 url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=OEvortex/HelpingAI-15B31 name: Open LLM Leaderboard32 - task:33 type: text-generation34 name: Text Generation35 dataset:36 name: BBH (3-Shot)37 type: BBH38 args:39 num_few_shot: 340 metrics:41 - type: acc_norm42 value: 1.8243 name: normalized accuracy44 source:45 url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=OEvortex/HelpingAI-15B46 name: Open LLM Leaderboard47 - task:48 type: text-generation49 name: Text Generation50 dataset:51 name: MATH Lvl 5 (4-Shot)52 type: hendrycks/competition_math53 args:54 num_few_shot: 455 metrics:56 - type: exact_match57 value: 0.058 name: exact match59 source:60 url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=OEvortex/HelpingAI-15B61 name: Open LLM Leaderboard62 - task:63 type: text-generation64 name: Text Generation65 dataset:66 name: GPQA (0-shot)67 type: Idavidrein/gpqa68 args:69 num_few_shot: 070 metrics:71 - type: acc_norm72 value: 1.0173 name: acc_norm74 source:75 url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=OEvortex/HelpingAI-15B76 name: Open LLM Leaderboard77 - task:78 type: text-generation79 name: Text Generation80 dataset:81 name: MuSR (0-shot)82 type: TAUR-Lab/MuSR83 args:84 num_few_shot: 085 metrics:86 - type: acc_norm87 value: 2.7388 name: acc_norm89 source:90 url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=OEvortex/HelpingAI-15B91 name: Open LLM Leaderboard92 - task:93 type: text-generation94 name: Text Generation95 dataset:96 name: MMLU-PRO (5-shot)97 type: TIGER-Lab/MMLU-Pro98 config: main99 split: test100 args:101 num_few_shot: 5102 metrics:103 - type: acc104 value: 1.24105 name: accuracy106 source:107 url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=OEvortex/HelpingAI-15B108 name: Open LLM Leaderboard109---110 111# HelpingAI-15B: Emotionally Intelligent Conversational AI112 113114 115## Overview116HelpingAI-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.117 118## Objectives119- Engage in open-ended dialogue while displaying emotional intelligence 120- Recognize and validate user emotions and emotional contexts121- Provide supportive, empathetic, and psychologically-grounded responses122- Avoid insensitive, harmful, or unethical speech 123- Continuously improve emotional awareness and dialogue skills124 125## Methodology126HelpingAI-15B is based on the HelpingAI series and further trained using:127- Supervised learning on large dialogue datasets with emotional labeling 128- Reinforcement learning with a reward model favoring emotionally supportive responses129- Constitution training to instill stable and beneficial objectives130- Knowledge augmentation from psychological resources on emotional intelligence131 132## Emotional Quotient (EQ)133HelpingAI-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.134 135136 137## Usage code138```python139import torch140from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer141 142# Let's bring in the big guns! Our super cool HelpingAI-15B model143model = AutoModelForCausalLM.from_pretrained("OEvortex/HelpingAI-15B").to("cuda")144 145# We also need the special HelpingAI translator to understand our chats146tokenizer = AutoTokenizer.from_pretrained("OEvortex/HelpingAI-15B")147 148# This TextStreamer thingy is our secret weapon for super smooth conversation flow149streamer = TextStreamer(tokenizer)150 151# Now, here comes the magic! ✨ This is the basic template for our chat152prompt = """153<|im_start|>system: {system}154<|im_end|>155<|im_start|>user: {insaan}156<|im_end|>157<|im_start|>assistant:158"""159 160# Okay, enough chit-chat, let's get down to business! Here's what will be our system prompt161system = "You are HelpingAI a emotional AI always answer my question in HelpingAI style"162 163 164# And the insaan is curious (like you!) insaan means human in hindi165insaan = "I'm excited because I just got accepted into my dream school! I wanted to share the good news with someone."166 167# Now we combine system and user messages into the template, like adding sprinkles to our conversation cupcake168prompt = prompt.format(system=system, insaan=insaan)169 170# Time to chat! We'll use the tokenizer to translate our text into a language the model understands171inputs = tokenizer(prompt, return_tensors="pt", return_attention_mask=False).to("cuda")172 173# Here comes the fun part! Let's unleash the power of HelpingAI-3B to generate some awesome text174generated_text = model.generate(**inputs, max_length=3084, top_p=0.95, do_sample=True, temperature=0.6, use_cache=True, streamer=streamer)175 176 177```178*Directly using this model from GGUF*179 180```python181%pip install -U 'webscout[local]'182 183from webscout.Local.utils import download_model184from webscout.Local.model import Model185from webscout.Local.thread import Thread186from webscout.Local import formats187from webscout.Local.samplers import SamplerSettings188 189from dotenv import load_dotenv; load_dotenv()190import os191 192 193# 1. Download the model194repo_id = "OEvortex/HelpingAI-15B" 195filename = "helpingai-15b-q4_k_m.gguf"196model_path = download_model(repo_id, filename, os.environ.get("hf_token"))197 198# 2. Load the model 199model = Model(model_path, n_gpu_layers=0) 200 201# 3. Define your system prompt202system_prompt = "You are HelpingAI a emotional AI always answer my question in HelpingAI style"203 204# 4. Create a custom chatml format with your system prompt205custom_chatml = formats.chatml.copy()206custom_chatml['system_prompt'] = system_prompt207 208# 5. Define your sampler settings (optional)209sampler = SamplerSettings(temp=0.7, top_p=0.9) # Adjust these values as needed210 211# 6. Create a Thread with the custom format and sampler212thread = Thread(model, custom_chatml, sampler=sampler)213 214# 7. Start interacting with the model215thread.interact(header="🌟 HelpingAI-15B: Emotionally Intelligent Conversational AI 🚀", color=True)216```217## Example Dialogue218 > Express joy and excitement about visiting a new place.219 220🎉 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! 🚀✨221 222 > I'm feeling really down today. Nothing seems to be going right.223 224I'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! 🌈225 226 > I'm excited because I just got accepted into my dream school! I wanted to share the good news with someone.227 228That'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! 🌟✨✌229 230 > My best friend just got into an argument with me and I don't know what to do. How can I fix this situation?231 232Hey 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! 🌹233 234 > How can you identify the emotions of others based on their body language and facial expressions?235 236Identifying emotions of others based on body language and facial expressions is a complex but fascinating task! 🤔237 238Body 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.239 240Additionally, 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.241 242It'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. 🌟243 244So, 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. 😊�245 246 > What kind of safety devices do I need to install in my house247 248Hey 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:249 2501. Security Cameras: Installing cameras around your home can provide valuable evidence in case of any suspicious activity.251 2522. Smart Locks: These can help keep unauthorized access to your home at bay.253 2543. Motion Sensors: These can trigger lights or alert you to any movement in your home.255 2564. Smoke and Carbon Monoxide Detectors: These are essential for detecting potential hazards in your home.257 2585. Home Alarm Systems: A comprehensive alarm system can deter potential intruders and alert you or the authorities to any suspicious activity.259 260Remember, 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. 💖261 262Also, make sure to test and maintain these devices regularly to ensure they're in working order. 🔧263 264If you have any specific questions about any of these devices, feel free to ask! I'm here to help you stay safe and secure! 🌈265# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)266Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_OEvortex__HelpingAI-15B)267 268| Metric |Value|269|-------------------|----:|270|Avg. | 4.52|271|IFEval (0-Shot) |20.30|272|BBH (3-Shot) | 1.82|273|MATH Lvl 5 (4-Shot)| 0.00|274|GPQA (0-shot) | 1.01|275|MuSR (0-shot) | 2.73|276|MMLU-PRO (5-shot) | 1.24|277 278 