Skip to content
#

small-language-models

Here are 57 public repositories matching this topic...

This Repository provides a Jupyter Notebook for building a small language model from scratch using 'TinyStories' dataset. Covers data preprocessing, BPE tokenization, binary storage, GPU memory management, and training a Transformer in PyTorch. Generate sample stories to test your model. Ideal for learning NLP and PyTorch.

  • Updated Jun 7, 2025
  • Jupyter Notebook

Improve this page

Add a description, image, and links to the small-language-models topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the small-language-models topic, visit your repo's landing page and select "manage topics."

Learn more