Files
HuggingFace_transformer/run_squad_pytorch.py
VictorSanh beb59080b3 Fix size compatibility for model.forward
Error was coming from "modeling_pytorch.py", line 484, in forward: start_loss = loss_fct(start_logits, start_positions) --> ValueError: Expected target size (12, 1), got torch.Size([12])
2018-11-02 04:36:42 -04:00

40 KiB