EveryDev.ai
Subscribe
Home
Tools

5,681+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2872
  • Coding2155
  • Infrastructure1015
  • Projects796
  • MCP743
  • Research708
  • Analytics549
  • Marketing519
  • Design463
  • Testing460
  • Data430
  • Security393
  • Integration281
  • Communication274
  • Prompts270
  • Extensions234
  • Voice198
  • DevOps187
  • Commerce180
  • Web127
  • Learning116
  • Finance41
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. gpt-go
    gpt-go icon

    gpt-go

    AI Development Libraries

    A tiny GPT language model implemented from scratch in pure Go, designed for learning and trained on Jules Verne books.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Simple GPT implementation in pure Go, released under the MIT License and free to use, modify and distribute.

    Engagement

    Available On

    API
    CLI

    Resources

    WebsiteGitHubllms.txt

    Topics

    AI Development LibrariesAI TutorialsLocal Inference

    Alternatives

    LLM From ScratchOpenAI CookbookHugging Face Learn
    Developer
    Artem Zakirullinzakirullin is an independent developer who has been building…

    Listed Nov 2026

    About gpt-go

    gpt-go is an open-source educational implementation of a GPT-style transformer written in pure Go by zakirullin. It trains a small language model on Jules Verne books and can generate text in that style. The repository is written to be readable, and the README presents it as a companion to Andrej Karpathy's Neural Networks: Zero to Hero course.

    What It Is

    gpt-go is a from-scratch GPT implementation optimized for understanding rather than efficiency. Running go run . trains the model on the bundled text corpus, and the weights are saved to a model-1.234M file. Rerunning picks up the saved weights and continues training. The README says training takes about 40 minutes on a MacBook Air M3. Running go run . -chat skips training and goes straight to chat-only mode. Users can train on their own text by pointing the data.dataset variable at another corpus.

    How to Learn From It

    The repository is meant to be studied alongside the Zero to Hero course. Git tags show how the model evolved: naive, bigram, multihead, block, residual and full. The main_test.go file explains concepts step by step, starting from a single neuron example and building up to the self-attention mechanism using a triangular matrix.

    Design Choices

    The project deliberately drops the batch dimension so the math stays in 2D matrices, which are easier to build intuition with. Gradient accumulation was tried and removed because its effect was negligible. The gonum dependency was also removed. It gave about a 30% matmul speedup, but the author preferred a 40-line plain-Go matmul implementation. The README credits the itsubaki autograd package.

    gpt-go - 1

    Community Discussions

    Be the first to start a conversation about gpt-go

    Share your experience with gpt-go, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Simple GPT implementation in pure Go, released under the MIT License and free to use, modify and distribute.

    • MIT License
    • Pure Go GPT implementation
    • Train on your own dataset
    • Chat-only mode via go run . -chat
    • Self-hosted; runs locally

    Capabilities

    Key Features

    • GPT transformer implemented from scratch in pure Go
    • Trains on Jules Verne books by default
    • Custom dataset support via data.dataset variable
    • Saves weights and resumes training on rerun
    • Chat-only mode with -chat flag
    • Git tags showing step-by-step model evolution
    • Test file with explanations from a single neuron to self-attention
    • No batch dimension, for simplicity
    API Available

    Ratings & Reviews

    No ratings yet

    Be the first to rate gpt-go and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Artem Zakirullin

    zakirullin is an independent developer who has been building Files.md for over five years as a solo open-source project. The project focuses on local-first, privacy-respecting personal knowledge management using plain Markdown files. The codebase is written primarily in Go for the backend and vanilla JavaScript for the frontend, with a deliberate emphasis on simplicity and minimal dependencies.

    Read more about Artem Zakirullin
    WebsiteGitHubLinkedInX / Twitter
    2 tools in directory

    Similar Tools

    LLM From Scratch icon

    LLM From Scratch

    A hands-on workshop where you write every piece of a GPT training pipeline yourself, building a ~10M parameter language model that trains on a laptop in under an hour.

    OpenAI Cookbook icon

    OpenAI Cookbook

    Open-source collection of example code and guides for building with the OpenAI API.

    Hugging Face Learn icon

    Hugging Face Learn

    Free educational platform offering AI and machine learning courses, tutorials, and certifications from Hugging Face.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    564 tools

    AI Tutorials

    Step-by-step tutorials and hands-on guides for AI tools and frameworks.

    59 tools

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

    338 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions