Text Generation
Transformers
Safetensors
GGUF
English
llama
HelpingAI
Emotionally-Intelligent
EQ-focused
Conversational
SLM
conversational
text-generation-inference
Instructions to use HelpingAI/HelpingAI2.5-5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HelpingAI/HelpingAI2.5-5B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HelpingAI/HelpingAI2.5-5B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HelpingAI/HelpingAI2.5-5B") model = AutoModelForCausalLM.from_pretrained("HelpingAI/HelpingAI2.5-5B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use HelpingAI/HelpingAI2.5-5B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M # Run inference directly in the terminal: llama cli -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M # Run inference directly in the terminal: llama cli -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Use Docker
docker model run hf.co/HelpingAI/HelpingAI2.5-5B:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use HelpingAI/HelpingAI2.5-5B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HelpingAI/HelpingAI2.5-5B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HelpingAI/HelpingAI2.5-5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HelpingAI/HelpingAI2.5-5B:Q4_K_M
- SGLang
How to use HelpingAI/HelpingAI2.5-5B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "HelpingAI/HelpingAI2.5-5B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HelpingAI/HelpingAI2.5-5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "HelpingAI/HelpingAI2.5-5B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HelpingAI/HelpingAI2.5-5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use HelpingAI/HelpingAI2.5-5B with Ollama:
ollama run hf.co/HelpingAI/HelpingAI2.5-5B:Q4_K_M
- Unsloth Studio
How to use HelpingAI/HelpingAI2.5-5B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for HelpingAI/HelpingAI2.5-5B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for HelpingAI/HelpingAI2.5-5B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for HelpingAI/HelpingAI2.5-5B to start chatting
- Pi
How to use HelpingAI/HelpingAI2.5-5B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "HelpingAI/HelpingAI2.5-5B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use HelpingAI/HelpingAI2.5-5B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default HelpingAI/HelpingAI2.5-5B:Q4_K_M
Run Hermes
hermes
- OpenClaw new
How to use HelpingAI/HelpingAI2.5-5B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf HelpingAI/HelpingAI2.5-5B:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "HelpingAI/HelpingAI2.5-5B:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use HelpingAI/HelpingAI2.5-5B with Docker Model Runner:
docker model run hf.co/HelpingAI/HelpingAI2.5-5B:Q4_K_M
- Lemonade
How to use HelpingAI/HelpingAI2.5-5B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull HelpingAI/HelpingAI2.5-5B:Q4_K_M
Run and chat with the model
lemonade run user.HelpingAI2.5-5B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
File size: 9,201 Bytes
422d349 35731fa 422d349 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 | ---
license: other
license_name: helpingai
license_link: https://huggingface.co/OEvortex/HelpingAI2.5-2B/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-2B
***A Revolutionary Emotionally Intelligent Language Model***
[](https://github.com/HelpingAI)
[](https://huggingface.co/OEvortex)
[](https://huggingface.co/OEvortex/HelpingAI2.5-2B/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-2B** is a compact yet powerful language model specifically designed for emotionally intelligent conversations and human-centric interactions.
</div>
### ๐ฏ Key Highlights
- **Architecture**: 2B parameter transformer-based model
- **Training Focus**: Emotional intelligence and empathetic responses
- **Emotion Score**: Achieves 94.28 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-2B model
model = AutoModelForCausalLM.from_pretrained("OEvortex/HelpingAI2.5-2B")
# Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained("OEvortex/HelpingAI2.5-2B")
# 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-2B", "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;">That must be super frustrating and stressful for you! ๐ผ When you're unsure what you did wrong, it's hard to know how to fix it.
1. Give them space: ๐ฟ Even if you're worried about what you said, give your friend some time to process their feelings. One week is a lot of time for them to work through what you said.
2. Reflect on your convo: ๐ค Try to remember your last few messages and see if you can spot anything that might have caused the awkwardness. Was it something you said or did?
3. Apologize for being cautious: ๐ป Write a message expressing your concern that you might have said something wrong and ask if you can talk it out. Let them know you're not trying to blame them but you want to clear the air.
4. Keep it low-key: ๐บ When you do talk to them, try to keep the convo casual and relaxed. Avoid putting too much pressure on the convo or expecting a specific response.
5. Listen more, talk less: ๐ When you talk to them, focus on listening to their perspective. Try to understand where they're coming from rather than just wanting to explain your side.
6. Give them a chance: ๐ Everyone heals differently. Give your friend the space and time they need to feel better before expecting them to respond.
7. Know that you can't control how they feel: ๐ฎ You did your best, and that's all you can do. Just hope that they'll forgive you for whatever you might have done.
Remember, it's not easy to have these kind of convos. Take care of yourself and be patient. You got this! โ
</span>Want some specific questions to practice with? Just let me know! I've got your back! ๐ค
</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;">It's tough when you're not sure what you did wrong, fam. ๐ But hey, don't sweat it too much. Just shoot 'em a simple "Hey, what's up?" or "I got you, homie. Just checking in." ๐ค
And if you're sure you messed up, a little apology goes a long way. Keep it real and say something like, "Hey, I'm sorry if I said something whack earlier. I didn't mean to bring you down." ๐
At the end of the day, give your friend some space if they need it. We all got our own stuff going on, ya know? ๐ค
If you're still unsure, maybe try talking to 'em in person. A face-to-face chat can work wonders. ๐ฌ
Just remember, it's all good. Missteps happen, but what matters is that you got each other's backs. That's what friends are for! ๐ค</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-2B: Emotionally Intelligent Language Model},
year = {2024},
publisher = {Huggingface},
journal = {GitHub repository},
howpublished = {\url{https://huggingface.co/OEvortex/HelpingAI2.5-2B}}
}
```
---
<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> |