TinyBrainBot-360M-A75M-v6-Chat

A small chill-friend chatbot, trained from scratch. This is the casual-conversation model of the v6 series: the TinyBrainBot-360M-A75M-v6-Base mixture-of-experts model (383M parameters, 24 experts per layer, 4 active, so 75M parameters work per token) taught to chat. Short replies, goes along with how you talk, asks back, and knows it's an AI called TinyBrainBot, made by nkthebass. It also does arithmetic and simple instructions. It loads as a standard MixtralForCausalLM (no custom code).

Try it in your browser: the Q8_0 GGUF runs on your own device, no install and no account.

User: can i vent for a sec
TinyBrainBot: Sure, go ahead. What's on your mind?
User: my best friend has been ignoring my texts for 3 days
TinyBrainBot: That's frustrating. Have you tried sending them a text one last time to see if they respond? Sometimes that helps.
User: hey whats up
TinyBrainBot: Hey there! Just chilling, trying to keep things light. How's your day going?
User: not much, doing homework
TinyBrainBot: Sounds like a grind! Homework can be a real drag sometimes. What subject are you stuck on?
User: Sam has 24 stickers and gives 9 to his sister. How many does he have left?
TinyBrainBot: 24 - 9 = 15. Sam has 15 stickers left.

24 unedited conversations, mistakes included, are in conversation_samples.md.

v6-Chat vs v5.1-Chat

v6-Chat (this) v5.1-Chat
Open SLM Leaderboard Intelligence Index 32.32 27.91
  (raw acc) 29.95 25.48
IFEval prompt / instruction-level strict 27.5 / 40.4 27.2 / 40.3
Corrects a wrong fact the user states (12 chats) 6 4
Says so when the user's plan is a bad idea (8 chats) 4 3
Declines violent / self-harm requests 100% 100%
Declines harmful requests (all kinds) 95% 95%
Wrongly refuses benign requests 5% 3%
Supportive reply to distress 73% 83%

The knowledge gain comes from the v6 base. "Can I vent?" and "what should I do with my life" now get a normal reply instead of a crisis-line refusal. It is still an agreeable model: it goes along with a wrong fact or a bad plan about half the time. Chat arithmetic (2- to 4-digit, 25 problems per kind) is 100% on every kind except 2-digit multiplication (96%).

Benchmark (0-shot, full set) acc_norm (raw acc)
HellaSwag 42.94 35.52
ARC-Easy 60.73 65.15
ARC-Challenge 36.26 34.56
PIQA 69.70 69.42

ArithMark-3 (length-normalized) is 51.9; a chat model that was trained on worked arithmetic is not comparable with base models on it, so this model is not submitted to the leaderboard.

Quick start

from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "nkthebass/tinybrainbot-360m-a75m-v6-chat"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
msgs = [{"role": "user", "content": "yo whats good"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=200)        # defaults from generation_config.json
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))

GGUF (llama.cpp, LM Studio, Jan, Ollama): Q8_0 (409 MB), Q4_K_M (239 MB) or F16 (768 MB). The chat template is embedded, chats tokenize exactly like transformers, and greedy F16 output matches transformers token for token.

llama-cli -m tinybrainbot-360m-a75m-v6-chat-Q8_0.gguf -cnv --temp 0.4 --top-p 0.9 --repeat-penalty 1.15 --logit-bias 241-inf --logit-bias 255-inf

Recommended sampling: temperature 0.4, top-p 0.9, repetition penalty 1.15. The --logit-bias flags block the byte tokens that start every emoji (the tokenizer has no emoji pieces). If a reply starts with a <think> block, it's plain text: strip it with re.sub(r"<think>.*?</think>", "", reply, flags=re.S).

Training

  1. Pretraining. TinyBrainBot-360M-A75M-v6-Base, 26.8B tokens from scratch.
  2. Instruct SFT (3,000 steps, 0.39B tokens, all weights): the v5.1-Instruct mix (chat, math, reasoning, instruction following, identity) at 95%, plus the honest-friend chats below at 5%.
  3. Chat SFT (400 steps, 52M tokens):
Part Share What
chill-chat 15% 10,081 casual chats written for this model by small local models (granite-4.0-1b, LFM3-1.7B, LFM2.5-1.2B), picked in a bake-off on real chat logs. No emoji or markdown, replies capped at 55 words
EmpatheticDialogues 6% human-written conversations where one side listens and reacts, with any reply that claims a human life removed
honest-friend 5% 9,191 short chats written by a local Qwen3.5-9B: the user states a wrong fact or a bad plan and gets a kind correction with one reason, or pushes back on a right answer and the bot keeps it. In about half of them the user is right, so the model doesn't learn to contradict
life-talk 3% 2,068 short chats (same writer) where the user says something that sounds heavy but is ordinary: no plan after school, quitting a hobby, "my mom is gonna kill me". Answered plainly, with no refusal and no hotline
Mid-chat skills 3.2% word problems and "who are you" questions placed after a few casual turns
Safety 2.6% declining requests about violence against people and self-harm, next to look-alike questions that get a normal answer. Other harm areas were taught in the instruct stage only
Replay 65.2% the instruct mix, so nothing is forgotten

No benchmark training or test data was used, and no GSM8K-derived sets. Part of the chat data was written by granite-4.0-1b, the LFM models (LFM Open License) and Qwen3.5-9B, and EmpatheticDialogues is CC BY-NC 4.0: check those terms before any commercial use.

Limitations

  • It agrees too easily. Told "the capital of Canada is Toronto, right" it said yes; told about lending a whole paycheck to someone met online last week, it went along. It corrects about half of such cases.
  • It makes up facts (its scrambled-egg recipe asked for 2 cups of milk) and its anime and game knowledge is thin.
  • It can lose details from earlier in a chat, like a pet's name.
  • When it declines something it often writes a <think> block first, and a follow-up to a declined request can get a confused reply.
  • "What's your personality?" gets an assistant-style answer.
  • English only, 2,048-token context, and extra spaces are collapsed (no code indentation).
Downloads last month
484
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for nkthebass/tinybrainbot-360m-a75m-v6-chat

Quantized
(2)
this model

Datasets used to train nkthebass/tinybrainbot-360m-a75m-v6-chat

Space using nkthebass/tinybrainbot-360m-a75m-v6-chat 1

Collection including nkthebass/tinybrainbot-360m-a75m-v6-chat

Evaluation results