Skip to content

pytorch

9 free resources on this topic. Everything here is free and hand-picked. You can also search within this topic.

Sebastian Raschka / GitHub
Free
Tutorial
AI & Assistive Tools

Reasoning from Scratch: Hardware and Environment Setup Guide (Sebastian Raschka / GitHub)

Published
2026-10-24

Open-source GitHub setup guide from Sebastian Raschka's 'Building Reasoning Models from the Ground Up' course, covering local GPU vs. CPU environment configuration and PyTorch dependencies.

In plain terms: Open-source GitHub setup guide from Sebastian Raschka's 'Building Reasoning Models from the Ground Up' course, covering local GPU vs. CPU environment configuration and PyTorch dependencies.

From the site: Open-source GitHub setup guide from Sebastian Raschka's 'Building Reasoning Models from the Ground Up' course, covering local GPU vs. CPU environment configuration and PyTorch dependencies.

Why I recommend it: Practical environment checklist before training or fine-tuning reasoning models on your own machine.

#reasoning-models#github#learning#python#pytorch
Sebastian Raschka / GitHubAdded Nov 18, 2026Details →
Sebastian Raschka / GitHub
Free
Tutorial
AI & Assistive Tools

Standalone Qwen3 Architecture Implementation in PyTorch (Jupyter Notebook)

Published
2026-11-15

Sebastian Raschka's from-scratch PyTorch notebook implementing the Qwen3 architecture, grouped-query attention, and RoPE positional embeddings.

In plain terms: Sebastian Raschka's from-scratch PyTorch notebook implementing the Qwen3 architecture, grouped-query attention, and RoPE positional embeddings.

From the site: Sebastian Raschka's from-scratch PyTorch notebook implementing the Qwen3 architecture, grouped-query attention, and RoPE positional embeddings.

Why I recommend it: Self-contained Jupyter notebook for inspecting every layer of Qwen3 in clean PyTorch.

#qwen#pytorch#open-weight#open-source#github#llm
Sebastian Raschka / GitHubAdded Nov 17, 2026Details →
Ahead of AI (Sebastian Raschka)
Free
Guide
AI & Assistive Tools

Understanding Positional Embeddings in Modern LLMs (RoPE & Architecture Deep Dive)

Published
2026-11-15

Sebastian Raschka's comprehensive visual and code-first guide to how transformers encode token order, from classic absolute embeddings to Rotary Position Embeddings (RoPE).

In plain terms: Sebastian Raschka's comprehensive visual and code-first guide to how transformers encode token order, from classic absolute embeddings to Rotary Position Embeddings (RoPE).

From the site: Sebastian Raschka's comprehensive visual and code-first guide to how transformers encode token order, from classic absolute embeddings to Rotary Position Embeddings (RoPE).

Why I recommend it: Clear, from-scratch explanation of RoPE and positional encoding mechanisms used in almost every modern open-weight LLM.

#llm#transformers#machine-learning#pytorch#coding
Ahead of AI (Sebastian Raschka)Added Nov 16, 2026Details →
Ahead of AI (Sebastian Raschka)
Free
Tutorial
AI & Assistive Tools

Understanding and Coding Self-Attention Mechanisms in PyTorch

Published
2026-11-15

Step-by-step PyTorch tutorial implementing scaled dot-product attention, causal masking, and multi-head attention from first principles.

In plain terms: Step-by-step PyTorch tutorial implementing scaled dot-product attention, causal masking, and multi-head attention from first principles.

From the site: Step-by-step PyTorch tutorial implementing scaled dot-product attention, causal masking, and multi-head attention from first principles.

Why I recommend it: Foundational companion tutorial for engineers who want to write and debug transformer attention layers by hand.

#self-attention#pytorch#deep-learning#llm#coding
Ahead of AI (Sebastian Raschka)Added Nov 16, 2026Details →
Ahead of AI (Sebastian Raschka)
Free
Tutorial
AI & Assistive Tools

Coding LLMs from the Ground Up: Complete Architecture Walkthrough

Published
2026-10-24

Technical walkthrough by Sebastian Raschka on assembling a working GPT-style language model architecture, tokenizer, and training loop in PyTorch.

In plain terms: Technical walkthrough by Sebastian Raschka on assembling a working GPT-style language model architecture, tokenizer, and training loop in PyTorch.

From the site: Technical walkthrough by Sebastian Raschka on assembling a working GPT-style language model architecture, tokenizer, and training loop in PyTorch.

Why I recommend it: Demystifies LLM internals by building each component in clean, readable Python code.

#llm#pytorch#deep-learning#coding#education
Ahead of AI (Sebastian Raschka)Added Nov 16, 2026Details →
Sebastian Raschka / Manning
Free
Book
Books Worth Reading

Build a Large Language Model (From Scratch) — Sebastian Raschka

Published
2026-11-15

Hands-on engineering book guiding developers through implementing tokenizers, attention mechanisms, pretraining, and instruction fine-tuning in pure PyTorch.

In plain terms: Hands-on engineering book guiding developers through implementing tokenizers, attention mechanisms, pretraining, and instruction fine-tuning in pure PyTorch.

From the site: Hands-on engineering book guiding developers through implementing tokenizers, attention mechanisms, pretraining, and instruction fine-tuning in pure PyTorch.

Why I recommend it: The gold-standard technical book for software engineers who want to build and train a working LLM from scratch.

#book#llm#pytorch#deep-learning#coding
Sebastian Raschka / ManningAdded Nov 16, 2026Details →
Sebastian Raschka / Manning
Free
Book
Books Worth Reading

Build a Reasoning Model (From Scratch) — Sebastian Raschka

Published
2026-10-24

Technical book breaking down how to architect, train, and evaluate reasoning-focused language models using reinforcement learning and inference-time compute scaling.

In plain terms: Technical book breaking down how to architect, train, and evaluate reasoning-focused language models using reinforcement learning and inference-time compute scaling.

From the site: Technical book breaking down how to architect, train, and evaluate reasoning-focused language models using reinforcement learning and inference-time compute scaling.

Why I recommend it: Natural sequel to Build an LLM From Scratch, focused on chain-of-thought verification and reasoning architectures.

#book#reasoning-models#llm#pytorch#machine-learning
Sebastian Raschka / ManningAdded Nov 16, 2026Details →
pytorch.org
Free
Tool
AI & Assistive Tools

PyTorch

The most widely used open-source framework for building and training AI models, with free tutorials, documentation and pre-trained models. Most AI research papers today are built on it.

Why I recommend it: Free and open source, now governed by the Linux Foundation's PyTorch Foundation — but Meta created it and remains its biggest contributor, so its direction still reflects big-tech priorities.

#pytorch#deep learning#framework#open source#research
pytorch.orgAdded Sep 26, 2026Details →
course.fast.ai
Free
Training Program
AI & Assistive Tools

Practical Deep Learning for Coders (fast.ai)

Top-down deep learning course using PyTorch, covering computer vision, NLP, and model deployment. Assumes existing Python basics.

Why I recommend it: Teaches you to build working models in lesson one instead of six weeks of math first. Best fit if you already know some Python.

#ai#ai-tools#computer-vision#course#deep-learning#fast-ai#free#free-course#learning#program#python#pytorch#training#coding#machine-learning
course.fast.aiAdded Sep 1, 2026Details →