好好用 AI / Build a Small Model, Understand Large Models · Lesson 01

One neuron, step by step.

Follow the numbers once, then change them yourself. Blue marks the inputs, purple the parameters, and teal the output. Edit values directly on this page; no Python installation is needed.

Make sure you can work through this calculation.

Multiply once on each path, add the products, add the bias, and apply ReLU: keep positive values, turn negative values into 0, and leave 0 at 0. Faded nodes show steps not yet reached.

Try changing only the second input from 1 to 2. The extra 1 is first multiplied by weight 3, so the output increases by 3.