Update README.md
Browse files123---license: apache-2.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196---license: apache-2.0language:- pt---**๐ง MiniAxion1.5-3M****Emergent reasoning in a 2.7M parameter model.A tiny Portuguese-first language model that learns how to think before it learns how to be correct.****๐ Overview**MiniAxion1.5-3M is an ultra-compact (~2.7M parameters) GPT-style language model designed to investigate reasoning emergence at extreme small scale.Unlike typical small models optimized for fluency, MiniAxion is explicitly trained to produce:Structured reasoning tracesStep-by-step thinking (<THINK><STEP>)Deterministic answer formattingIt operates primarily in Portuguese, making it a rare example of a non-English reasoning-first nano model.**โก Why This Model Is Interesting**Most models follow this trajectory:Language โ Knowledge โ ReasoningMiniAxion flips part of that:Structure โ Reasoning format โ (still learning correctness)**๐ก Key insight:**The model demonstrates that reasoning structure can emerge independently of reasoning accuracy.**๐งช Evaluation**Task PerformanceTask AccuracyAddition 10%Subtraction 10%Multiplication 0%Even/Odd 100%Comparison 5%Sequence Completion 0%Word Problems (Addition) 10%Word Problems (Subtraction) 0%Word Problems (Multiplication) 10%True/False 100%Chat/Greetings 100%**๐ง Reasoning Behavior Metrics**Metric ScoreThinking Rate 100%Step Format 100%Answer Completion 100%โ The model always thinksโ The model always structures reasoningโ The model always produces an answer**๐ Interpretation**MiniAxion exhibits a clear dissociation:โ What it learnedReasoning formatStep-by-step decompositionLogical task patterns (parity, boolean)โ What it did NOT learnArithmetic correctnessNumerical reasoningMulti-step computation**๐ฌ Core Finding**Reasoning โ CorrectnessMiniAxion shows that:Models can internalize thinking patternsWithout actually learning how to solve problemsThis makes it a strong candidate for studying:Emergent reasoningTiny Recursive Models (TRMs)Reasoning distillation**๐๏ธ Architecture**Type: GPT-style TransformerParameters: ~2.7MObjective: Next-token predictionLanguage: Portuguese (primary)Specialization: Structured reasoning traces**๐ง Training Strategy**The model was trained with a reasoning-first approach:Portuguese language groundingStructured reasoning data (<THINK><STEP>)Emphasis on:Deterministic formatsMulti-step thinkingExplicit reasoning tokens๐ซ No RLHF๐ซ No instruction tuning at scale๐ซ No large model distillation (yet)โ ๏ธ Limitations1. Arithmetic CollapseNear-random performance in:AdditionSubtractionMultiplicationโ Indicates lack of numerical representation learningStrong dependence on:Prompt formatToken patternsSeen reasoning templates**๐ฎ Future Work**This model is just the beginning.๐ Scaling5M / 10M / 20M versionsTrack emergence of correctness๐งช DistillationInject reasoning from larger modelsImprove accuracy without scaling params๐ Self-Play / Synthetic DataGenerate reasoning loopsReinforce correct chains๐งฉ Hybrid ReasoningCombine symbolic + neural learningFix arithmetic weakness๐งพ Example Output<THINK><STEP> Identifico os nรบmeros<STEP> Tento somar os valores<STEP> Ajusto o resultado</THINK><ANSWER> 74 </ANSWER>โ Perfect reasoning structureโ Incorrect answer**๐ก Takeaway**MiniAxion1.5-3M proves something important:Even a 2.7M model can learn to simulate thinking before it learns to actually think correctly.**๐ค Use Cases**Research on emergent reasoningTiny model experimentation (CPU-friendly)Educational demos of:Chain-of-ThoughtReasoning failure modesBase model for:DistillationNRM experiments
README.md+196-3