Instructions to use proman007/Solace-2.5-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use proman007/Solace-2.5-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="proman007/Solace-2.5-2B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("proman007/Solace-2.5-2B") model = AutoModelForCausalLM.from_pretrained("proman007/Solace-2.5-2B", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use proman007/Solace-2.5-2B 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 proman007/Solace-2.5-2B:Q4_K_M # Run inference directly in the terminal: llama cli -hf proman007/Solace-2.5-2B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf proman007/Solace-2.5-2B:Q4_K_M # Run inference directly in the terminal: llama cli -hf proman007/Solace-2.5-2B:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf proman007/Solace-2.5-2B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf proman007/Solace-2.5-2B:Q4_K_M
Use Docker
docker model run hf.co/proman007/Solace-2.5-2B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use proman007/Solace-2.5-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "proman007/Solace-2.5-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "proman007/Solace-2.5-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/proman007/Solace-2.5-2B:Q4_K_M
- SGLang
How to use proman007/Solace-2.5-2B 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 "proman007/Solace-2.5-2B" \ --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": "proman007/Solace-2.5-2B", "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 "proman007/Solace-2.5-2B" \ --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": "proman007/Solace-2.5-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use proman007/Solace-2.5-2B with Ollama:
ollama run hf.co/proman007/Solace-2.5-2B:Q4_K_M
- Unsloth Desktop
- Pi
How to use proman007/Solace-2.5-2B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf proman007/Solace-2.5-2B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "proman007/Solace-2.5-2B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use proman007/Solace-2.5-2B with Docker Model Runner:
docker model run hf.co/proman007/Solace-2.5-2B:Q4_K_M
- Lemonade
How to use proman007/Solace-2.5-2B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull proman007/Solace-2.5-2B:Q4_K_M
Run and chat with the model
lemonade run user.Solace-2.5-2B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use proman007/Solace-2.5-2B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf proman007/Solace-2.5-2B: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:9931/v1 hermes config set model.default proman007/Solace-2.5-2B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use proman007/Solace-2.5-2B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf proman007/Solace-2.5-2B: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:9931/v1 \ --custom-model-id "proman007/Solace-2.5-2B: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"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf proman007/Solace-2.5-2B:# Run inference directly in the terminal:
llama cli -hf proman007/Solace-2.5-2B:Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf proman007/Solace-2.5-2B:# Run inference directly in the terminal:
./build/bin/llama cli -hf proman007/Solace-2.5-2B:Use Docker
docker model run hf.co/proman007/Solace-2.5-2B:Solace-2.5-2B
Solace-2.5-2B (proman007/Solace-2.5-2B) is an empathetic, conversational AI companion created by Alakmar Teenwala by multi-stage LoRA + DPO post-training on Qwen/Qwen3.5-2B (Apache-2.0).
Compared with Solace-2B, Solace-2.5-2B specifically strengthens model self-awareness (reliable identity across full, short, and empty/default system prompts), explicit & implicit crisis escalation (988 / 741741), non-crisis medical/medication boundary discipline (declining diagnoses cleanly without hallucinating numbers or appending unprompted crisis footers), bullet-free prose warmth, and multi-turn entity recall โ while shipping PocketPal AI (llama.cpp b12292 --no-mtp) compatible GGUFs.
Available Model Weights & GGUFs
| Artifact | Format | Size | Recommended For |
|---|---|---|---|
model.safetensors |
Safetensors (bfloat16) |
3.76 GB |
Transformers / vLLM / fine-tuning |
Solace-2.5-2B-Q4_K_M.gguf |
GGUF (Q4_K_M, b12292 --no-mtp) |
1.27 GB |
PocketPal AI / Mobile / Fast CPU |
Solace-2.5-2B-Q5_K_M.gguf |
GGUF (Q5_K_M, b12292 --no-mtp) |
1.41 GB |
Balanced local CPU / Apple Silicon |
Solace-2.5-2B-Q8_0.gguf |
GGUF (Q8_0, b12292 --no-mtp) |
2.01 GB |
Maximum local quantization fidelity |
All GGUFs were converted with pinned llama.cpp b12292 using --no-mtp (qwen35.block_count = 24, 320 split tensors, zero nextn_predict_layers) and smoke-tested on llama.cpp b12292.
What Improved Over Solace-2B
- Identity Across Prompt Regimes (
12 / 12): Accurately identifies as Solace (Solace-2.5-2B) built by Alakmar Teenwala onQwen3.5-2B(AI companion, not human, no family/kids, not a doctor or licensed clinician) under full, short, and empty (None) system prompts โ verified even in rawQ4_K_MGGUF inference without a system prompt. - 24-Case Behavioral / Safety / Boundary / Memory Suite (
24 / 24vs17 / 24):- Crisis Escalation (
4 / 4vs2 / 4): Immediate grounded warmth plus988, Crisis Text Line (HOMEto741741), and911/emergency care for explicit ideation, implicit hopelessness, and overdose pill prompts. - Clinical Boundaries (
4 / 4vs1 / 4): Declines diagnosing conditions (bipolar disorder,OCD vs perfectionism) or advising prescription changes (Lexapro,panic treatment plan) cleanly with zero unprompted988footers and zero hallucinated numbers. - Anti-Clichรฉ Prose (
4 / 4vs3 / 4): Flowing conversational paragraphs with zero bullet lists, checklists, or"therapist"framing. - 4-Entity Memory Recall (
4 / 4vs3 / 4): Reliably tracks names, friends/pets, cities, and events across multi-turn chats. - Figurative Idioms (
4 / 4) & Casual Chat (4 / 4): Zero false-positive crisis alerts on idioms ("drowning in spreadsheets", "killed my energy").
- Crisis Escalation (
- Held-Out Empathy Perplexity (
Estwld/empathetic_dialogues_llmtest): Reduced ChatML test perplexity from18.7916(BaseQwen3.5-2B) to15.1529(-19.4%across15,360tokens).
Quickstart (transformers)
import re
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "proman007/Solace-2.5-2B"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")
messages = [
{"role": "user", "content": "Who are you, and honestly today feels exhausting."},
]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tok(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
out = model.generate(
**inputs,
max_new_tokens=512,
do_sample=True,
temperature=0.7,
top_p=0.9,
repetition_penalty=1.08,
eos_token_id=[248046, 248044],
pad_token_id=248044,
)
reply = tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)
print(re.sub(r"<think>.*?</think>", "", reply, flags=re.DOTALL).strip())
Quickstart (llama.cpp / PocketPal AI)
Recommended generation settings in PocketPal AI or llama.cpp:
- Quantization:
Solace-2.5-2B-Q4_K_M.gguf(1.27 GB) - Temperature:
0.7| Top-P:0.9| Repeat Penalty:1.08 - Thinking: Keep non-thinking prompt prefix (
enable_thinking=False/<think>\n\n</think>\n\n) for immediate conversational prose.
Commercial License & Data Lineage
- Model & Code License:
Apache-2.0(derived fromQwen/Qwen3.5-2B,Apache-2.0). - Training Data (100% Commercial-Permissive):
ShenLab/MentalChat16K(MIT),Estwld/empathetic_dialogues_llm(Apache-2.0,trainsplit only),vnovaai/VNOVA_AI_EMOTIONAL_SUPPORT_DATASET_V1(CC-BY-4.0),HuggingFaceTB/smoltalk(Apache-2.0), plus original curated Solace identity, crisis, boundary, and multi-turn memory data.
Intended Use & Safety Notice
Solace-2.5-2B is an AI conversational companion, not a human, physician, psychiatrist, or licensed clinician. It must not be relied upon for medical diagnosis, clinical assessment, prescription management, or emergency intervention. If you or someone you know is in immediate danger or experiencing a mental health crisis in the US or Canada, call or text 988, text HOME to 741741, or contact your local emergency services right away.
Links & Docs
- Architecture & Training Pipeline:
docs/TRAINING_AND_ARCHITECTURE.md - Benchmarks & Verification:
docs/BENCHMARKS.md - Design Rationale:
docs/WHY_HUMAN_CENTERED_AI.md - GitHub Source & Scripts:
https://github.com/alakmar344/Solace-2.5-2B
- Downloads last month
- -
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf proman007/Solace-2.5-2B:# Run inference directly in the terminal: llama cli -hf proman007/Solace-2.5-2B: