MooLLM-1.0-Tiny
Moove over, big models!
MooLLM-1.0-Tiny is the second model in the MooLLM series (~15M parameters). The Tiny tier is built for smart T9 / predictive typing, lightweight text completion, and embedded experiments!
WARNING: This is a base model (pre-trained only, no instruction tuning). It is not capable of chatting or answering questions.
Sizing
| Name | Parameter count | Usecase |
|---|---|---|
| Air | ~7M | Experiments, tiny embedded devices, ultra fast next-token prediction. |
| Tiny | ~15M | Smart T9 / predictive typing, lightweight text completion. |
| Flash | ~30M | Context-aware autocomplete, speculative decoding draft model. |
| Pro | ~50M | Long-context text continuation, base model for custom fine-tuning. |
Training information
| Parameter | Value |
|---|---|
| Hours training | 17h 20m 51s (including 9h 500MHz quiet night mode) |
| Device used | AMD Radeon RX6600 (25W night / 60W day average, capped at 100W) |
| Framework used | Burn + custom Mamba2 implementation in Rust |
| Scaling | 1x Chinchilla compute-optimal (~300M tokens) |
| Co2 emissions | ~554g (estimated for full system ~84W avg, Russian grid) |
Evaluation
Sample Outputs
Prompt: The cows in this field are (cowllm sample)
The cows in this field are screwed off. Who is the man? A laugh of the ten-finger.
"Oh--'ty wakeful. No, Joe,
Prompt: Once upon a time (cowllm sample)
Once upon a time Indignant with it grew but in motion. Time had fallen into the middle of the moon. In memory of the past spring Jemri--
Prompt: The history of dairy farming begins (llama.cpp)
The history of dairy farming begins on March 23, 2024. Wisconsin Customers," he said.
"I'm not sure I should have gone in the road. I remember the morning and the early afternoon I could see.
Benchmarks
| Benchmark | Amir: tiny-llm (13M) | MooMooAI: MooLLM-1.0-Air (6.76M) | MooMooAI: MooLLM-1.0-Tiny (14.8M) |
|---|---|---|---|
| -(CoderPPL) (OOD) | -43.4969 | -76.8079 | -50.6323 |
| HellaSwag | 27.00 | 24.85 | 24.94 |
| MMLU | 22.739 | 24.96 | 25.82 |
| WikiText-2 (-ppl) | -162.4178 | -218.9829 | -200.1136 |
WARNING: CoderPPL is out-of-distribution for MooLLM-1.0, no code-specific datasets were included during training.
Quickstart
Python (transformers)
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "moomooai/moollm-1.0-tiny"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
inputs = tokenizer("The history of dairy farming begins", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=40, do_sample=True, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
llama.cpp
The self-written framework we used for training also outputs an unquantized original .gguf. It's available in model.gguf, and you can run it directly in llama.cpp.
llama-completion -hf moomooai/moollm-1.0-tiny -p "The history of dairy farming begins" -n 64 --temp 0.7 --repeat-penalty 1.1
Trained on 100% grass-fed tokens.