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.
☆80Jun 7, 2025Updated last year
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:
- Social Network Analysis and STEM Education is designed to prepare researchers to apply network analysis in order to better understand and…☆17Jul 14, 2025Updated last year
- Training a small language model from scratch on student lecture commentary☆11Jun 22, 2024Updated 2 years ago
- Precision Knowledge Editing (PKE): A novel method to reduce toxicity in LLMs while preserving performance, with robust evaluations and ha…☆14Nov 26, 2024Updated 2 years ago
- ☆15Jun 13, 2025Updated last year
- Training Small Language Model☆29Dec 26, 2023Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Boilerplate code for building projects using Python, Flask and React☆17Oct 19, 2026Updated last month
- ☆19Feb 16, 2026Updated 9 months ago
- This is the code for my "Gesture Controlled 5 DOF Robotic Arm using Computer Vision" project. It uses the Python OpenCV library to recog…☆14Sep 7, 2020Updated 6 years ago
- This is an industrial robotic arm, which will pick different types of objects (only color in this project) and classified with computer v…☆12Aug 28, 2025Updated last year
- ☆15Sep 14, 2024Updated 2 years ago
- a console voice chat application using small Language Models on CPU☆26Mar 7, 2025Updated last year
- RLM (Recursive Language Model) extension for pi - process large context files that exceed LLM context windows☆21Feb 8, 2026Updated 9 months ago
- Wrap any element and watch a swarm of cursor agents draw its frame and type its text in. React component + framework-free core.☆25Nov 8, 2026Updated 2 weeks ago
- Python API for KB data-services☆20Jan 30, 2020Updated 6 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Implementation of active ragdoll npcs in Godot with GDScript☆12Oct 31, 2019Updated 7 years ago
- Production setup/configuration for ALICE (Run3) Data processing and Monte Carlo☆10Updated this week
- ☆16Oct 25, 2026Updated last month
- Give Pi an external monitor (forked from Paul Siegal's Claude Canvas and modified)☆25Feb 23, 2026Updated 9 months ago
- 🫛👣 FAVA Trails — Git-native, curated memory for AI agents via MCP. Draft isolation, promotion gate, thought lifecycle hooks, memory cur…☆27Updated this week
- ☆32May 17, 2026Updated 6 months ago
- An example of simple API Gateway with NodeJS and ExpressJs☆30Dec 22, 2022Updated 3 years ago
- Main repository src, docs, tests☆11Sep 24, 2023Updated 3 years ago
- A Neurosymbolic Prolog built on Python☆15Nov 16, 2026Updated last week
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- An Elixir implementation of A2UI protocol☆12Oct 17, 2026Updated last month
- ☆11Jul 13, 2025Updated last year
- Template repo with agent's configuration for working in scientific papers☆14Nov 6, 2026Updated 2 weeks ago
- ☆12Dec 12, 2022Updated 3 years ago
- The JNA binding of NanoSDK☆18Dec 6, 2023Updated 2 years ago
- ☆14Jun 5, 2025Updated last year
- Allbert Assist is a local-first assistant runtime for long-running personal work built in elixir/otp, jido agents etc☆12Aug 15, 2026Updated 3 months ago
- A Common Lisp coding harness designed around extreme configurability.☆13Oct 27, 2026Updated 3 weeks ago
- A Lisp for AI: a persistent environment that humans and agents drive, extend, and grow over time.☆15Oct 6, 2026Updated last month
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- high performance rendering engine , It does compile-time reactivity (JSX → SSA), uses ECS + SoA storage, runs a Zig/WASM core, and is fu…☆25Aug 8, 2026Updated 3 months ago
- Exactly what the title says.☆13Feb 2, 2021Updated 5 years ago
- Common Lisp SPARQL query generation library☆13Aug 3, 2019Updated 7 years ago
- Pi extension package for Jujutsu workflows☆12Mar 2, 2026Updated 8 months ago
- Quick tutorial showing how to fine-tune Llama3.1 with nothing but free tools and text data. All code included in ipynb. For a step by ste…☆10Aug 17, 2024Updated 2 years ago
- This project promulgates an automated end-to-end ML pipeline that trains a biLSTM network for sentiment analysis, experiment tracking, be…☆16Feb 1, 2023Updated 3 years ago
- PDF manipulation, processing, and management toolkit for Pi coding agent☆12Mar 22, 2026Updated 8 months ago
Are these results useful?