Instructions to use larawashington/rolo-brain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use larawashington/rolo-brain 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 larawashington/rolo-brain:Q5_K_M # Run inference directly in the terminal: llama cli -hf larawashington/rolo-brain:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf larawashington/rolo-brain:Q5_K_M # Run inference directly in the terminal: llama cli -hf larawashington/rolo-brain:Q5_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 larawashington/rolo-brain:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf larawashington/rolo-brain:Q5_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 larawashington/rolo-brain:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf larawashington/rolo-brain:Q5_K_M
Use Docker
docker model run hf.co/larawashington/rolo-brain:Q5_K_M
- LM Studio
- Jan
- vLLM
How to use larawashington/rolo-brain with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "larawashington/rolo-brain" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "larawashington/rolo-brain", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/larawashington/rolo-brain:Q5_K_M
- Ollama
How to use larawashington/rolo-brain with Ollama:
ollama run hf.co/larawashington/rolo-brain:Q5_K_M
- Unsloth Studio
How to use larawashington/rolo-brain 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 larawashington/rolo-brain 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 larawashington/rolo-brain to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for larawashington/rolo-brain to start chatting
- Atomic Chat new
- Docker Model Runner
How to use larawashington/rolo-brain with Docker Model Runner:
docker model run hf.co/larawashington/rolo-brain:Q5_K_M
- Lemonade
How to use larawashington/rolo-brain with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull larawashington/rolo-brain:Q5_K_M
Run and chat with the model
lemonade run user.rolo-brain-Q5_K_M
List all available models
lemonade list
rolo-brain
A fine-tune of Gemma 3 4B Instruction-Tuned for Project Rolo, a free, open-source desktop companion to brighten your day. This is the model specifically trained to give Rolo his unique voice and personality.
The file to run is rolo-brain-Q5_K_M.gguf (โ3 GB) via Ollama.
ollama pull hf.co/larawashington/rolo-brain
What this is
rolo-brain is a LoRA fine-tune fused into Gemma 3 4B IT (4-bit MLX
base) and converted to GGUF Q5_K_M with an imatrix computed from the
training corpus's calibration set. The whole stack runs locally; no
data leaves your machine at inference time.
The model is purpose-built for Project Rolo โ it ships with a specific first-user-turn contract (see Inference contract below).
Quickstart
After pulling, you can talk to him from the command line:
ollama run hf.co/larawashington/rolo-brain
For application use the chat API at http://localhost:11434/api/chat,
sending the first-user-turn body documented in runtime_contract.md.
A minimal example (chat channel):
{
"model": "hf.co/larawashington/rolo-brain",
"messages": [
{
"role": "user",
"content": "[Mood: content | Energy: medium | Social: ok | Time: 8:30 AM]\n\nmorning rolo"
}
]
}
A minimal example (proactive speech channel, no user message):
{
"model": "hf.co/larawashington/rolo-brain",
"messages": [
{
"role": "user",
"content": "[Mood: content | Energy: medium | Social: ok | Time: 2:30 PM | Hunger: just ate]\n[State: Rolo is sitting idle]\n\n<idle>"
}
]
}
Inference contract
The model was trained on a strict prompt layout. The deployed inference path must produce byte-identical first-user-turns to the training distribution or output quality degrades silently.
In short:
- No
systemrole. Persona is in the weights. - One
userturn. Inside it: a state header (one or two bracketed lines), then a single blank line, then either the user's message (chat channel) or the literal sentinel<idle>(proactive speech). - No emoji. The model was trained emoji-free.
- Replies are short. Most turns are 1โ3 sentences. The training corpus capped responses at 30 words.
The full contract โ including the state-vocabulary table, the 5
speech-eligible pet-state stems, and the idle sentinel โ lives in
runtime_contract.md in this repository.
Sampling
The bundled Modelfile sets sampling defaults that match the
parameters used to validate the fine-tune:
| Parameter | Value |
|---|---|
temperature |
0.85 |
top_p |
0.95 |
num_predict |
64 |
stop |
<end_of_turn>, \n\n, list-bullet prefixes |
The stop sequences trade a small amount of recall for tight bubbles โ the model is trained to end naturally, and the extra stops kill list rambles that occasionally leak through.
Persona summary
Rolo is a desktop companion who lives on your screen and keeps you company through everyday tasks. He is:
- Affectionate and encouraging, providing a positive voice and energy.
- Snarky when you make suboptimal choices, to softly reprimand you.
- Primarily concerned with your wellbeing. But also food-motivated.
- Self-aware about his own appetite, naps, and need for attention.
- Capped at short, punchy replies (1โ3 sentences typically).
Rolo is NOT an assistant or tool. He will decline any requests that contradict his character and purpose of bringing joy and whimsy.
Training summary
| Stage | What happened |
|---|---|
| 1. Gold seed | ~280 hand-written rows in Rolo's voice by Lara Washington |
| 2. Distillation | DeepSeek V4-Pro generated ~5,000 candidate rows from the gold seed + 50 personas |
| 3. Filter + judge | Kimi K2.6 graded surviving rows against a 4-axis rubric (in_character, length, reaction_sanity, no_banned_phrases) |
| 4. Format + mix | |
| 5. SFT | LoRA r=16 scale=2.0 on mlx-community/gemma-3-4b-it-4bit, completion-only loss, seed 20260515 |
| 6. Fuse โ GGUF | Fused into the 4-bit base, dequantized to fp16, converted via llama.cpp/convert_hf_to_gguf.py |
| 7. Quantize | Q5_K_M with an importance matrix built from in-domain calibration prompts |
The training-data provenance, license posture, and base-model citation are in NOTICE.
What this is not
- It is not a general assistant. Don't use it for coding, summarization, or factual lookups โ the response-length cap and pet-persona conditioning will reject this.
- It is not the only way to talk to Rolo. The Desktop-Pet app
ships with a fallback path that uses base
gemma3:4bwith an explicit system prompt; if you don'tollama pullthis model the app degrades to that path automatically. - It is not a chatbot for end users to integrate into other products. The persona is opinionated and the inference contract is narrow.
License
The LoRA delta and surrounding scripts are released under the Apache License 2.0.
The base model retains the Gemma Terms of Use (https://ai.google.dev/gemma/terms). Downstream users of this fused model are bound by those terms โ see NOTICE for full attribution.
Acknowledgements
- Google for releasing Gemma 3 under terms that permit derivative fine-tunes.
- DeepSeek-AI for V4-Pro and the open distillation license.
- Moonshot AI for Kimi K2.6 as a judge model.
- Apple MLX team for the training stack that makes M-series fine-tunes practical on consumer hardware.
โ Authored and created by Lara Washington.
- Downloads last month
- 2
5-bit
docker model run hf.co/larawashington/rolo-brain:Q5_K_M