<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C on SoloSoft</title><link>https://www.solosoft.dev/tags/c/</link><description>Recent content in C on SoloSoft</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.solosoft.dev/tags/c/index.xml" rel="self" type="application/rss+xml"/><item><title>llm.c: Karpathy's Minimal C Implementation of LLM Training</title><link>https://www.solosoft.dev/post/llm-c-training-2026/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/llm-c-training-2026/</guid><description>&lt;p&gt;Most developers and researchers who work with large language models interact with them through high-level frameworks like PyTorch or Hugging Face Transformers. These frameworks hide immense complexity behind elegant APIs, but they also obscure the fundamental mechanics of how these models actually learn. &lt;strong&gt;llm.c&lt;/strong&gt; tears away that abstraction, providing a complete, working implementation of GPT-2 training in pure C.&lt;/p&gt;
&lt;p&gt;Created by Andrej Karpathy (formerly Director of AI at Tesla, co-founder of OpenAI), llm.c is first and foremost an educational project. It implements the entire forward pass, backward pass, and training loop for a transformer language model using nothing but standard C libraries, without a single dependency on PyTorch, TensorFlow, or any machine learning framework.&lt;/p&gt;</description></item></channel></rss>