Text Classification
Transformers
PyTorch
English
bert
BERTicelli
text classification
abusive language
hate speech
offensive language
Instructions to use patrickquick/BERTicelli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickquick/BERTicelli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="patrickquick/BERTicelli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("patrickquick/BERTicelli") model = AutoModelForSequenceClassification.from_pretrained("patrickquick/BERTicelli") - Notebooks
- Google Colab
- Kaggle
Commit ·
6662507
1
Parent(s): 53ee741
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -27,5 +27,4 @@
|
|
| 27 |
"0": "OFF",
|
| 28 |
"1": "NON"
|
| 29 |
},
|
| 30 |
-
"_num_labels": 2,
|
| 31 |
}
|
|
|
|
| 27 |
"0": "OFF",
|
| 28 |
"1": "NON"
|
| 29 |
},
|
|
|
|
| 30 |
}
|