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 ·
99b7eee
1
Parent(s): 8ef4978
Update config.json
Browse files- config.json +4 -0
config.json
CHANGED
|
@@ -4,6 +4,10 @@
|
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
| 6 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"attention_dropout": 0.1,
|
| 8 |
"dim": 768,
|
| 9 |
"dropout": 0.1,
|
|
|
|
| 4 |
"architectures": [
|
| 5 |
"DistilBertForSequenceClassification"
|
| 6 |
],
|
| 7 |
+
"id2label": [
|
| 8 |
+
"Normal User",
|
| 9 |
+
"State Operator"
|
| 10 |
+
],
|
| 11 |
"attention_dropout": 0.1,
|
| 12 |
"dim": 768,
|
| 13 |
"dropout": 0.1,
|