a tiny miss in exampls

#21
by sudo - opened

Hello,
could you check this link, please : https://huggingface.co./transformers/v3.0.2/training.html#codecell5
in this code box, in line 4, it should be outputs[1] (logits) and not outputs[0] (loss) in order to correctly calculate the loss

Sign up or log in to comment