

TITLE
XLNet finetuning

COMMENTS
2

REACTIONS
+1: 0
-1: 0
laugh: 0
hooray: 0
heart: 0
rocket: 0
eyes: 0

BODY
I am trying to fine-tune XLNet model and it used work fine but I think huggingface update some classes and I ran through this error:

RuntimeError: Trying to create tensor with negative dimension -1: [-1, 768]

![xlnet](https://user-images.githubusercontent.com/55197626/94844162-d030f780-03eb-11eb-84e4-e72deaaa71ec.PNG)
