thepowerfuldeez/imu1_base

Model

IMU-1 Base

3

7 commits

1 linked in READMEs

updated Feb 4, 2026

See the code

README

IMU-1 Base

This repository contains the IMU-1 Base model, a sample-efficient 430M parameter language model introduced in the paper IMU-1: Sample-Efficient Pre-training of Small Language Models.

IMU-1 is trained on 72B tokens and approaches the benchmark performance of models trained on 56× more data.

Model Details

ParameterValue
Parameters430M
Hidden dim1,152
Layers30
Attention heads18
KV heads (GQA)6
Vocab size49,152
Max context1,152
Training tokens72B

Architecture

IMU-1 uses a validated recipe combining recent advances:

  • QK-norm attention with learnable scale
  • Per-head gating (sigmoid-based)
  • Value residual learning
  • LayerNorm scaling (depth-dependent)
  • GQA (grouped query attention)
  • SwiGLU activation
  • RoPE positional encoding

Training

  • Optimizer: NorMuon with cautious weight decay, muP parametrization
  • Schedule: Three-stage WSD (Warmup-Stable-Decay)
  • Post-processing: Checkpoint EMA (β=0.8)

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "thepowerfuldeez/imu1_base",
    trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("thepowerfuldeez/imu1_base")

text = "The quick brown fox"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0]))

Note: This model uses custom modeling code. You must pass trust_remote_code=True when loading.

Benchmark Results

BenchmarkScore
HellaSwag (0-shot)51.1
ARC-Easy71.4
ARC-Challenge41.1
PIQA70.2
Lambada (OpenAI)51.3
Winograd74.7
WinoGrande55.2
BoolQ59.5
CORE (centered)30.2

Training Stages

StageIterationsTokensData
1. Stable100k29BDCLM-edu, FineWeb-edu
2. Decay100k28BHigher quality filters
3. Midtrain65k14BInstruction, reasoning, code

Resources

Citation

@misc{grigorev2026imu1sampleefficientpretrainingsmall,
      title={IMU-1: Sample-Efficient Pre-training of Small Language Models}, 
      author={George Grigorev},
      year={2026},
      eprint={2602.02522},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2602.02522}, 
}

License

Apache 2.0

conversational
custom_code
imu_1
language-model
pretraining
safetensors
sample-efficient
text-generation
transformer
transformers

Contributors

thepowerfuldeez/imu1_base

Model

IMU-1 Base

3

7 commits

1 linked in READMEs

updated Feb 4, 2026

See the code

README

IMU-1 Base

This repository contains the IMU-1 Base model, a sample-efficient 430M parameter language model introduced in the paper IMU-1: Sample-Efficient Pre-training of Small Language Models.

IMU-1 is trained on 72B tokens and approaches the benchmark performance of models trained on 56× more data.

Model Details

ParameterValue
Parameters430M
Hidden dim1,152
Layers30
Attention heads18
KV heads (GQA)6
Vocab size49,152
Max context1,152
Training tokens72B

Architecture

IMU-1 uses a validated recipe combining recent advances:

  • QK-norm attention with learnable scale
  • Per-head gating (sigmoid-based)
  • Value residual learning
  • LayerNorm scaling (depth-dependent)
  • GQA (grouped query attention)
  • SwiGLU activation
  • RoPE positional encoding

Training

  • Optimizer: NorMuon with cautious weight decay, muP parametrization
  • Schedule: Three-stage WSD (Warmup-Stable-Decay)
  • Post-processing: Checkpoint EMA (β=0.8)

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "thepowerfuldeez/imu1_base",
    trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained("thepowerfuldeez/imu1_base")

text = "The quick brown fox"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0]))

Note: This model uses custom modeling code. You must pass trust_remote_code=True when loading.

Benchmark Results

BenchmarkScore
HellaSwag (0-shot)51.1
ARC-Easy71.4
ARC-Challenge41.1
PIQA70.2
Lambada (OpenAI)51.3
Winograd74.7
WinoGrande55.2
BoolQ59.5
CORE (centered)30.2

Training Stages

StageIterationsTokensData
1. Stable100k29BDCLM-edu, FineWeb-edu
2. Decay100k28BHigher quality filters
3. Midtrain65k14BInstruction, reasoning, code

Resources

Citation

@misc{grigorev2026imu1sampleefficientpretrainingsmall,
      title={IMU-1: Sample-Efficient Pre-training of Small Language Models}, 
      author={George Grigorev},
      year={2026},
      eprint={2602.02522},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2602.02522}, 
}

License

Apache 2.0

conversational
custom_code
imu_1
language-model
pretraining
safetensors
sample-efficient
text-generation
transformer
transformers

Contributors