Swift Talk Building a Language Model: The Loss Function This is the code that accompanies Swift Talk Episode 494: Building a Language Model: The Loss Function