批大小与轮次Batch Size and Epochs
Batch Size and Epochs
批大小是一次更新看多少样本,轮次是整套数据过几遍。Batch size is how many examples one update sees; an epoch is one full pass over the data.
批大小影响梯度噪声、显存占用和吞吐。轮次影响模型见过数据多少次。
两者与学习率耦合:批大小变了,合适的学习率通常也要变。
Batch size affects gradient noise, memory use and throughput; epochs affect how often the model sees the data.
Both couple with the learning rate: change the batch size and the suitable learning rate usually changes too.
「训练 3 轮」不是通用配方。数据量、任务难度和过拟合信号决定该看多少遍。“Train for three epochs” is not a universal recipe. Data volume, task difficulty and overfitting signals decide how many passes are right.
batch size · epoch · 批次大小 · 训练轮次
回到名词地图看第4段的其他 60 个词 →Back to the map: the other 60 terms in stage 4 →
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →