ThilinaRajapakse / pytorch-transformers-classification

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

'math' is not defined #38

Closed kbressem closed 2 years ago

kbressem commented 4 years ago

in the run_model.ipynb import math is missing in the first cell which leads to an later error in the train function.

ThilinaRajapakse commented 4 years ago

Added. However, do note that this repo is no longer actively maintained.

The new version can be found here.