技术场景说明、参数名称与参考答案目前为英文。
注意力与掩码
阅读方法,改变一个输入,对比两次运行的导出结果。
因果注意力基线
Future positions must receive zero probability.
本地计算 / 模拟 · 打开实验 ↗双向上下文
Removing the mask exposes future keys.
本地计算 / 模拟 · 打开实验 ↗尖锐注意力
Larger logits concentrate probability on the largest visible score.
本地计算 / 模拟 · 打开实验 ↗均匀注意力
Equal visible logits yield uniform weights.
本地计算 / 模拟 · 打开实验 ↗平滑注意力
A smaller scale moves weights toward uniform without changing visibility.
本地计算 / 模拟 · 打开实验 ↗向量几何
阅读方法,改变一个输入,对比两次运行的导出结果。
余弦近邻
A large document norm should not dominate cosine ranking.
本地计算 / 模拟 · 打开实验 ↗点积范数偏差
The long vector may outrank a better-aligned short vector.
本地计算 / 模拟 · 打开实验 ↗查询旋转
Rotating the query changes which document aligns best.
本地计算 / 模拟 · 打开实验 ↗反向向量
Opposite vectors receive negative cosine scores.
本地计算 / 模拟 · 打开实验 ↗零向量边界
The lab returns zero scores for an undefined cosine denominator.
本地计算 / 模拟 · 打开实验 ↗KV 缓存与分页
阅读方法,改变一个输入,对比两次运行的导出结果。
GQA 基线
Eight KV heads use one quarter the cache of 32 heads.
本地计算 / 模拟 · 打开实验 ↗多头注意力缓存
More KV heads scale cache bytes linearly.
本地计算 / 模拟 · 打开实验 ↗多查询注意力缓存
One KV head sharply reduces logical cache size.
本地计算 / 模拟 · 打开实验 ↗长上下文批次
Sequence and batch size multiply memory demand.
本地计算 / 模拟 · 打开实验 ↗分页碎片
One extra token allocates an additional page per sequence.
本地计算 / 模拟 · 打开实验 ↗训练神经网络
在浏览器里训练小型神经网络,观察决策边界变化。
学习 XOR 象限
A nonlinear hidden layer can fit this non-linearly separable task.
浏览器真实训练 · 打开实验 ↗隐藏层容量不足
One hidden unit limits the available decision boundaries.
浏览器真实训练 · 打开实验 ↗小学习率
A lower learning rate may need more epochs.
浏览器真实训练 · 打开实验 ↗圆形分类
The hidden layer can approximate a curved boundary.
浏览器真实训练 · 打开实验 ↗随机种子敏感性
Initialization and sampled data affect the learning trajectory.
浏览器真实训练 · 打开实验 ↗有边界的 Agent 工作流
阅读方法,改变一个输入,对比两次运行的导出结果。
人工批准关卡
A write pauses without the mock approval toggle.
本地计算 / 模拟 · 打开实验 ↗已批准的模拟写入
Approval permits only the local mock write.
本地计算 / 模拟 · 打开实验 ↗工具白名单
A disallowed calculator call stops the workflow.
本地计算 / 模拟 · 打开实验 ↗预算耗尽
The second paid action is blocked before exceeding budget.
本地计算 / 模拟 · 打开实验 ↗记忆截断
Only the latest result survives FIFO truncation.
本地计算 / 模拟 · 打开实验 ↗混合检索与重排
阅读方法,改变一个输入,对比两次运行的导出结果。
混合融合基线
Combining independent ranks can promote shared candidates.
本地计算 / 模拟 · 打开实验 ↗纯词法检索
Exact query words alone set the ranking.
本地计算 / 模拟 · 打开实验 ↗纯向量检索
Only vector direction determines the ranking.
本地计算 / 模拟 · 打开实验 ↗理想重排上界
Perfect labels can improve ordering only inside the candidate pool.
本地计算 / 模拟 · 打开实验 ↗候选集不足
Even an oracle cannot recover documents excluded before reranking.
本地计算 / 模拟 · 打开实验 ↗LLM 裁判审计
阅读方法,改变一个输入,对比两次运行的导出结果。
混合裁判一致性
Agreement and order consistency measure different properties.
本地计算 / 模拟 · 打开实验 ↗完全一致
Perfect labels yield agreement and consistency of one.
本地计算 / 模拟 · 打开实验 ↗总选第一个
Selecting the first position fails swap consistency.
本地计算 / 模拟 · 打开实验 ↗平局占多数
A large tie class can make aggregate agreement misleading.
本地计算 / 模拟 · 打开实验 ↗稳定但错误
A judge can be order-consistent and disagree with every human label.
本地计算 / 模拟 · 打开实验 ↗模型路由与回退
阅读方法,改变一个输入,对比两次运行的导出结果。
两级路由
Most traffic uses the cheap path; failures add strong-model cost.
本地计算 / 模拟 · 打开实验 ↗全部强模型
Strong-only routing provides a simple cost baseline.
本地计算 / 模拟 · 打开实验 ↗频繁回退
High fallback frequency can erase routing savings.
本地计算 / 模拟 · 打开实验 ↗低成本模型故障
Every request pays both cost and latency before successful fallback.
本地计算 / 模拟 · 打开实验 ↗主模型无故障
Expected cost is a weighted average without retries.
本地计算 / 模拟 · 打开实验 ↗量化与离群值
阅读方法,改变一个输入,对比两次运行的导出结果。
四位量化基线
Fewer representable values introduce rounding error.
本地计算 / 模拟 · 打开实验 ↗八位重建
More quantization levels usually reduce reconstruction error.
本地计算 / 模拟 · 打开实验 ↗两位压力测试
Only three signed levels preserve little detail.
本地计算 / 模拟 · 打开实验 ↗离群值支配尺度
An outlier enlarges the global step and collapses small values.
本地计算 / 模拟 · 打开实验 ↗全零张量
The zero-range safeguard reconstructs all zeros exactly.
本地计算 / 模拟 · 打开实验 ↗请求缓存与 TTL
阅读方法,改变一个输入,对比两次运行的导出结果。
局部性基线
Repeated keys can avoid repeated model work.
本地计算 / 模拟 · 打开实验 ↗容量抖动
A tiny cache evicts useful entries before reuse.
本地计算 / 模拟 · 打开实验 ↗TTL 到期
Entries expire at the next request with this interval.
本地计算 / 模拟 · 打开实验 ↗高复用负载
Temporal locality improves the hit rate.
本地计算 / 模拟 · 打开实验 ↗全部唯一请求
Unique keys provide no exact-match cache savings.
本地计算 / 模拟 · 打开实验 ↗Tokenizers · RAG chunking · Sampling · Evals
Prompt 差异与 Token 变化
逐行对比两个版本,测量 Token 和 UTF-8 字节的增减。
打开工具 →JSONL 数据集检查
定位坏行、重复样本、超长输入及训练集与验证集的精确重叠。
打开工具 →RAG 分块实验室
观察 Unicode 安全的分块边界、重叠范围与真实文本 Token 数。
打开工具 →配对评测结果对比
对相同样本上的两个系统进行比较,计算可复现的 bootstrap 区间。
打开工具 →GPU 显存估算
在启动实验前拆解权重、KV cache 与全量训练状态的显存预算。
打开工具 →Sampling 实验:从 logits 到 Token
用可复现的本地分布测试 temperature、top-k 与 nucleus sampling。
打开工具 →Speculative Decoding 实验
在明确的接受率与延迟假设下,验证草稿模型什么时候加速、什么时候拖慢。
打开工具 →本地教学实验,不调用外部 API。合成示例不能替代生产环境测量。