
nanoGPT is a spreadsheet-based GPT-style language model framework that trains and runs transformer models directly within Google Sheets using custom functions.
nanoGPT is an open-source project that brings GPT-style language modeling directly into spreadsheets, allowing users to experiment with transformer architectures using familiar spreadsheet operations. Built on top of standard spreadsheet functions and formulas, it demonstrates how core components of modern large language models—such as token embeddings, attention mechanisms, and feedforward layers—can be represented, visualized, and manipulated in a tabular environment. Instead of requiring specialized deep learning frameworks, nanoGPT leverages the spreadsheet grid to make each computation step transparent and inspectable.
Key capabilities include defining and adjusting model parameters in cells, tracing data flow across layers, and observing intermediate activations in real time. Users can prototype tiny language models, explore how attention distributes over tokens, and understand how changes in weights affect outputs without writing extensive code. This makes nanoGPT particularly useful for education, research demonstrations, and debugging conceptual understanding of transformers. Typical use cases include teaching the internals of GPT-like models, building minimal working examples of sequence modeling, and experimenting with simplified training or inference workflows. By embedding transformer logic into spreadsheets, nanoGPT lowers the barrier to understanding and experimenting with modern language models while keeping all computations explicit and auditable.
Please sign in to comment
💬 No comments yet
Be the first to share your thoughts!
Explore 229+ top alternatives to nanoGPT

Livingwriter is a writing software platform that provides manuscript organization, plotting tools, story templates, and cross-device syncing for authors and long-form content creators.

General Legal is an AI-powered legal service that drafts, reviews, and manages sales contracts for fast-growing companies to streamline their contracting workflows.

Databricks is a cloud-based data and AI platform that unifies data engineering, data warehousing, analytics, and machine learning on a managed Lakehouse architecture.

Intellexie is a platform that centralizes, structures, and surfaces internal company knowledge, making organizational information easily searchable and accessible for employees.

Sheetmagic is a Google Sheets extension that integrates ChatGPT to generate spreadsheet content from prompts and perform automated web scraping directly within sheets.