paper-with-me

홈 › Papers

TinyLlama: An Open-Source Small Language Model

2024-01-04 · Peiyuan Zhang, Guangtao Zeng, Tianduo Wang, Wei Lu

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.

📄 PDF Abstract BibTeX arXiv:2401.02385

Code (2)

Lightning-AI/lit-gpt 공식 구현 pytorch
jzhang38/tinyllama 공식 구현 pytorch

Tasks

Computational EfficiencyLanguage ModelingLanguage ModellingmodelSmall Language Model

Similar Papers 제목 키워드 기반

TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguese

2024-01-30 · Nicholas Kluge Corrêa, Sophia Falk, Shiza Fatimah, Aniket Sen 외

Large language models (LLMs) have significantly advanced natural language processing, but their progress has yet to be equal across languages. While most LLMs are trained in high-resource languages like English, multilin…

Text Generation

Characterizing and Understanding Energy Footprint and Efficiency of Small Language Model on Edges

2025-11-07 · Md Romyull Islam, Bobin Deng, Nobel Dhar, Tu N. Nguyen 외 arxiv

Cloud-based large language models (LLMs) and their variants have significantly influenced real-world applications. Deploying smaller models (i.e., small language models (SLMs)) on edge devices offers additional advantage…

Multi-Dimensional Prompt Chaining to Improve Open-Domain Dialogue Generation

2026-01-03 · Livia Leong Hui Teng arxiv

Small language models (SLMs) offer significant deployment advantages but often struggle to match the dialogue quality of larger models in open-domain settings. In this paper, we propose a multi-dimensional prompt-chainin…

Dialogue Generation

Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning

2023-10-10 · Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi Chen

The popularity of LLaMA (Touvron et al., 2023a;b) and other recently emerged moderate-sized large language models (LLMs) highlights the potential of building smaller yet powerful LLMs. Regardless, the cost of training su…

Language ModelingLanguage ModellingQuestion AnsweringSentence Completion

Exploring the Readiness of Prominent Small Language Models for the Democratization of Financial Literacy

2024-10-09 · Tagore Rao Kosireddy, Jeffrey D. Wall, Evan Lucas

The use of small language models (SLMs), herein defined as models with less than three billion parameters, is increasing across various domains and applications. Due to their ability to run on more accessible hardware an…

Few-Shot LearningQuestion Answering