Always in the middle of something.

Chasing ideas across ML, AI, and data. Building tools when the rabbit hole gets interesting enough.
Running more AI reviewers on the same code
AI Systems

Running more AI reviewers on the same code

Fan three or four AI reviewers at the same diff and what comes back is a list of candidates. Agentic OS's own audit records show how many survive checking, and why its default has dispatched subagents return evidence while one primary owns the write.

2026-08-08 · 6 min read · 1220 words · KbWen · EN
subagent 分派:第二個 agent 該拿到什麼
AI Systems

subagent 分派:第二個 agent 該拿到什麼

開一個 agent 去看另一個 agent 做完的東西很容易,難的是後面那個看得見前面漏掉了什麼。從 Agentic OS 的 review 規定看下去:要讓第二個 agent 看得出東西,靠的是刻意不給它 session、對話記錄和實作理由。

2026-08-08 · 4 min read · 1902 words · KbWen · ZH
AI Systems

How the KV cache speeds up LLM generation

A transformer redoes the same attention projections for every past token at each decoding step. The KV cache stores those keys and values so they get reused instead of recomputed, and the one cost it adds is memory that grows with the sequence.

2026-08-06 · 4 min read · 771 words · KbWen · EN
Machine Learning

為什麼分類的損失函數幾乎都是交叉熵

把 softmax 加交叉熵對 logit 的導數一路算出來,結果剛好是預測機率減去標籤。這篇從一個三類別的小例子走進這個梯度,看它為什麼乾淨、又為什麼信心錯得越離譜就修得越用力。

2026-08-06 · 5 min read · 2373 words · KbWen · ZH
Kimi K3 Benchmarks vs Claude Fable 5 and GPT-5.6 Sol
AI Systems

Kimi K3 Benchmarks vs Claude Fable 5 and GPT-5.6 Sol

Moonshot's model card scores Kimi K3 against Claude Fable 5 and GPT-5.6 Sol across 45 benchmarks. Some rows go to K3 and some to the others, with margins running from fifteen points down to a tenth — plus what $3/$15 per million tokens buys.

2026-08-04 · 4 min read · 753 words · KbWen · EN
Kimi K3 適合什麼任務?跟 Fable 5、GPT-5.6 Sol 的對照表怎麼看
AI Systems

Kimi K3 適合什麼任務?跟 Fable 5、GPT-5.6 Sol 的對照表怎麼看

Moonshot 七月發表的開源模型 Kimi K3,README 附了一張跟 Fable 5、GPT-5.6 Sol 的對照表。這篇挑六項分數來看,也整理了價格與輸出速度,談哪些任務可以交給它。

2026-08-04 · 4 min read · 1719 words · KbWen · ZH
Python

What functools.wraps restores when you decorate a function

A decorator replaces your function with a wrapper, so its name, docstring, and signature change. Here is exactly what functools.wraps copies back and how it records __wrapped__.

2026-07-30 · 4 min read · 752 words · KbWen · EN
AI Systems

Before an incident, test whether your AI provider will accept attack logs

Hugging Face's forensics were refused by the commercial APIs it tried first. The block is an access setting, so test what your account does with attack data.

2026-07-27 · 7 min read · 1361 words · KbWen · EN
AI Systems

Tokenization 到底佔多少成本?從 0.1% 到 99% 的落差是怎麼來的

同一串討論底下,有人量到 tokenization 不到總推論時間的 0.1%,也有人量到九成以上的 CPU 時間都花在這裡。這篇看這個落差怎麼來的:算的窗口不同、模型大小不同,還有一些工作根本沒有模型在裡面。

2026-07-27 · 4 min read · 1927 words · KbWen · ZH
AI Systems

How temperature, top-k, and top-p shape an LLM's output

A worked walk through the three main LLM sampling knobs: temperature reshapes the whole next-token distribution, while top-k and top-p truncate which tokens you may sample from.

2026-07-23 · 5 min read · 970 words · KbWen · EN