nowfound

AI · September 26, 2023

MA

MyGPT a toy LLM which can be trained on Project Gutenberg and dad jokes

My puny version of ChatGPT. This was based on the excellent LLM lecture series by Andrej Karpathy: https://www.youtube.com/watch?v=kCc8FmEb1nY The main points of differentiation are that my version is token-based (tiktoken) with code to load up multiple text files as a trining set. Plus, it has a minimal server which is a drop-in replacement for the OpenAI REST API. So you can train the default tiny 15M parameter model, and use that in your projects instead of ChatGPT. I trained it on 20Mb of Project Gutenberg encyclopaedias, then fine-tuned it on 120 dad jokes, to get a Q: A:…

In plain words

MyGPT is a small language model trainer and server based on Andrej Karpathy's LLM lecture series. It allows users to train a 15-million-parameter model on custom text files from Project Gutenberg and other sources, then deploy it via a minimal server that mimics OpenAI's REST API. The creator trained an example model on encyclopedia entries and dad jokes to demonstrate the system. MyGPT is designed for entertainment and experimentation rather than production use, with minimal server functionality and intentionally rough code.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

My puny version of ChatGPT. This was based on the excellent LLM lecture series by Andrej Karpathy: https://www.youtube.com/watch?v=kCc8FmEb1nY The main points of differentiation are that my version is token-based (tiktoken) with code to load up multiple text files as a trining set. Plus, it has a minimal server which is a drop-in replacement for the OpenAI REST API. So you can train the default tiny 15M parameter model, and use that in your projects instead of ChatGPT. I trained it on 20Mb of Project Gutenberg encyclopaedias, then fine-tuned it on 120 dad jokes, to get a Q: A: prompt format. This model + training set is so small that the results are basically a joke; it's for entertainment purposes only. The code is also very rough, and the server only has the minimum functionality filled in. I embodied this model in my talking LLM-driven hexapod robot, and it could give very silly answers to spoken questions.

Does the same job

all alternatives →
  • ChatGPT2022 · chatgpt.com · ▲1,647

    Optimizing language models for dialogue

  • CustomGPT2023 · ▲538

    Build your own ChatBOT

  • Dolly2023 · ▲113

    Democratizing the magic of ChatGPT with open models

  • IW
    I “wrote” a kid's book with ChatGPT and Midjourney2023 · adventure-of-penelope.vercel.app · ▲417

    Two of my friends recently welcomed their first child and I "wrote" a kid's book for them using ChatGPT for the story and Midjourney for illustrations. The plot was sourced from a group of friends.

  • IB
    I built a free in-browser Llama 3 chatbot powered by WebGPU2024 · github.com · ▲547

    I spent the last few days building out a nicer ChatGPT-like interface to use Mistral 7B and Llama 3 fully within a browser (no deps and installs). I’ve used the WebLLM project by MLC AI for a while to interact with LLMs in the browser when handling sensitive data but I found their UI quite lacking for serious use so I built a much better interface around WebLLM. I’ve been using it as a therapist and coach. And it’s wonderful knowing that my personal information never leaves my local computer. Should work on Desktop with Chrome or Edge. Other browsers are adding WebGPU support as well - see…

  • MyGPT2023 · ▲435

    Free and faster ChatGPT pro with prompt support

More ai this month

the category →
  • I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

    AI · 17d ago · simedw.com

  • Astute585

    Automate your B2B brand going viral, with new media creators

    AI · 18d ago · company-app.joinastute.com

  • Grok Bot547

    AI teammates that you can give real work to

    AI · 25d ago · x.ai

  • Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…

    AI · 27d ago · cactuscompute.com

  • Monid474

    OpenRouter for agent tools

    AI · 6d ago · monid.ai

  • Turn website visitors into qualified pipeline

    AI · 19d ago · clarasdr.ai

Launched alongside, September 2023

the whole month →
  • Loops1,561

    Email made easy

    Dev tools · 2023 · loops.so

  • Tally 2.01,479

    The simplest way to create forms for free

    Dev tools · 2023 · tally.so

  • Klu AI1,466

    Your data, unified and interactive

    AI · 2023 · klu.so

  • FirstHR1,063

    All-in-one HR platform for founders with dreams and teams

    Work · 2023 · firsthr.app

  • DevHunt946

    Open source Product Hunt for dev tools

    Dev tools · 2023 · devhunt.org

  • GenAI app to create personalized content

    AI · 2023 · yarnit.app