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 ·
7419ee1
1
Parent(s): fc0ee6a
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"use_cache": true,
|
| 25 |
"vocab_size": 28996,
|
| 26 |
"id2label": {
|
| 27 |
-
"0": "
|
| 28 |
-
"1": "
|
| 29 |
}
|
| 30 |
}
|
|
|
|
| 24 |
"use_cache": true,
|
| 25 |
"vocab_size": 28996,
|
| 26 |
"id2label": {
|
| 27 |
+
"0": "NON",
|
| 28 |
+
"1": "OFF"
|
| 29 |
}
|
| 30 |
}
|