Instructions to use GautamR/org_bot_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GautamR/org_bot_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GautamR/org_bot_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("GautamR/org_bot_classifier") model = AutoModelForSequenceClassification.from_pretrained("GautamR/org_bot_classifier") - Notebooks
- Google Colab
- Kaggle
GautamR commited on
Commit ·
d9197f3
1
Parent(s): 4f01de2
Updated model commit
Browse files- config.json +8 -8
config.json
CHANGED
|
@@ -10,18 +10,18 @@
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 3072,
|
| 20 |
"label2id": {
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
},
|
| 26 |
"layer_norm_eps": 1e-12,
|
| 27 |
"max_position_embeddings": 512,
|
|
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
+
"0": "LABEL_0",
|
| 14 |
+
"1": "LABEL_1",
|
| 15 |
+
"2": "LABEL_2",
|
| 16 |
+
"3": "LABEL_3"
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 3072,
|
| 20 |
"label2id": {
|
| 21 |
+
"LABEL_0": 0,
|
| 22 |
+
"LABEL_1": 1,
|
| 23 |
+
"LABEL_2": 2,
|
| 24 |
+
"LABEL_3": 3
|
| 25 |
},
|
| 26 |
"layer_norm_eps": 1e-12,
|
| 27 |
"max_position_embeddings": 512,
|