Key Error 'loss' while fine tuning GPT-2 with the Trainer utility

gautamshahi
Tue, 10 May 2022 23:35:37 +0000

But what is the reason that it only works with word “labels” or “label”