vix.ing · top · new · best · stats

TinyLlama: An Open-Source Small Language Model

2024/01/04 by Peiyuan Zhang, Zhang, Peiyuan, Guangtao Zeng +5 · 1 voice · 186 citations
Computer Science · #Algorithms and Data Compression #Archaeology #Architecture #Artificial intelligence #Code (set theory) #Computer science #Downstream (manufacturing) #Language model #Natural Language Processing Techniques #Open source #Programming language #Set (abstract data type) #Software #Source code #Topic Modeling #World Wide Web #cs.AI #cs.CL

paper · pdf · doi:10.48550/arxiv.2401.02385

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2024/01/04 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/01

Abstract

We present TinyLlama, a compact 1.1B language model pretrained on around 1 trillion tokens for approximately 3 epochs. Building on the architecture and tokenizer of Llama 2, TinyLlama leverages various advances contributed by the open-source community (e.g., FlashAttention and Lit-GPT), achieving better computational efficiency. Despite its relatively small size, TinyLlama demonstrates remarkable performance in a series of downstream tasks. It significantly outperforms existing open-source language models with comparable sizes. Our model checkpoints and code are publicly available on GitHub at https://github.com/jzhang38/TinyLlama.

Cited by

Discussions

Related