# Weights

- **Canonical URL:** https://getaimath.com/dictionary/weights/
- **Topics:** [AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/), [Parameters, Weights & Model Size](https://getaimath.com/dictionary/category/parameters-weights-and-model-size/)
- **Last updated:** 2026-11-25

## What is Weights?

**In one sentence:** Weights are the numbers inside a neural network that decide how much each input matters.

Each connection between neurons has a weight. A big weight means "pay a lot of attention to this," and a small or negative one means "ignore this" or "this points the other way." Training is the process of finding good values for all the weights. The weights are where a model stores everything it has learned.

![Training vs. Inference: Studying Flashcards vs. Taking the Test — Simple cartoon diagram comparing AI Training (studying 1,000 flashcards and fixing mistakes until the brain learns the pattern) with AI Inference (answering a brand-new question in 1 second on test day).](https://getaimath.com/diagrams/ai-and-machine-learning-fundamentals.png)
*Napkin Diagram (AI & Machine Learning Fundamentals): Training is the long study session where the AI learns from examples; inference is test day when you actually use it.*

## What is an example of Weights?

When people share "model weights," they are sharing the trained numbers that make the model work.

## Why does Weights matter?

The weights are the model; if you have them, you can run it.

## Related Concepts

- [Backpropagation](https://getaimath.com/dictionary/backpropagation/): Backpropagation is the method a neural network uses to figure out which of its numbers caused a mistake, so it can fix them.
- [Bias](https://getaimath.com/dictionary/bias/): "Bias" has two meanings in AI: a small extra number inside each neuron, and unfair patterns a model picks up from its data.
- [Non-trainable Parameters](https://getaimath.com/dictionary/non-trainable-parameters/): Non-trainable parameters are numbers in a model that stay fixed during training.
- [Gradient Descent](https://getaimath.com/dictionary/gradient-descent/): Gradient descent is a method for training models by repeatedly taking small steps in the direction that reduces mistakes the most.
- [Parameters](https://getaimath.com/dictionary/parameters/): Parameters are all the numbers a model learns during training, mainly its weights and biases.
- [Trainable Parameters](https://getaimath.com/dictionary/trainable-parameters/): Trainable parameters are the numbers in a model that get updated during training.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/weights/)
