COSCUP x UbuCon Asia 2026 Logo
  • About
  • Session
  • Transportation
  • Venue
  • Communities
  • Sponsors
    • Participate Guide
    • First Timer
    • Activity
    • Speaker Participation
    • Welcome Party
    • For Overseas Visitors
    • Open Source Communities
    • Sponsorship Partners
    • Invitation Letter Guide
  • Staff
  • Fringe Events / BoF
  • Blog
  • CoC
中文

What Can 200 Lines of Python Train? A Deep Dive into MicroGPT

Time
2026-08-08 10:40 ~ 11:10
Speaker
Tim Hsu
Room
TR412-1
Co-write
Python Track by Taipei.py IntermediateMandarin

Abstract

Have you ever wondered what it really takes to train a GPT model? Surprisingly, the core ideas can fit into just a couple hundred lines of Python.

In this talk, I'll walk through my notes on studying Andrej Karpathy's microGPT implementation. Designed to be as simple and educational as possible, microGPT implements the essential building blocks of modern language models—Transformers, Attention, Embeddings, and more—without the complexity of production-scale frameworks.

Rather than treating GPT as a black box, we'll build an intuitive understanding of how these components work together to train a language model.

By the end of the session, Attention may not feel nearly as mysterious anymore. You'll also understand what all that ever-growing GPU memory is actually being used for—and why modern language models need so much of it. 🙂

Speaker

Tim Hsu

Diamond

Canonical

Gold

Consecutive2 YrsInformation Management AssociationConsecutive2 YrsCathay Financial HoldingsConsecutive5 YrsE.SUN BankCumulative12 YrsMySQLCumulative6 YrsBerry AINitra

Silver

Cumulative16 YrsGamesofa Inc.

Bronze

KKTIXNational Center for High-performance ComputingONLYOFFICEQNAP Systems, Inc.Consecutive16 YrsThe Archilife Research FoundationSUN SQUARE Co., Ltd

Friend

Consecutive3 YrsAndes Technology CorporationAppier

Special Thanks

Consecutive2 YrsDepartment of Information Technology, Taipei City GovernmentSiFiveRozeta AI

Co-host

Collaborator9 YrsNTUST - Department of Electronic and Computer Engineering

Co-organizer

Collaborator12 YrsOpen Culture Foundation

COSCUP x UbuCon Asia 2026

Conference for Open Source Coders, Users, and Promoters | Asia's largest open source community conference.

Contact

  • Attendee Services
  • Sponsorship
  • Call for Proposals
  • Marketing

Resources

  • COSCUP Blog
  • Newsletter Subscription
  • Event Photos

Sitemap

  • Home
  • About
  • Transportation
20062007200820092010201120122013201420152016201720182019202020212022202320242025