Based on the Pytorch-Transformers library by HuggingFace. To be used as a starting point for employing Transformer models in text classification tasks. Contains code to easily train BERT, XLNet, RoBERTa, and XLM models for text classification.
Apache License 2.0
306
stars
97
forks
source link
RuntimeError: Trying to create tensor with negative dimension -1: [-1, 768] #44