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.
☆40Jun 7, 2025Updated 11 months ago
Alternatives and similar repositories for Building-a-Small-Language-Model-SLM-
Users that are interested in Building-a-Small-Language-Model-SLM- are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- NLP, Transformers, LLMs and stuff like that☆10Sep 16, 2023Updated 2 years ago
- Plain Old Callbacks in new Cloak - An extension system for Julia☆13Jan 29, 2024Updated 2 years ago
- Simple Vector DB is a lightweight, efficient database for high-dimensional vectors. It supports dynamic operations like insertion, update…☆36Sep 24, 2024Updated last year
- A third-party iOS keyboard that integrates with AI providers to offer text adjustment and rewriting capabilities.☆30Mar 1, 2026Updated 2 months ago
- ☆21Oct 13, 2020Updated 5 years ago
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Coq & Haskell code for Calculating Correct Compilers II☆12Feb 22, 2022Updated 4 years ago
- Inter-process communication for Julia☆27Apr 18, 2026Updated last month
- ☆14Mar 14, 2025Updated last year
- A SwiftUI design library for custom fonts and colors. A Kitchen Sink app demoing custom colors and fonts applied from the SwiftUI design …☆15Jun 27, 2023Updated 2 years ago
- Zero Memory Widget☆10Dec 30, 2020Updated 5 years ago
- Integrate Julia and Javascript with Node.js extensions.☆29Jul 29, 2020Updated 5 years ago
- Incremental View Maintenance support for DuckDB☆16Oct 24, 2023Updated 2 years ago
- LLM inference in C/C++☆32May 12, 2026Updated last week
- gRPC framework for Julia☆28Mar 29, 2021Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Time Series Forecasting using Transformer Neural Network☆26Aug 23, 2024Updated last year
- ☆76Nov 20, 2025Updated 5 months ago
- ☆29Dec 5, 2025Updated 5 months ago
- The fastest way to install llama.cpp☆26May 8, 2026Updated last week
- an iOS app that fetch restaurants from API and let the user order the meals he/she want☆16Nov 13, 2019Updated 6 years ago
- k for BareMetal☆13Dec 10, 2024Updated last year
- Git sub-command to inform on the byte size of aspects of a Git clone☆13Aug 13, 2023Updated 2 years ago
- ☆13Aug 26, 2024Updated last year
- DDD-related prompts and rules to use with your favourite coding assistants☆37Jun 22, 2025Updated 10 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- A Language Extension for VS Code that adds syntax highlighting for the Motorola 68k and its variants. Supports multiple assemblers.☆13May 27, 2021Updated 4 years ago
- A application for demonstration of charts and graphs in flutter☆13Mar 10, 2020Updated 6 years ago
- Integrating neurosymbolic representations into LLMs for interpretability, steering, and running symbolic algorithms☆14Feb 2, 2026Updated 3 months ago
- Ultimate AI research and engineering course☆34Jul 21, 2025Updated 9 months ago
- C# / WPF TV Viewing Tracker☆46Aug 28, 2025Updated 8 months ago
- This is the final project for the data engineering class at Duke University.☆25Nov 19, 2020Updated 5 years ago
- iAmiga sources☆10Feb 3, 2024Updated 2 years ago
- Predicting Carbon Intensity from Grid Frequency Data Using FFT Analysis and Gradient Boosted Regression☆29Dec 10, 2025Updated 5 months ago
- GWR Toolbox☆14Jan 28, 2019Updated 7 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- ALS Prolog Compiler & Development Environment☆18Feb 21, 2026Updated 2 months ago
- CHR2 to SQL conversion☆15Aug 27, 2015Updated 10 years ago
- Cloud gaming on EC2 spot instances with Parsec☆12Jul 1, 2019Updated 6 years ago
- A language-agnostic JSON-encoded instruction-by-instruction test suite for the 68000.☆11May 14, 2024Updated 2 years ago
- Amiga DF0: / DF1: (_SEL0/_SEL1) internal automatic drive switch using Arduino Pro Mini and minimal hardware.☆12Mar 2, 2018Updated 8 years ago
- a list of common dinosaur names☆46Dec 10, 2022Updated 3 years ago
- UTF-8 Handling in Standard ISO-C11☆12Dec 12, 2023Updated 2 years ago