Instructions to use nkthebass/tinybrainbot-100m-v6-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nkthebass/tinybrainbot-100m-v6-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nkthebass/tinybrainbot-100m-v6-base") 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("nkthebass/tinybrainbot-100m-v6-base") model = AutoModelForCausalLM.from_pretrained("nkthebass/tinybrainbot-100m-v6-base", 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 nkthebass/tinybrainbot-100m-v6-base 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 nkthebass/tinybrainbot-100m-v6-base:Q4_K_M # Run inference directly in the terminal: llama cli -hf nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf nkthebass/tinybrainbot-100m-v6-base:Q4_K_M # Run inference directly in the terminal: llama cli -hf nkthebass/tinybrainbot-100m-v6-base: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 nkthebass/tinybrainbot-100m-v6-base:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
Use Docker
docker model run hf.co/nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use nkthebass/tinybrainbot-100m-v6-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nkthebass/tinybrainbot-100m-v6-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nkthebass/tinybrainbot-100m-v6-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
- SGLang
How to use nkthebass/tinybrainbot-100m-v6-base 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 "nkthebass/tinybrainbot-100m-v6-base" \ --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": "nkthebass/tinybrainbot-100m-v6-base", "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 "nkthebass/tinybrainbot-100m-v6-base" \ --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": "nkthebass/tinybrainbot-100m-v6-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use nkthebass/tinybrainbot-100m-v6-base with Ollama:
ollama run hf.co/nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use nkthebass/tinybrainbot-100m-v6-base with Docker Model Runner:
docker model run hf.co/nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
- Lemonade
How to use nkthebass/tinybrainbot-100m-v6-base with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull nkthebass/tinybrainbot-100m-v6-base:Q4_K_M
Run and chat with the model
lemonade run user.tinybrainbot-100m-v6-base-Q4_K_M
List all available models
lemonade list
- Atomic Chat
TinyBrainBot-100M-v6-Base
A 100M-parameter base model trained from scratch on 39.6B tokens, as a plain Llama (LlamaForCausalLM): no custom
code. It is TinyBrainBot-100M-v5.1-Base continued for 10B more tokens, mostly broad web
text, and it improves on it on HellaSwag, ARC-Challenge and PIQA. No benchmark train or test data was used.
Weights updated on 2026-11-27. This version carries less of the synthetic arithmetic practice than the first upload (see Less synthetic math under Training). ArithMark-3 is 44.3 instead of 51.6; the other scores are within about a point of the first upload.
Scores
Zero-shot, full test sets, acc_norm; (raw acc) underneath. Intelligence Index from the Open SLM Leaderboard.
| Model | Params | Int Index | HellaSwag | ARC-E | ARC-C | PIQA | ArithMark-3 |
|---|---|---|---|---|---|---|---|
| TinyBrainBot-100M-v6-Base (this model) | 100.1M | 27.20 | 37.52 | 57.03 | 36.09 | 68.55 | 44.30 |
| (raw acc) | 26.35 | 32.48 | 65.03 | 33.79 | 68.50 | 44.20 | |
| TinyBrainBot-100M-v5.1-Base (previous) | 100.1M | 26.07 | 34.98 | 57.15 | 34.47 | 67.52 | 47.00 |
| KLM-1.6 | 99.0M | 33.95 | 45.28 | 61.07 | 33.53 | 70.18 | 55.90 |
| GPT-X3-150M | 149M | 33.05 | 46.16 | 59.64 | 31.31 | 71.33 | 50.90 |
| KLM-1.5 | 99.0M | 30.26 | 43.74 | 59.68 | 32.68 | 68.55 | 48.20 |
| SmolLM2-135M | 135M | 27.13 | 43.22 | 58.63 | 29.69 | 68.44 | 39.20 |
| MobileLLM-R1-140M-base | 140M | 24.64 | 33.84 | 49.92 | 24.74 | 63.22 | 65.70 |
| void.1 | 90.2M | 24.38 | 39.46 | 49.32 | 29.35 | 67.19 | 43.70 |
| Supra2-100M-Base | 101M | 19.41 | 35.98 | 47.81 | 24.83 | 65.40 | 36.90 |
| GPT-2 | 124M | 13.58 | 31.26 | 39.35 | 22.35 | 62.08 | 35.70 |
Other models' numbers are from the leaderboard (2026-11-23), sorted by Intelligence Index.
Arithmetic it never trained on
On 1,380 held-out arithmetic problems in topics and wordings the model never saw, it scores 36.5 (public ArithMark-3: 44.3).
Quick start
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("nkthebass/tinybrainbot-100m-v6-base")
model = AutoModelForCausalLM.from_pretrained("nkthebass/tinybrainbot-100m-v6-base")
ids = tok("The water cycle begins when the sun heats water in oceans and lakes, causing it to", return_tensors="pt")
print(tok.decode(model.generate(**ids, max_new_tokens=24, do_sample=False)[0]))
GGUF files for llama.cpp, LM Studio, Ollama and Jan: F16 (201 MB), Q8_0 (107 MB) and Q4_K_M (66 MB). They are set to
add_space_prefix=false, so start a raw prompt with one space (-p " The water cycle..."): with it, F16 and Q8_0
give the same greedy output as transformers, including across line breaks.
This is a base model: it continues text and does not chat.
Model
| Parameters | 100,092,672 (75.5M non-embedding + 24.6M tied embedding) |
| Shape | hidden 768, 12 layers, 12 query heads of 64 with 4 KV heads (GQA), SwiGLU 2048, RMSNorm, RoPE |
| Vocabulary | 32,000 SentencePiece; a line break is its own token |
| Context | 1,024 tokens |
Training
39.6B tokens: the 29.6B of 100M-v5.1-Base, then one 10B-token run. The learning rate was re-warmed over 300 steps to 6e-4, held for 8B tokens of bulk text, then decayed to zero over a 2B-token knowledge-dense mix. The published weights are the final step of that run (step 151,147), adjusted as described next.
Less synthetic math (2026-11-27). The published weights are the final step with the influence of the synthetic arithmetic practice turned down, in two small steps. First, the weight change from 86 steps of arithmetic-practice-only training was subtracted from the attention weights of layers 0-5. Then a 13-step top-up on ordinary decay text with 20% arithmetic practice was trained from there, and 23% of it was blended back in. ArithMark-3 went from 51.6 to 44.3, HellaSwag 37.54 to 37.52, ARC-Easy 58.08 to 57.03, ARC-Challenge 35.84 to 36.09, PIQA 68.88 to 68.55.
| Bulk (8B tokens) | Share |
|---|---|
| ClimbMix (Nemotron-ClimbMix text) | 38% |
| DCLM-Ultra | 27% |
| Math text and problems: OpenMathInstruct-2, UltraData-Math, FineMath, Orca-Math | 5% |
| Arithmetic drills (ours) | 3% |
| FineWeb-Edu, top-scored pages | 6% |
| Books: Gutenberg, BookCorpus | 6% |
| Textbooks: Cosmopedia (school-level audiences), WikiHow | 6% |
| Q&A and facts: GooAQ, FactBase-DCLM, finephrase FAQ | 5% |
| Wikipedia | 4% |
| Decay (2B tokens) | Share |
|---|---|
| Q&A and facts: our distilled sets, GooAQ, FactBase-DCLM, finephrase FAQ, ELI5 | 18.5% |
| Textbooks: Cosmopedia (school-level audiences) | 17% |
| Web: FineWeb-Edu top pages, DCLM-Ultra-1.1, ClimbMix | 16.3% |
| Wikipedia (dense and Simple English) | 11.6% |
| WikiHow (Cosmopedia) | 10% |
| Grade-school science Q&A (ours, three sets) | 10% |
| Everyday activities, commonsense and writing (our distilled sets, finephrase tutorials) | 7.6% |
| Arithmetic and math problems | 5% |
| How-to Q&A (ours) | 4% |
Our distilled sets. The science, how-to and everyday-activity sets are short passages and question-answer pairs written by Ling-3.0-Flash (one science set by a local Qwen3.5-9B): no answer options, and any item sharing an 8-word phrase with an ARC, PIQA or HellaSwag item was removed before training.
Line breaks. The first 29.6B tokens were tokenized without line breaks (the tokenizer turned them into spaces); the last 10B kept them, so the model writes multi-line text, but it has seen far less of it than of flat text.
Recipe: AdamW (betas 0.9/0.95, weight decay 0.1), 262k tokens per step, fp16 mixed precision, 2x Tesla V100.
Evaluation
lm_eval --model hf --model_args pretrained=nkthebass/tinybrainbot-100m-v6-base,dtype=float32 --tasks hellaswag,arc_easy,arc_challenge,piqa --num_fewshot 0
python bencharithmark-3.py --model nkthebass/tinybrainbot-100m-v6-base --dtype float32
Limitations
A 100M base model: good at short factual and commonsense continuations for its size, but open-ended generation is limited and it can be confidently wrong. English only, 1,024-token context. Its arithmetic works best in familiar phrasings (see above). Not instruction-tuned and not safety-tuned.
- Downloads last month
- 848
Datasets used to train nkthebass/tinybrainbot-100m-v6-base
wikimedia/wikipedia
HuggingFaceFW/finephrase
Collection including nkthebass/tinybrainbot-100m-v6-base
Evaluation results
- acc_norm (0-shot) on ARC-Easytest set self-reported57.030
- acc_norm (0-shot) on ARC-Challengetest set self-reported36.090
- acc_norm (0-shot) on HellaSwagvalidation set self-reported37.520
- acc_norm (0-shot) on PIQAvalidation set self-reported68.550
- acc_norm (0-shot) on ArithMark-3.0test set self-reported44.300