Toxic Language Classifier

Standard quota: 1,200 calls / 24h
Toxic Language Classifier

This classifier is a fine-tuned Roberta-base model using the simpletransformers toolkit. We use the Kaggle Toxic Comments Challenge dataset as training data. This dataset contains Wikipedia comments classified as toxic or non-toxic.

Default annotations
:ToxicLanguage an annotation which spans the entire document and has the following features:
  • isToxic, true if the classifier has determined the text is toxic, false otherwise
  • probability, the probability with which the classifier assigned the isToxic label

Test this service

Use this service

You can process up to 1,200 documents per day free of charge using the REST API, at an average rate of 2 documents/sec. Higher quotas are available for research users by arrangement, contact us for details.

The API endpoint for this service is:

https://cloud-api.gate.ac.uk/process/toxic-classifier

Create API Key