YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

I present to you my first proper sub-100M model. I've gained a lot of experience on how LLMs work over the years, and this is the result. I've been researching for ways to train the most data-efficient models possible, and this is the first iteration of something-something, my new family of models. v1 is a 75M parameter model, with comparable performance to models that were trained on 15-4000x more compute!

Performance

This model was trained on a T4 for 62 minutes! Good performance overall, obviously far behind the other great models made by the community, but we're getting there.

something-something KLM-1.6 Sekai-1 Supra2.5-Pro-Base Mantis-50M-Base KeyLM-75M Archaea-74M Pythia-70M
General Information
Provider aquilesfd Minima Labs 8BitStudio SupraLabs kash8080 Eclipse-Senpai GODELEV EleutherAI
Parameters 75.4M 99.0M 95.6M 67.0M 49.3M 75.3M 74.0M 70.0M
Training tokens 75M ~198B 58.5B 100B 8.9B 18B 1.23B 300B
Training compute (FLOPs) 2.7e16 1.2e20 3.4e19 4.0e19 2.6e18 8.1e18 5.5e17 1.3e20
Open SLM Leaderboard
HellaSwag 32.25 45.28 40.48 34.33 34.24 29.66 27.27 27.49
ARC-Easy 35.27 61.07 58.33 51.09 44.61 35.73 39.06 31.65
ARC-Challenge 22.44 33.53 28.50 26.02 26.37 23.98 22.70 23.63
PIQA 56.64 70.18 68.44 63.22 65.89 60.50 58.27 53.48
ArithMark-3 36.30 55.90 41.00 38.10 35.30 30.10 35.50 27.00
Intelligence Index 10.38 33.95 26.28 18.71 18.36 10.44 10.00 4.26
BETU
ARC-Challenge 22.44 33.53 28.50 26.02 26.37 23.98 22.70 23.63
ArithMark-3 36.30 55.90 41.00 38.10 35.30 30.10 35.50 27.00
Tiny Theory of Mind 31.15 β€” β€” β€” β€” β€” β€” β€”
BETU Index -8.68 β€” β€” β€” β€” β€” β€” β€”
MESA
HellaSwag 32.25 45.28 40.48 34.33 34.24 29.66 27.27 27.49
ARC-Easy 35.27 61.07 58.33 51.09 44.61 35.73 39.06 31.65
PIQA 56.64 70.18 68.44 63.22 65.89 60.50 58.27 53.48
MESA Index 12.21 38.50 33.99 24.56 23.42 13.84 12.77 6.38
something-something KLM-1.6 Sekai-1 Supra2.5-Pro-Base Mantis-50M-Base KeyLM-75M Archaea-74M Pythia-70M
Training compute (FLOPs) 2.7e16 1.2e20 3.4e19 4.0e19 2.6e18 8.1e18 5.5e17 1.3e20
Intelligence Index per 10¹⁸ FLOPs 382 0.289 0.783 0.466 6.97 1.28 18.3 0.0338
BETU Index per 10¹⁸ FLOPs -319 β€” β€” β€” β€” β€” β€” β€”
MESA Index per 10¹⁸ FLOPs 449 0.327 1.01 0.611 8.89 1.7 23.4 0.0507
Intelligence Index per 1B tokens 138 0.171 0.449 0.187 2.06 0.58 8.13 0.0142

Efficiency

It's quite efficient, not a lot to say here.

efficiency

Inference

import tiktoken
from something_something import SomethingSomethingForCausalLM

model = SomethingSomethingForCausalLM.from_pretrained(".")
enc = tiktoken.get_encoding("gpt2")
ids = model.generate(enc.encode_ordinary("Once upon a time,"), max_new_tokens=60, temperature=0.7, top_k=40)
print(enc.decode(ids))

Architecture

The model gets 13 layers of depth from 7 layers of weights by with a 3-layer loop block that's ran 3 times. about 2/3 of the 75.4M parameters sit in the untied embedding and output head. Training started with 1 loop, moved to 2 at 25% of the steps and to 3 at 60%. This helped the model adapt quite smoothly.

architecture

Training Loss

Loss fell quite rapidly at the start, and fell even more throughout the run! This was definitely a good run

loss

loss vs tokens

Data

This is where it shines: it was trained on 75M tokens, thus 1 token per parameter. 20x below Chinchilla

training tokens by source

training tokens by domain

Limitations

I've noticed this model won't usually form coherent sentences, it takes a lot of luck for you to get somewhere with it, which is expected. When asking it what is the capital of Paris, it tells me it's the country of the country of the country of the country of the country of... you get what i mean.

Future models

Future iterations of something-something will focus on making models that are smaller, with more tokens per parameter but keeping a low absolute token count. I also think breakthroughs in attention and looping will get us to the big gold mine.

Downloads last month
-
Safetensors
Model size
75.4M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support