TinyLlama: The Era of Small Language Models is Here

9 Jan 2024 · 16 min
16:01

TinyLlama is a 1.1 billion parameter open-source model that runs on phones and CPUs. Built with Llama 2's architecture and trained on Slim Pajama and StarCoder data, it outperforms other models its size and includes full training and inference code. The video walks through its engineering and shows the chat-tuned version in action.

Questions this video answers

Approximately 1.1 billion parameters.

Speaker states ~1 trillion tokens for ~3 epochs; the speaker also cites a total pretraining dataset size of ~950 billion tokens (majority natural language).

Natural-language: Slim Pajama (subset of Red Pajama). Code: StarCoder dataset (~250 billion code tokens across 86 languages).

Around 3,456 A100 GPU hours.

Speaker cites Pythia 1.0B at ~5,000 GPU hours and an MPT model of similar size at ~8,000 GPU hours for similar training workloads.

Chapters

More from LARRUZ

8:49
youtube.com

OpenAI’s New AI Is Doing Things We Barely Understand

3d ago
5:38
youtube.com

DeepSeek Solved AI’s Memory Problem

4d ago
33:17
youtube.com

DeepMind's New AI Just Cracked The Code Of Life

1w ago
3:43
youtube.com

The Billion Dollar AI Advantage Is Disappearing

1w ago
5:14
youtube.com

Claude Opus 5.5 AI: An Incredible Leap Forward

3w ago
5:16
youtube.com

Yes, Jev Is Insane, But There's A Catch

3w ago
5:11
youtube.com

DeepSeek’s Insane New Architecture

4w ago
4:16
youtube.com

Claude Is Now Leaving Invisible Fingerprints In Its Text

1mo ago
9:18
youtube.com

I Never Thought I’d See This Happen

1mo ago
5:22
youtube.com

GPT-6 Astra Changes Everything

1mo ago
4:55
youtube.com

Claude Fable AI Is Much Stranger Than The Headlines Suggest

1mo ago
See all content