The BinaryClassificationProcessor class is defined in tools.py. Make sure that it is imported at the place where you are getting this error.

Please note that this guide was written for an older version of the Transformers library. The most recent version is Simple Transformers.

AI researcher, avid reader, fantasy and Sci-Fi geek, and fan of the Oxford comma. www.linkedin.com/in/t-rajapakse/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store