How does a model learn its parameters?
Google's machine learning glossary defines parameters as the weights and biases a model learns during training [1]. Training itself is the process of finding the ideal parameter values that make up a model [1]. In linear regression, the bias is where the line crosses the vertical axis and each weight is the slope for one feature; both are calculated during training [2].
Google's crash course works through a car fuel-efficiency example. Training settles on a bias of 34 and a weight of -4.6, giving the model y' = 34 + (-4.6)(x₁), where x₁ is the car's weight in thousands of pounds. For a 4,000-pound car the predicted fuel efficiency is 15.6 miles per gallon [2]. That model has exactly two parameters: 34 and -4.6.
How is a parameter different from a hyperparameter?
Hyperparameters are the variables that you, or a tuning service, adjust between training runs; the learning rate is the classic example [1]. Parameters are what the model learns from the data on its own [1]. You choose the hyperparameters, and training finds the parameters.
How many parameters do large models have?
Far more than two. Transformers can contain hundreds of billions or even trillions of parameters [3]. Google's course adds that research shows Transformers with more parameters consistently outperform those with fewer [3].