Open adiv5 opened 4 years ago
I have the same question... Thanks firstly for giving a method.
Look at the predict_batch method.
There's a kind example in new-toxic-multilabel.ipynb
Here, you will have to change the model_name option to Bert. In addition, I changed several lines to adjust to my dataset and to print metrics on tensorboard.
I have pretrained bert model in pytorch with config and vocab file. I want to use it for multilabel classification task. My question is how to use it?