HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Textbooks Are All You Need II: phi-1.5 technical report

Yuanzhi Li; Sébastien Bubeck; Ronen Eldan; Allie Del Giorno; Suriya Gunasekar; Yin Tat Lee

Textbooks Are All You Need II: phi-1.5 technical report

Abstract

We continue the investigation into the power of smaller Transformer-based language models as initiated by \textbf{TinyStories} -- a 10 million parameter model that can produce coherent English -- and the follow-up work on \textbf{phi-1}, a 1.3 billion parameter model with Python coding performance close to the state-of-the-art. The latter work proposed to use existing Large Language Models (LLMs) to generate textbook quality" data as a way to enhance the learning process compared to traditional web data. We follow theTextbooks Are All You Need" approach, focusing this time on common sense reasoning in natural language, and create a new 1.3 billion parameter model named \textbf{phi-1.5}, with performance on natural language tasks comparable to models 5x larger, and surpassing most non-frontier LLMs on more complex reasoning tasks such as grade-school mathematics and basic coding. More generally, \textbf{phi-1.5} exhibits many of the traits of much larger LLMs, both good -- such as the ability to ``think step by step" or perform some rudimentary in-context learning -- and bad, including hallucinations and the potential for toxic and biased generations -- encouragingly though, we are seeing improvement on that front thanks to the absence of web data. We open-source \textbf{phi-1.5} to promote further research on these urgent topics.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
code-generation-on-mbppphi-1.5-web 1.3B
Accuracy: 43.5
common-sense-reasoning-on-arc-challengephi-1.5-web 1.3B (zero-shot)
Accuracy: 44.9
common-sense-reasoning-on-arc-easyphi-1.5-web 1.3B (0-shot)
Accuracy: 76.1
common-sense-reasoning-on-winograndephi-1.5-web 1.3B (zero-shot)
Accuracy: 74.0
multi-task-language-understanding-on-mmluphi-1.5-web 1.3B
Average (%): 37.9
question-answering-on-piqaphi-1.5-web (1.3B)
Accuracy: 77
question-answering-on-social-iqaphi-1.5 1.3B (zero-shot)
Accuracy: 52.6
question-answering-on-social-iqaphi-1.5-web 1.3B (zero-shot)
Accuracy: 53.0

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Textbooks Are All You Need II: phi-1.5 technical report | Papers | HyperAI