Sorry for the lazy "commit", but I'm short on time to figure out how to push a local commit to the repo as a pull request (I guess I need to fork, etc).
The multilabel BERT fine-tuning doesn't work ATM. Testing done via sample_notebooks/new-toxic-multilabel.ipynb . The fixes I applied are as follows:
In sample_notebooks/new-toxic-multilabel.ipynb fixed DATA_LABEL and DATA_PATH:
Sorry for the lazy "commit", but I'm short on time to figure out how to push a local commit to the repo as a pull request (I guess I need to fork, etc).
The multilabel BERT fine-tuning doesn't work ATM. Testing done via
sample_notebooks/new-toxic-multilabel.ipynb
. The fixes I applied are as follows: Insample_notebooks/new-toxic-multilabel.ipynb
fixedDATA_LABEL
andDATA_PATH
:In
fast_bert/learner_cls.py
fixed lines 146 and 147 (pos_weight
andweight
were undefined, should be taken from the dataBunch object):Optional: Had a problem loading Spicy and removed it as an unneeded dependency in
fast_bert/data_lm.py
.