投稿
已收录 2,049 个能用的 AI今日新增 2049 个视频 255 · 工具 36 · 播客 303 · 资讯 1455🆕 早报|苹果上调 Apple Music 价格/小米 SU7 虚假碰撞测评博主被判一年八个月/努比亚、阶跃星辰智能体手机亮相 WAIC🆕 微软 7 月 Win11 累积更新 5 大亮点:小部件面板不再自动打开等🆕 英国青少年评价拟议的“17 岁夜间社媒宵禁”:能自己关闭,那就没意义了🆕 Valve 发布首个面向 Steam Frame 的 Arch Linux Arm 预览版系统🆕 微软为提升 AI 回答能力,Teams 自动为符合条件会议生成存档文件🆕 OpenAI 更新 Mac 端 ChatGPT 应用:增强整合聊天、工作和编程让一部分人,先用上 AI发现好东西?点右上角「投稿」推荐给大家已收录 2,049 个能用的 AI今日新增 2049 个视频 255 · 工具 36 · 播客 303 · 资讯 1455🆕 早报|苹果上调 Apple Music 价格/小米 SU7 虚假碰撞测评博主被判一年八个月/努比亚、阶跃星辰智能体手机亮相 WAIC🆕 微软 7 月 Win11 累积更新 5 大亮点:小部件面板不再自动打开等🆕 英国青少年评价拟议的“17 岁夜间社媒宵禁”:能自己关闭,那就没意义了🆕 Valve 发布首个面向 Steam Frame 的 Arch Linux Arm 预览版系统🆕 微软为提升 AI 回答能力,Teams 自动为符合条件会议生成存档文件🆕 OpenAI 更新 Mac 端 ChatGPT 应用:增强整合聊天、工作和编程让一部分人,先用上 AI发现好东西?点右上角「投稿」推荐给大家已收录 2,049 个能用的 AI今日新增 2049 个视频 255 · 工具 36 · 播客 303 · 资讯 1455🆕 早报|苹果上调 Apple Music 价格/小米 SU7 虚假碰撞测评博主被判一年八个月/努比亚、阶跃星辰智能体手机亮相 WAIC🆕 微软 7 月 Win11 累积更新 5 大亮点:小部件面板不再自动打开等🆕 英国青少年评价拟议的“17 岁夜间社媒宵禁”:能自己关闭,那就没意义了🆕 Valve 发布首个面向 Steam Frame 的 Arch Linux Arm 预览版系统🆕 微软为提升 AI 回答能力,Teams 自动为符合条件会议生成存档文件🆕 OpenAI 更新 Mac 端 ChatGPT 应用:增强整合聊天、工作和编程让一部分人,先用上 AI发现好东西?点右上角「投稿」推荐给大家已收录 2,049 个能用的 AI今日新增 2049 个视频 255 · 工具 36 · 播客 303 · 资讯 1455🆕 早报|苹果上调 Apple Music 价格/小米 SU7 虚假碰撞测评博主被判一年八个月/努比亚、阶跃星辰智能体手机亮相 WAIC🆕 微软 7 月 Win11 累积更新 5 大亮点:小部件面板不再自动打开等🆕 英国青少年评价拟议的“17 岁夜间社媒宵禁”:能自己关闭,那就没意义了🆕 Valve 发布首个面向 Steam Frame 的 Arch Linux Arm 预览版系统🆕 微软为提升 AI 回答能力,Teams 自动为符合条件会议生成存档文件🆕 OpenAI 更新 Mac 端 ChatGPT 应用:增强整合聊天、工作和编程让一部分人,先用上 AI发现好东西?点右上角「投稿」推荐给大家
教程

Harness Engineering for Self-Improvement

The concept of recursive self-improvement (RSI) dates back to I. J. Good (1965), where he defined an “ultraintelligent machine” as a system that can surpass humans in all intellectual activities and design better machines to improve itself.

Lil'Log · Lilian Weng
教程

Using Local Coding Agents

Using Open-Weight Models in Local Coding Harnesses as an Alternative to Claude Code and Codex Subscriptions

Ahead of AI · Sebastian Raschka
教程

Scaling Laws, Carefully

Scaling laws are one of the most critical empirical findings in deep learning. The observation is simple in form: the training loss $L$ decreases predictably as we scale up model size $N$, dataset size $D$, and compute $C$, following a powe

