My Workflow for Understanding LLM Architectures
A Learning-Oriented Workflow for Understanding New Open-Weight Model Releases Sebastian Raschka, PhD Apr 18, 2026 ∙ Paid 82 4 5 Many people asked me over the past months to share my workflow for how I come up with the LLM architecture sketches and drawings in my articles, talks.

- Many people asked me over the past months to share my workflow for how I come up with the LLM architecture sketches and drawings in my articles, talks, and the LLM-Gallery.
- It doesn’t really apply to models like ChatGPT, Claude, or Gemini, where the weights and details are proprietary.Also, this is intentionally a fairly manual process.
- But if the goal is to learn how these architectures work, then doing a few of these by hand is, in my opinion, still one of the best exercises.Figure 2: At a high level, the workflow goes from config files and code to architecture insights.
A Learning-Oriented Workflow for Understanding New Open-Weight Model Releases
Sebastian Raschka, PhD
Apr 18, 2026
∙ Paid
82
4
5
Many people asked me over the past months to share my workflow for how I come up with the LLM architecture sketches and drawings in my articles, talks, and the LLM-Gallery . So I thought it would be useful to document the process I usually follow.
The short version is that I usually start with the official technical reports, but these days, papers are often less detailed than they used to be, especially for most open-weight models from industry labs.
The good part is that if the weights are shared on the Hugging Face Model Hub and the model is supported in the Python transformers library, we can usually inspect the config file and the reference implementation directly to get more information about the architecture details. And “working” code doesn’t lie.
Figure 1: The basic motivation for this workflow is that papers are often less detailed these days, but a working reference implementation gives us something concrete to inspect.
I should also say that this is mainly a workflow for open-weight models. It doesn’t really apply to models like ChatGPT, Claude, or Gemini, where the weights and details are proprietary.
Also, this is intentionally a fairly manual process. You could automate parts of it. But if the goal is to learn how these architectures work, then doing a few of these by hand is, in my opinion, still one of the best exercises.
Figure 2: At a high level, the workflow goes from config files and code to architecture insights.
This post is for paid subscribers
Already a paid subscriber? Sign in
Sources
Related stories

GitHub Reports 2.5 Billion Open-Source Contributions in 2026
GitHub reports a 116% increase in public contributions in 2026 compared to 2025.

Vercel Releases Open-Source Agent Framework Eve 1.0
Vercel has made its open-source agent framework, eve, generally available after a public preview.

PyTorch Ambassadors Expand Global AI Education
PyTorch Foundation Ambassadors held events across multiple countries, engaging over 300 participants in November 2026.

OpenAI Codex CLI Adds New Features for Enhanced Workflow
OpenAI's Codex CLI release introduces keyboard-driven transcript navigation and new model support.

OpenAI Codex CLI Adds New Models and Enhances TUI Features
OpenAI Codex CLI v0.171.0 introduces GPT-6.2 models and improves terminal user interface capabilities.

ComfyUI v0.46.0 Adds Nodes and Fixes Workflows
ComfyUI v0.46.0 introduces new nodes, updates workflows, and removes deprecated features.