.tinystories-page * { box-sizing: border-box; }
.tinystories-page h1, .tinystories-page h2, .tinystories-page h3, .tinystories-page h4, .tinystories-page h5, .tinystories-page h6, .tinystories-page p, .tinystories-page ul, .tinystories-page ol, .tinystories-page li, .tinystories-page pre, .tinystories-page blockquote, .tinystories-page table, .tinystories-page td, .tinystories-page th { margin: 0; padding: 0; }
.tinystories-page {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--el-text-color-primary);
background: var(--el-bg-color);
line-height: 1.6;
}
.tinystories-page a { text-decoration: none; color: inherit; }
.tinystories-page a:hover { text-decoration: none; }
.tinystories-page ul { list-style: none; }
.markdown-body .tinystories-page a { color: inherit !important; text-decoration: none !important; }
.markdown-body .tinystories-page a:hover { text-decoration: none !important; }
.markdown-body .tinystories-page a.s-btn-primary,
.markdown-body .tinystories-page a.btn-cta-light { color: #ffffff !important; }
.markdown-body .tinystories-page a.s-btn-secondary { color: var(--el-text-color-primary) !important; }
.markdown-body .tinystories-page a.btn-cta-ghost { color: #94a3b8 !important; }
.markdown-body .tinystories-page a.btn-cta-ghost:hover { color: #e2e8f0 !important; }
.markdown-body .tinystories-page h1, .markdown-body .tinystories-page h2 { border-bottom: none !important; padding-bottom: 0 !important; }
.tinystories-page .s-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tinystories-page .s-container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.tinystories-page .s-container-wide { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.tinystories-page .s-section { padding: 80px 0; }
.tinystories-page .s-section-lg { padding: 100px 0; }
.tinystories-page .s-section-sm { padding: 48px 0; }
.tinystories-page .s-bg-white { background: var(--el-bg-color); }
.tinystories-page .s-bg-gray { background: var(--el-bg-color-page); }
.tinystories-page .s-bg-dark { background: #0f172a; color: #f8fafc; }
.tinystories-page .s-header { text-align: center; margin-bottom: 64px; }
.tinystories-page .s-header h2 {
font-size: clamp(28px, 4vw, 40px);
font-weight: 700;
color: var(--el-text-color-primary);
letter-spacing: normal;
margin-bottom: 20px;
line-height: 1.15;
}
.tinystories-page .s-header p {
font-size: clamp(16px, 2vw, 18px);
color: var(--el-text-color-regular);
max-width: 640px;
margin: 0 auto;
line-height: 1.6;
}
.tinystories-page .s-bg-dark .s-header h2 { color: #f8fafc; }
.tinystories-page .s-bg-dark .s-header p { color: var(--el-text-color-secondary); }
.tinystories-page .s-btn-primary {
display: inline-flex; align-items: center; gap: 6px;
padding: 14px 28px;
background: #ec4899; color: #ffffff !important;
border-radius: 9999px; font-size: 15px; font-weight: 600;
transition: background 0.2s, transform 0.15s;
border: none; cursor: pointer;
text-decoration: none !important;
}
.tinystories-page .s-btn-primary:hover { background: #db2777; transform: translateY(-1px); text-decoration: none !important; }
.tinystories-page .s-btn-secondary {
display: inline-flex; align-items: center; gap: 6px;
padding: 14px 28px;
background: var(--el-bg-color); color: var(--el-text-color-primary) !important;
border: 1px solid var(--el-border-color-light);
border-radius: 9999px; font-size: 15px; font-weight: 600;
transition: border-color 0.2s, background 0.2s;
cursor: pointer;
text-decoration: none !important;
}
.tinystories-page .s-btn-secondary:hover { background: var(--el-bg-color-page); text-decoration: none !important; }
.tinystories-hero {
padding: 100px 0 80px;
text-align: center;
background: var(--el-bg-color);
position: relative;
overflow: hidden;
}
.tinystories-hero::before {
content: '';
position: absolute;
top: -200px; left: 50%;
transform: translateX(-50%);
width: 900px; height: 500px;
background: radial-gradient(ellipse, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
pointer-events: none;
}
.tinystories-page .hero-badge {
display: inline-flex; align-items: center; gap: 8px;
padding: 6px 16px;
background: var(--el-bg-color-page); border: 1px solid var(--el-border-color-light);
border-radius: 9999px; font-size: 13px; font-weight: 600; color: var(--el-text-color-regular);
margin-bottom: 28px;
}
.tinystories-page .hero-badge .badge-dot {
width: 6px; height: 6px; background: #10b981; border-radius: 50%;
display: inline-block;
}
.tinystories-hero h1 {
font-size: clamp(36px, 5vw, 60px);
font-weight: 700; line-height: 1.05;
letter-spacing: normal; color: var(--el-text-color-primary);
margin-bottom: 20px;
position: relative;
}
.tinystories-hero h1 span { color: #ec4899; }
.tinystories-page .hero-subtitle {
font-size: clamp(16px, 2vw, 20px);
color: var(--el-text-color-regular); line-height: 1.6;
max-width: 620px; margin: 0 auto 56px;
position: relative;
}
.tinystories-page .hero-actions {
display: flex; gap: 12px; justify-content: center;
flex-wrap: wrap; margin-bottom: 56px; position: relative;
}
.tinystories-page .hero-highlights {
display: flex; align-items: center; justify-content: center;
gap: 16px; flex-wrap: wrap; position: relative;
}
.tinystories-page .hero-highlights .h-item { font-size: 14px; color: var(--el-text-color-regular); font-weight: 500; }
.tinystories-page .hero-highlights .h-div { width: 1px; height: 16px; background: var(--el-border-color-light); }
@media (max-width: 640px) 

{ .tinystories-page .hero-highlights .h-div { display: none; } .tinystories-page .hero-highlights { gap: 8px 16px; } .tinystories-page .hero-actions { flex-direction: column; align-items: center; } .tinystories-page .hero-actions a { width: 100%; max-width: 280px; justify-content: center; } } .tinystories-page .hero-cover { max-width: 720px; margin: 48px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.10); } .tinystories-page .hero-cover img { width: 100%; height: auto; display: block; } .tinystories-stats { padding: 48px 0; background: var(--el-bg-color-page); border-top: 1px solid var(--el-border-color-lighter); border-bottom: 1px solid var(--el-border-color-lighter); } .tinystories-page .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; } .tinystories-page .stat-icon { font-size: 28px; margin-bottom: 12px; } .tinystories-page .stat-val { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--el-text-color-primary); letter-spacing: normal; margin-bottom: 4px; } .tinystories-page .stat-lbl { font-size: 14px; color: var(--el-text-color-secondary); font-weight: 500; } @media (max-width: 768px) { .tinystories-page .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } } @media (max-width: 480px) { .tinystories-page .stats-grid { grid-template-columns: 1fr; gap: 20px; } } .tinystories-page .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .tinystories-page .feat-card { padding: 32px 28px; border: none; border-radius: 20px; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08); background: var(--el-bg-color); transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; } .tinystories-page .feat-card:hover { box-shadow: 0 8px 24px 0 rgba(0,0,0,0.12); transform: translateY(-2px); } .tinystories-page .feat-icon { font-size: 32px; margin-bottom: 16px; } .tinystories-page .feat-card h3 { font-size: 18px; font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 8px; } .tinystories-page .feat-card p { font-size: 15px; color: var(--el-text-color-regular); line-height: 1.6; } @media (max-width: 1024px) { .tinystories-page .features-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .tinystories-page .features-grid { grid-template-columns: 1fr; } } .tinystories-page .usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .tinystories-page .uc-card { padding: 28px 24px; background: var(--el-bg-color); border: none; border-radius: 20px; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08); text-align: center; transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s; } .tinystories-page .uc-card:hover { box-shadow: 0 8px 24px 0 rgba(0,0,0,0.12); transform: translateY(-2px); } .tinystories-page .uc-icon { font-size: 36px; margin-bottom: 16px; } .tinystories-page .uc-card h3 { font-size: 17px; font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 8px; } .tinystories-page .uc-card p { font-size: 14px; color: var(--el-text-color-regular); line-height: 1.6; } @media (max-width: 1024px) { .tinystories-page .usecases-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .tinystories-page .usecases-grid { grid-template-columns: 1fr; } } .tinystories-page .code-wrap { border-radius: 16px !important; overflow: hidden !important; border: 1px solid #334155 !important; background: #0f172a !important; max-width: 860px; margin: 0 auto; } .markdown-body .tinystories-page .code-wrap { border-radius: 16px !important; overflow: hidden !important; border: 1px solid #334155 !important; background: #0f172a !important; } .tinystories-page .code-bar { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 12px 20px !important; background: #1e293b !important; border-bottom: 1px solid #334155 !important; } .tinystories-page .code-dots { display: flex; gap: 6px; } .tinystories-page .code-dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .tinystories-page .code-dots .r { background: #ef4444; } .tinystories-page .code-dots .y { background: #f59e0b; } .tinystories-page .code-dots .g { background: #10b981; } .tinystories-page .code-lang { font-size: 12px; color: var(--el-text-color-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } .tinystories-page .code-block { padding: 24px !important; margin: 0 !important; overflow-x: auto !important; font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace !important; font-size: 13.5px !important; line-height: 1.7 !important; color: #e2e8f0 !important; white-space: pre !important; background: transparent !important; border: none !important; border-radius: 0 !important; } .markdown-body .tinystories-page .code-block { padding: 24px !important; margin: 0 !important; overflow-x: auto !important; font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace !important; font-size: 13.5px !important; line-height: 1.7 !important; color: #e2e8f0 !important; white-space: pre !important; background: transparent !important; border: none !important; border-radius: 0 !important; } .tinystories-page .steps-row { display: flex; align-items: flex-start; justify-content: center; margin-bottom: 48px; } .tinystories-page .stp-card { flex: 1; max-width: 320px; text-align: center; padding: 0 24px; } .tinystories-page .stp-num { font-size: clamp(48px, 6vw, 72px); font-weight: 700; color: #e2e8f0; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; } .tinystories-page .stp-card h3 { font-size: 18px; font-weight: 700; color: var(--el-text-color-primary); margin-bottom: 10px; } .tinystories-page .stp-card p { font-size: 15px; color: var(--el-text-color-regular); line-height: 1.6; } .tinystories-page .stp-conn { width: 60px; height: 2px; background: var(--el-border-color-light); margin-top: 36px; flex-shrink: 0; } .tinystories-page .steps-cta { text-align: center; } @media (max-width: 768px) { .tinystories-page .steps-row { flex-direction: column; align-items: center; gap: 32px; } .tinystories-page .stp-conn { width: 2px; height: 32px; margin: 0; } .tinystories-page .stp-card { max-width: 100%; } } .tinystories-cta { padding: 100px 0; background: #500724; text-align: center; position: relative; overflow: hidden; } .tinystories-cta::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(ellipse, rgba(236, 72, 153, 0.12) 0%, transparent 70%); pointer-events: none; } .tinystories-cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: #fce7f3; letter-spacing: normal; margin-bottom: 28px; position: relative; } .tinystories-cta > div > p { font-size: clamp(16px, 2vw, 18px); color: #f9a8d4; max-width: 520px; margin: 0 auto 56px; line-height: 1.6; position: relative; } .tinystories-page .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; } .tinystories-page .btn-cta-light { display: inline-flex; align-items: center; gap: 6px; padding: 14px 32px; background: #ec4899; color: #ffffff !important; border-radius: 9999px; font-size: 15px; font-weight: 700; transition: background 0.2s, transform 0.15s; text-decoration: none !important; } .tinystories-page .btn-cta-light:hover { background: #db2777; transform: translateY(-1px); text-decoration: none !important; } .tinystories-page .btn-cta-ghost { display: inline-flex; align-items: center; padding: 14px 32px; background: transparent; color: #f9a8d4 !important; border: 1px solid #831843; border-radius: 9999px; font-size: 15px; font-weight: 600; transition: border-color 0.2s, color 0.2s; text-decoration: none !important; } .tinystories-page .btn-cta-ghost:hover { border-color: #f472b6; color: #fce7f3 !important; text-decoration: none !important; } .tinystories-page code { background: #fdf2f8 !important; padding: 2px 8px !important; border-radius: 5px !important; font-size: 13px !important; font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace !important; color: #831843 !important; border: 1px solid #f9a8d4 !important; } .tinystories-page .s-text-dark { color: var(--el-text-color-primary); } .tinystories-page .s-text-brand { color: #ec4899; } .tinystories-page .s-section-body { font-size: 16px; color: var(--el-text-color-regular); line-height: 1.8; text-align: center; max-width: 680px; margin: 0 auto; } .tinystories-page .s-section-body p + p { margin-top: 16px; } .tinystories-page .tag-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; } .tinystories-page .tag-item

{
padding: 4px 12px; background: var(--el-bg-color-page);
border: 1px solid var(--el-border-color-light); border-radius: 9999px;
font-size: 12px; font-weight: 600; color: var(--el-text-color-regular);
}
html.dark .tinystories-page { background: var(--el-bg-color); color: var(--el-text-color-primary); }
html.dark .tinystories-page a { color: inherit; }
html.dark .markdown-body .tinystories-page a { color: inherit !important; }
html.dark .markdown-body .tinystories-page a.s-btn-primary,
html.dark .markdown-body .tinystories-page a.btn-cta-light { color: #ffffff !important; }
html.dark .markdown-body .tinystories-page a.s-btn-secondary { color: var(--el-text-color-primary) !important; }
html.dark .markdown-body .tinystories-page a.btn-cta-ghost { color: #f9a8d4 !important; }
html.dark .markdown-body .tinystories-page a.btn-cta-ghost:hover { color: #fce7f3 !important; }
html.dark .tinystories-page .s-bg-white { background: var(--el-bg-color); }
html.dark .tinystories-page .s-bg-gray { background: var(--el-bg-color-page); }
html.dark .tinystories-page .s-bg-dark { background: var(--el-bg-color); }
html.dark .tinystories-page .s-header h2 { color: var(--el-text-color-primary); }
html.dark .tinystories-page .s-header p { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .s-btn-primary { background: #ec4899; color: #ffffff !important; }
html.dark .tinystories-page .s-btn-primary:hover { background: #db2777; }
html.dark .tinystories-page .s-btn-secondary {
background: #1e293b; color: var(--el-text-color-primary) !important;
border-color: #475569;
}
html.dark .tinystories-page .s-btn-secondary:hover { background: var(--el-border-color); border-color: var(--el-text-color-regular); }
html.dark .tinystories-hero { background: var(--el-bg-color); }
html.dark .tinystories-hero::before {
background: radial-gradient(ellipse, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
}
html.dark .tinystories-page .hero-badge { background: var(--el-bg-color-page); border-color: var(--el-border-color); color: var(--el-text-color-secondary); }
html.dark .tinystories-hero h1 { color: var(--el-text-color-primary); }
html.dark .tinystories-hero h1 span { color: #f472b6; }
html.dark .tinystories-page .hero-subtitle { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .hero-highlights .h-item { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .hero-highlights .h-div { background: var(--el-border-color); }
html.dark .tinystories-stats { background: var(--el-bg-color-page); border-color: var(--el-border-color); }
html.dark .tinystories-page .stat-val { color: var(--el-text-color-primary); }
html.dark .tinystories-page .stat-lbl { color: var(--el-text-color-regular); }
html.dark .tinystories-page .feat-card {
background: var(--el-bg-color-page); border-color: var(--el-border-color);
}
html.dark .tinystories-page .feat-card:hover { border-color: var(--el-text-color-regular); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
html.dark .tinystories-page .feat-card h3 { color: var(--el-text-color-primary); }
html.dark .tinystories-page .feat-card p { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .uc-card { background: var(--el-bg-color-page); border-color: var(--el-border-color); }
html.dark .tinystories-page .uc-card:hover { border-color: var(--el-text-color-regular); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
html.dark .tinystories-page .uc-card h3 { color: var(--el-text-color-primary); }
html.dark .tinystories-page .uc-card p { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .stp-num { color: #334155; }
html.dark .tinystories-page .stp-card h3 { color: var(--el-text-color-primary); }
html.dark .tinystories-page .stp-card p { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .stp-conn { background: var(--el-border-color); }
html.dark .tinystories-page code {
background: #500724 !important; color: #f472b6 !important; border-color: #831843 !important;
}
html.dark .tinystories-page .s-text-dark { color: var(--el-text-color-primary); }
html.dark .tinystories-page .s-text-brand { color: #f472b6; }
html.dark .tinystories-page .s-section-body { color: var(--el-text-color-secondary); }
html.dark .tinystories-page .tag-item { background: var(--el-border-color); border-color: var(--el-text-color-regular); color: var(--el-text-color-secondary); }
html.dark .tinystories-cta { background: #500724; }
html.dark .tinystories-cta::before {
background: radial-gradient(ellipse, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
}
html.dark .tinystories-page .btn-cta-light { color: #ffffff !important; }
html.dark .tinystories-page .btn-cta-ghost { color: #f9a8d4 !important; }
html.dark .tinystories-page .btn-cta-ghost:hover { color: #fce7f3 !important; }
</style>
<div class="tinystories-page">
<section class="tinystories-hero">
<div class="s-container-narrow">
<div class="hero-badge">
<span class="badge-dot"></span>
TinyStories Dataset
</div>
<h1>
TinyStories<br/><span>Dataset</span>
</h1>
<p class="hero-subtitle">
A dataset of 2.14 million synthetic short stories generated by Microsoft Research using GPT-3.5 and GPT-4, specifically designed for training small language models. It demonstrates that a model with only 10 million parameters can generate fluent and coherent English stories. MIT License.

2.14 million stories Generated by GPT-3.5/4 MIT License Microsoft Research
📚
2.14M
Total stories
🤖
GPT-3.5/4
Generation model
📜
MIT
Open source license
🔬
Microsoft
Produced by Microsoft Research

Dataset Highlights

A high-quality synthetic story dataset designed for training small language models

🎯

Focus on small models

Designed for training small language models (10M-100M parameters), demonstrating that small models can generate fluent and coherent English text when trained on appropriate data.

Synthetic high quality

Generated using GPT-3.5 and GPT-4, each story is guided by carefully designed prompts to ensure narrative quality and linguistic diversity.

🧒

Simple vocabulary

Utilizes vocabulary and grammatical structures understandable by 3-4 year old children, reducing language complexity to make it easier for small models to learn the basic patterns of language.

📖

Coherent narrative

Each story contains a complete narrative structure—beginning, development, and ending, helping models learn the logical reasoning abilities of storytelling.

🌈

Diverse themes

Covers a rich variety of themes such as friendship, adventure, animals, family, and nature, ensuring content diversity through random combinations of keywords and story features.

🏛️

MIT Open Source

Adopts the MIT license, allowing free use for commercial and academic purposes without worrying about licensing restrictions, suitable for various research and application scenarios.

Applicable Scenarios

Empowering small language models in various directions from cutting-edge research to educational applications

🧠

Small LM training

Train small language models with 10M-100M parameters to achieve fluent text generation capabilities under resource-constrained conditions

🔬

Language model research

Study the scaling laws of language models, the impact of data quality on model performance, and the minimum scale threshold for emergent capabilities

🎓

Educational AI

Develop AI applications for children's education, such as automatic story generation, reading assistance, and language learning tools

Efficient model development

Rapidly iterate model architectures and training strategies on consumer-grade hardware, lowering the computational barriers for NLP research

NLP stories small-models synthetic education

API Call Example

Quickly access the TinyStories dataset via API

BASH
curl -X GET "https://api.acedata.cloud/datasets/tinystories" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"
# Response
{
"name": "TinyStories",
"description": "2.14M synthetic short stories generated by GPT-3.5/GPT-4",
"license": "MIT",
"source": "Microsoft Research",
"total_stories": 2140000,
"format": "text",
"language": "en"
}

3 Steps to Get Started Quickly

From browsing to training, you can start your small model research in just a few minutes

01

Browse the Dataset

View the details of the TinyStories dataset on the Ace Data Cloud platform to understand the data scale, generation method, and licensing agreement.

02

Download the Data

Obtain 2.14 million synthetic short stories via the API, with a simple data format that is ready to use without additional cleaning.

03

Load and Train

Use datasets.load_dataset() to load the data and start training your small language model.

Start Exploring the TinyStories Dataset

2.14 million high-quality synthetic stories, available under MIT open-source license, ready for immediate access. Whether you are an NLP researcher or an AI education developer, this dataset is an ideal choice for training small language models.