Offensive Language Classifier

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

This classifier is a fine-tuned Roberta-base model using the simpletransformers toolkit. We use the OLIDv1 dataset from OffensEval 2019 as training data. This dataset contains tweets classified as offensive or non-offensive.

Default annotations
:OffensiveLanguage an annotation which spans the entire document and has the following features:
  • isOffensive, true if the classifier has determined the text is offensive, false otherwise
  • probability, the probability with which the classifier assigned the isOffensive 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/offensive-classifier

Create API Key