Lil'Log · Lilian Weng
教程

LLM Research Papers: The 2026 List (January to May)

A curated roundup of notable LLM research papers that came out this year

Ahead of AI · Sebastian Raschka
教程

Recent Developments in LLM Architectures: KV Sharing, mHC, and Compressed Attention

From Gemma 4 to DeepSeek V4, How New Open-Weight LLMs Are Reducing Long-Context Costs

Ahead of AI · Sebastian Raschka
教程

My Workflow for Understanding LLM Architectures

A learning-oriented workflow for understanding new open-weight model releases

Ahead of AI · Sebastian Raschka
教程

Components of A Coding Agent

How coding agents use tools, memory, and repo context to make LLMs work better in practice

Ahead of AI · Sebastian Raschka
教程

A Visual Guide to Attention Variants in Modern LLMs

From MHA and GQA to MLA, sparse attention, and hybrid architectures

Ahead of AI · Sebastian Raschka
教程

A Dream of Spring for Open-Weight LLMs: 10 Architectures from Jan-Feb 2026

A Round Up And Comparison of 10 Open-Weight LLM Releases in Spring 2026

Ahead of AI · Sebastian Raschka
教程

microgpt

.post-header h1 { font-size: 35px; } .post pre, .post code { background-color: #fcfcfc; font-size: 13px; /* make code smaller for this post... */ } This is a brief guide to my new art project microgpt, a single file of 200 lines of pure Pyt

Andrej Karpathy
教程

Categories of Inference-Time Scaling for Improved LLM Reasoning

And an Overview of Recent Inference-Scaling Papers

Ahead of AI · Sebastian Raschka
教程

The State Of LLMs 2025: Progress, Problems, and Predictions

A 2025 review of large language models, from DeepSeek R1 and RLVR to inference-time scaling, benchmarks, architectures, and predictions for 2026.

Ahead of AI · Sebastian Raschka
教程

LLM Research Papers: The 2025 List (July to December)

In June, I shared a bonus article with my curated and bookmarked research paper lists to the paid subscribers who make this Substack possible.

Ahead of AI · Sebastian Raschka
教程

From DeepSeek V3 to V3.2: Architecture, Sparse Attention, and RL Updates

Understanding How DeepSeek's Flagship Open-Weight Models Evolved

Ahead of AI · Sebastian Raschka
教程

Beyond Standard LLMs

Linear Attention Hybrids, Text Diffusion, Code World Models, and Small Recursive Transformers

Ahead of AI · Sebastian Raschka
教程

Understanding the 4 Main Approaches to LLM Evaluation (From Scratch)

Multiple-Choice Benchmarks, Verifiers, Leaderboards, and LLM Judges with Code Examples

Ahead of AI · Sebastian Raschka
教程

Understanding and Implementing Qwen3 From Scratch

A Detailed Look at One of the Leading Open-Source LLMs

Ahead of AI · Sebastian Raschka
教程

From GPT-2 to gpt-oss: Analyzing the Architectural Advances

And How They Stack Up Against Qwen3

Ahead of AI · Sebastian Raschka
教程

The Big LLM Architecture Comparison

From DeepSeek-V3 to Kimi K2: A Look At Modern LLM Architecture Design

Ahead of AI · Sebastian Raschka
教程

LLM Research Papers: The 2025 List (January to June)

A topic-organized collection of 200+ LLM research papers from 2025

Ahead of AI · Sebastian Raschka
教程

Understanding and Coding the KV Cache in LLMs from Scratch

KV caches are one of the most critical techniques for efficient inference in LLMs in production.

Ahead of AI · Sebastian Raschka
教程

Coding LLMs from the Ground Up: A Complete Course

Why build LLMs from scratch? It's probably the best and most efficient way to learn how LLMs really work. Plus, many readers have told me they had a lot of fun doing it.

Ahead of AI · Sebastian Raschka
教程

Why We Think

Special thanks to John Schulman for a lot of super valuable feedback and direct edits on this post. Test time compute (Graves et al. 2016, Ling, et al. 2017, Cobbe et al. 2021) and Chain-of-thought (CoT) (Wei et al. 2022, Nye et al. 2021),

Lil'Log · Lilian Weng
教程

The State of Reinforcement Learning for LLM Reasoning

Understanding GRPO and New Insights from Reasoning Model Papers

Ahead of AI · Sebastian Raschka
教程

Reward Hacking in Reinforcement Learning

Reward hacking occurs when a reinforcement learning (RL) agent exploits flaws or ambiguities in the reward function to achieve high rewards, without genuinely learning or completing the intended task. Reward hacking exists because RL enviro

Lil'Log · Lilian Weng
教程

Extrinsic Hallucinations in LLMs

Hallucination in large language models usually refers to the model generating unfaithful, fabricated, inconsistent, or nonsensical content. As a term, hallucination has been somewhat generalized to cases when the model makes mistakes. Here,

Lil'Log · Lilian Weng
教程

Diffusion Models for Video Generation

Diffusion models have demonstrated strong results on image synthesis in past years. Now the research community has started working on a harder task—using it for video generation. The task itself is a superset of the image case, since an ima

Lil'Log · Lilian Weng
教程

Thinking about High-Quality Human Data

[Special thank you to Ian Kivlichan for many useful pointers (E.g. the 100+ year old Nature paper “Vox populi”) and nice feedback. 🙏 ] High-quality data is the fuel for modern data deep learning model training. Most of the task-specific la

Lil'Log · Lilian Weng
教程

Adversarial Attacks on LLMs

The use of large language models in the real world has strongly accelerated by the launch of ChatGPT. We (including my team at OpenAI, shoutout to them) have invested a lot of effort to build default safe behavior into the model during the

Lil'Log · Lilian Weng
教程

LLM Powered Autonomous Agents

Building agents with LLM (large language model) as its core controller is a cool concept. Several proof-of-concepts demos, such as AutoGPT, GPT-Engineer and BabyAGI, serve as inspiring examples. The potentiality of LLM extends beyond genera

Lil'Log · Lilian Weng
教程

Prompt Engineering

Prompt Engineering, also known as In-Context Prompting, refers to methods for how to communicate with LLM to steer its behavior for desired outcomes without updating the model weights. It is an empirical science and the effect of prompt eng

Lil'Log · Lilian Weng
教程

The Transformer Family Version 2.0

Many new Transformer architecture improvements have been proposed since my last post on “The Transformer Family” about three years ago. Here I did a big refactoring and enrichment of that 2020 post — restructure the hierarchy of sections an

Lil'Log · Lilian Weng
教程

Large Transformer Model Inference Optimization

[Updated on 2023-01-24: add a small section on Distillation.] Large transformer models are mainstream nowadays, creating SoTA results for a variety of tasks. They are powerful but very expensive to train and use. The extremely high inferenc

Lil'Log · Lilian Weng
教程

Some Math behind Neural Tangent Kernel

Neural networks are well known to be over-parameterized and can often easily fit data with near-zero training loss with decent generalization performance on test dataset. Although all these parameters are initialized at random, the optimiza

Lil'Log · Lilian Weng
教程

Generalized Visual Language Models

Processing images to generate text, such as image captioning and visual question-answering, has been studied for years. Traditionally such systems rely on an object detection network as a vision encoder to capture visual features and then p

Lil'Log · Lilian Weng
教程

Learning with not Enough Data Part 3: Data Generation

Here comes the Part 3 on learning with not enough data (Previous: Part 1 and Part 2). Let’s consider two approaches for generating synthetic data for training. Augmented data. Given a set of existing training samples, we can apply a variety

Lil'Log · Lilian Weng
教程

Deep Neural Nets: 33 years ago and 33 years from now

.post-header h1 { font-size: 35px; } .post pre, .post code { background-color: #fcfcfc; font-size: 13px; /* make code smaller for this post... */ } The Yann LeCun et al. (1989) paper Backpropagation Applied to Handwritten Zip Code Recogniti

Andrej Karpathy
教程

Learning with not Enough Data Part 2: Active Learning

This is part 2 of what to do when facing a limited amount of labeled data for supervised learning tasks. This time we will get some amount of human labeling work involved, but within a budget limit, and therefore we need to be smart when se

Lil'Log · Lilian Weng
教程

Learning with not Enough Data Part 1: Semi-Supervised Learning

When facing a limited amount of labeled data for supervised learning tasks, four approaches are commonly discussed.

Lil'Log · Lilian Weng
教程

How to Train Really Large Models on Many GPUs?

[Updated on 2022-03-13: add expert choice routing.] [Updated on 2022-06-10]: Greg and I wrote a shorted and upgraded version of this post, published on OpenAI Blog: “Techniques for Training Large Neural Networks”

Lil'Log · Lilian Weng
教程

What are Diffusion Models?

[Updated on 2021-09-19: Highly recommend this blog post on score-based generative modeling by Yang Song (author of several key papers in the references)]. [Updated on 2022-08-27: Added classifier-free guidance, GLIDE, unCLIP and Imagen. [Up

Lil'Log · Lilian Weng
教程

A from-scratch tour of Bitcoin in Python

.wrap { max-width: 900px; } p { font-family: sans-serif; font-size: 15px; font-weight: 300; overflow-wrap: break-word; /* allow wrapping of very very long strings, like txids */ } .post pre, .post code { background-color: #fafafa; font-size

Andrej Karpathy
教程

Contrastive Representation Learning

The goal of contrastive representation learning is to learn such an embedding space in which similar sample pairs stay close to each other while dissimilar ones are far apart. Contrastive learning can be applied to both supervised and unsup

Lil'Log · Lilian Weng
教程

Short Story on AI: Forward Pass

p { text-align: justify; } .post pre, .post code { border: none; background-color: #eee; } The inspiration for this short story came to me while reading Kevin Lacker’s Giving GPT-3 a Turing Test. It is probably worth it (though not required

Andrej Karpathy
教程

Reducing Toxicity in Language Models

Large pretrained language models are trained over a sizable collection of online data. They unavoidably acquire certain toxic behavior and biases from the Internet. Pretrained language models are very powerful and have shown great success i

Lil'Log · Lilian Weng
教程

Controllable Neural Text Generation

[Updated on 2021-02-01: Updated to version 2.0 with several work added and many typos fixed.] [Updated on 2021-05-26: Add P-tuning and Prompt Tuning in the “prompt design” section.] [Updated on 2021-09-19: Add “unlikelihood training”.]

Lil'Log · Lilian Weng
教程

How to Build an Open-Domain Question Answering System?

[Updated on 2020-11-12: add an example on closed-book factual QA using OpenAI API (beta). A model that can answer any question with regard to factual knowledge can lead to many useful and practical applications, such as working as a chatbot

Lil'Log · Lilian Weng
教程

Neural Architecture Search

Although most popular and successful model architectures are designed by human experts, it doesn’t mean we have explored the entire network architecture space and settled down with the best option. We would have a better chance to find the

Lil'Log · Lilian Weng
教程

Biohacking Lite

Throughout my life I never paid too much attention to health, exercise, diet or nutrition. I knew that you’re supposed to get some exercise and eat vegetables or something, but it stopped at that (“mom said”-) level of abstraction. I also k

Andrej Karpathy
教程

Exploration Strategies in Deep Reinforcement Learning

[Updated on 2020-06-17: Add “exploration via disagreement” in the “Forward Dynamics” section. Exploitation versus exploration is a critical topic in Reinforcement Learning. We’d like the RL agent to find the best solution as fast as possibl

Lil'Log · Lilian Weng
教程

A Recipe for Training Neural Networks

Some few weeks ago I posted a tweet on “the most common neural net mistakes”, listing a few common gotchas related to training neural nets. The tweet got quite a bit more engagement than I anticipated (including a webinar :)). Clearly, a lo

Andrej Karpathy
教程

(started posting on Medium instead)

The current state of this blog (with the last post 2 years ago) makes it look like I’ve disappeared. I’ve certainly become less active on blogs since I’ve joined Tesla, but whenever I do get a chance to post something I have recently been d

Andrej Karpathy
教程

A Survival Guide to a PhD

This guide is patterned after my “Doing well in your courses”, a post I wrote a long time ago on some of the tips/tricks I’ve developed during my undergrad. I’ve received nice comments about that guide, so in the same spirit, now that my Ph

Andrej Karpathy
教程

Deep Reinforcement Learning: Pong from Pixels

--> This is a long overdue blog post on Reinforcement Learning (RL). RL is hot! You may have noticed that computers can now automatically learn to play ATARI games (from raw game pixels!), they are beating world champions at Go, simulated q

Andrej Karpathy
教程

Short Story on AI: A Cognitive Discontinuity.

p { text-align: justify; } The idea of writing a collection of short stories has been on my mind for a while. This post is my first ever half-serious attempt at a story, and what better way to kick things off than with a story on AI and wha

Andrej Karpathy