Do humans really read terabytes of C code to learn C?
Humans look at a few examples and extrapolate…
Humans look at a few examples and extrapolate…
I’d guess it’s exactly the same with humans: a human that received good general education can quickly learn specific things like C.
Also humans didn't evolve in billion of years.
This is all relevant because humans aren't born as random chemical soup. We come with pre-trained weights from billions of years of evolution, and fine-tune that with enormous amounts of sensory data for years. Only after that incredibly complex and time-consuming process does a person have the ability to learn from a few examples.
An LLM can generalize from a few examples on a new language that you invent yourself and isn't in the training set. Go ahead and try it.