SKILL·0654DE

nanogpt

davila7
Updated 2 months ago
304 views
18,478
1,685
18,478
View on GitHub
DevelopmentModel ArchitectureNanoGPTGPT-2EducationalAndrej KarpathyTransformerMinimalistFrom ScratchTraining

About

nanogpt is a minimal, educational GPT implementation in ~300 lines of clean code that reproduces GPT-2 (124M). It's designed for developers to understand transformer architecture from scratch through hackable code. Use it to train models on datasets like Shakespeare (CPU) or OpenWebText (multi-GPU) for hands-on learning.

Quick Install

Claude Code

Recommended
Primary
npx skills add davila7/claude-code-templates -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/davila7/claude-code-templates
Git CloneAlternative
git clone https://github.com/davila7/claude-code-templates.git ~/.claude/skills/nanogpt

Copy and paste this command in Claude Code to install this skill

GitHub Repository

davila7/claude-code-templates
Path: cli-tool/components/skills/ai-research/model-architecture-nanogpt
0
anthropicanthropic-claudeclaudeclaude-code
FAQ

Frequently asked questions

What is the nanogpt skill?

nanogpt is a Claude Skill by davila7. Skills package instructions and resources that Claude loads on demand, so Claude can perform nanogpt-related tasks without extra prompting.

How do I install nanogpt?

Use the install commands on this page: add nanogpt to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does nanogpt belong to?

nanogpt is in the Development category, tagged Model Architecture, NanoGPT, GPT-2, Educational, Andrej Karpathy and Transformer.

Is nanogpt free to use?

Yes. nanogpt is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Related Skills

qmd
Development

qmd is a local search and indexing CLI tool that enables developers to index and search through local files using hybrid search combining BM25, vector embeddings, and reranking. It supports both command-line usage and MCP (Model Context Protocol) mode for integration with Claude. The tool uses Ollama for embeddings and stores indexes locally, making it ideal for searching documentation or codebases directly from the terminal.

View skill
subagent-driven-development
Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill
mcporter
Development

The mcporter skill enables developers to manage and call Model Context Protocol (MCP) servers directly from Claude. It provides commands to list available servers, call their tools with arguments, and handle authentication and daemon lifecycle. Use this skill for integrating and testing MCP server functionality in your development workflow.

View skill
adk-deployment-specialist
Development

This skill deploys and orchestrates Vertex AI ADK agents using A2A protocol, managing AgentCard discovery, task submission, and supporting tools like Code Execution Sandbox and Memory Bank. It enables building multi-agent systems with sequential, parallel, or loop orchestration patterns in Python, Java, or Go. Use it when asked to deploy ADK agents or orchestrate agent workflows on Google Cloud.

View skill