CoolFace
Modelpublic

AxionLab-Co/MiniAxion1-0.9M

sourceHugging Facemitupdated 6mo agoView on Hugging Face
3likes28downloads
Model Card

๐Ÿง  MiniAxion1-0.9M

MiniAxion1-0.9M is a Nano Reasoning Model (NRM) with ~920K parameters designed to explore the emergence of structured reasoning in extremely small neural networks.

Despite its minimal size, the model demonstrates strong consistency in reasoning format and step-based thinking using explicit <THINK> and <STEP> tokens.


๐Ÿš€ Overview

  • โ€”Model Type: Nano Reasoning Model (NRM)
  • โ€”Parameters: ~920,833
  • โ€”Architecture: Transformer (6 layers: 2 entry + 2 shared + 2 exit)
  • โ€”d_model: 256
  • โ€”Heads: 8
  • โ€”FFN size: 512
  • โ€”LoRA Rank: 16
  • โ€”Vocabulary Size: 2048
  • โ€”Training Time: ~80 minutes (CPU)

๐Ÿง  Key Capabilities

โœ… Structured Reasoning

The model reliably produces structured reasoning traces:

<THINK>
<STEP> ...
<STEP> ...
</THINK>
<ANS>...</ANS>
  • โ€”100% usage of reasoning tokens
  • โ€”Consistent multi-step formatting
  • โ€”Stable output structure across tasks

โšก Ultra-Lightweight

  • โ€”Runs efficiently on CPU
  • โ€”Designed for experimentation and rapid iteration
  • โ€”Suitable for embedded or game-like environments

๐Ÿงช Research-Oriented Design

MiniAxion1 is not intended to compete with large-scale models. Instead, it is built to:

  • โ€”Study reasoning emergence in small models
  • โ€”Explore structure vs correctness trade-offs
  • โ€”Enable fast iteration cycles for AI research

๐Ÿ“Š Evaluation Results

TaskAccuracy
Arithmetic3.3%
Two-Step Arithmetic10.0%
Even/Odd100.0%
Comparison5.0%
Pattern Completion0.0%
Word Problems0.0%
Sorting0.0%
Chain-of-Thought Format100.0%

Average Accuracy: 16.9%


๐Ÿ” Observations

  • โ€”The model learns reasoning structure before reasoning correctness
  • โ€”Chain-of-thought formatting is highly reliable
  • โ€”Arithmetic and symbolic reasoning remain limited at this scale
  • โ€”Evidence of partial decoupling between reasoning steps and final answers

โš ๏ธ Limitations

  • โ€”Weak performance on arithmetic and multi-step reasoning tasks
  • โ€”Susceptible to incorrect intermediate reasoning steps
  • โ€”Limited generalization beyond trained patterns
  • โ€”Not suitable for production use in critical systems
  • โ€”Due to 920k parameters, low results on evaluation is expected

๐ŸŽฏ Intended Use Cases

  • โ€”๐Ÿงช AI research and experimentation
  • โ€”๐ŸŽฎ Game AI / NPC reasoning simulation
  • โ€”๐Ÿ“š Educational demonstrations of reasoning structure
  • โ€”โš™๏ธ Lightweight reasoning prototypes

Quick start

python

import torch
from model import NRMModel
from tokenizer import Tokenizer

# load
model = NRMModel.from_config("config.json")
model.load_state_dict(torch.load("model.pt"))
model.eval()

tokenizer = Tokenizer.load("tokenizer.json")

def generate(prompt):
    tokens = tokenizer.encode(prompt)
    output = model.generate(tokens)
    return tokenizer.decode(output)

print(generate("<INST>What is 2 + 2?</INST>"))

๐Ÿง  Philosophy

MiniAxion1 explores a key question:

Can structured reasoning emerge in extremely small models?

This model provides early evidence that:

  • โ€”Reasoning format can be learned efficiently
  • โ€”Structure and correctness are separable capabilities
  • โ€”Useful behavior can emerge even at sub-1M scale

๐Ÿ”ฎ Future Directions

  • โ€”Improved dataset alignment for arithmetic reasoning
  • โ€”Scaling parameters (1M โ†’ 10M range)
  • โ€”Better coupling between reasoning and answers
  • โ€”Task-specific specialization (e.g., math-only variants)
  • โ€”distillation knowledge on bigger models

๐Ÿค Acknowledgments

This model was developed as part of ongoing experimentation in nano-scale reasoning systems. the main question was: "How low could a model think(or mimic it)?


๐Ÿ“Ž Model

๐Ÿ‘‰ https://huggingface.co/AxionLab-Co/MiniAxion1-0.9M


๐Ÿงช Disclaimer

This is an experimental research model. Outputs may be incorrect even when reasoning appears structured or convincing.