Instructions to use khailai/roberta-offensive-classifier-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use khailai/roberta-offensive-classifier-beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="khailai/roberta-offensive-classifier-beta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("khailai/roberta-offensive-classifier-beta") model = AutoModelForSequenceClassification.from_pretrained("khailai/roberta-offensive-classifier-beta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Trained on new data DICA_Dec16 (lower-cased) for 5 epochs. 96% accuracy and 0.88 F1 score
1061663 -
Trained on new data DICA_Dec16 for 5 epochs. 96% accuracy and 0.86 F1 score
45f8982 -
Trained on training set of DICA_Dec15 (case-preserved) for 1 epochs.
ce0d4e7
-
Trained on training set of DICA_Dec15 (lower-cased) for 5 epochs.
51fef65
-
Trained on training set of DICA_Dec13 for 2 epochs
35d3c50
-
Trained on training set of DICA_1.1
aca6c71