Hacker News
Read post

karpathy/llm.c: LLM training in simple, raw C/CUDA

LLM training in simple, pure C/CUDA. The post provides instructions on downloading and tokenizing datasets, initializing the model with GPT-2 weights, and decoding token ids back to text.

    #c#nlp#cuda
Apr 08, 2024•4m read time•From github.com
Post cover image
Table of contents
quick starttestlicense
10 Impressions
Hacker News's image
Hacker News

Hacker News is a community-driven platform for sharing and discussing technology news, startups, and...

17.4K Followers

•

141.8K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard