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
Update prerec packages info: transformer and apex? #45
replacing every pytorch_transformers by transformers fixes the problem of giving negative dimensions to create tensor.
fp 16 requires nv apex, but can you write something to note that it is not the pip apex, and point to a way to install from nv or just let the default fp16=False to circumvent the issue for beginners?
Thanks