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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
9550644
1
Parent(s): f959acd
update id2label
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
| 23 |
"type_vocab_size": 2,
|
| 24 |
"use_cache": true,
|
| 25 |
"vocab_size": 28996,
|
| 26 |
-
"
|
| 27 |
"LABEL_0": "OFF",
|
| 28 |
"LABEL_1": "NON"
|
| 29 |
},
|
|
|
|
| 23 |
"type_vocab_size": 2,
|
| 24 |
"use_cache": true,
|
| 25 |
"vocab_size": 28996,
|
| 26 |
+
"id2label": {
|
| 27 |
"LABEL_0": "OFF",
|
| 28 |
"LABEL_1": "NON"
|
| 29 |
},
|