It is actually not like a person learning at all. The only way you could believe this is if you have no grasp of the mathematics that are the basis of the multi-dimensional statistical analysis which is neural network training, and haven't bothered to do any reading on it.
There's a reason I referenced curve fitting.
Here is a better explanation than I could give, by someone who knows better than me:
Large Language Models explained briefly by 3Blue1Brown