A weight is a trainable numerical value that determines how strongly a signal influences a subsequent computation in a neural network. Weights are adjusted during training and commonly stored in matrices or tensors. Unlike hyperparameters such as the learning rate, they are learned rather than set in advance.
The weights of a large language model are stored in model files and loaded into memory for local execution. The phrase “model weights” can also refer collectively to learned parameters such as biases, but it does not include the model architecture or executable code.