Text Classification
Transformers
PyTorch
English
distilbert
classification
text-embeddings-inference
Instructions to use lingwave-admin/state-op-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lingwave-admin/state-op-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lingwave-admin/state-op-detector")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lingwave-admin/state-op-detector") model = AutoModelForSequenceClassification.from_pretrained("lingwave-admin/state-op-detector") - Notebooks
- Google Colab
- Kaggle
Commit ·
2b5067d
1
Parent(s): 9d0f6d8
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
| 6 |
],
|
| 7 |
-
"id2label":
|
| 8 |
"attention_dropout": 0.1,
|
| 9 |
"dim": 768,
|
| 10 |
"dropout": 0.1,
|
|
|
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
| 6 |
],
|
| 7 |
+
"id2label": {"0":"Normal User","1":"State Operator"},
|
| 8 |
"attention_dropout": 0.1,
|
| 9 |
"dim": 768,
|
| 10 |
"dropout": 0.1,
|