Instructions to use dotzero24/intent_identifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dotzero24/intent_identifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dotzero24/intent_identifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dotzero24/intent_identifier") model = AutoModelForSequenceClassification.from_pretrained("dotzero24/intent_identifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse files- config.json +5 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -31,7 +31,9 @@
|
|
| 31 |
"18": "LABEL_18",
|
| 32 |
"19": "LABEL_19",
|
| 33 |
"20": "LABEL_20",
|
| 34 |
-
"21": "LABEL_21"
|
|
|
|
|
|
|
| 35 |
},
|
| 36 |
"initializer_range": 0.02,
|
| 37 |
"intermediate_size": 3072,
|
|
@@ -51,6 +53,8 @@
|
|
| 51 |
"LABEL_2": 2,
|
| 52 |
"LABEL_20": 20,
|
| 53 |
"LABEL_21": 21,
|
|
|
|
|
|
|
| 54 |
"LABEL_3": 3,
|
| 55 |
"LABEL_4": 4,
|
| 56 |
"LABEL_5": 5,
|
|
|
|
| 31 |
"18": "LABEL_18",
|
| 32 |
"19": "LABEL_19",
|
| 33 |
"20": "LABEL_20",
|
| 34 |
+
"21": "LABEL_21",
|
| 35 |
+
"22": "LABEL_22",
|
| 36 |
+
"23": "LABEL_23"
|
| 37 |
},
|
| 38 |
"initializer_range": 0.02,
|
| 39 |
"intermediate_size": 3072,
|
|
|
|
| 53 |
"LABEL_2": 2,
|
| 54 |
"LABEL_20": 20,
|
| 55 |
"LABEL_21": 21,
|
| 56 |
+
"LABEL_22": 22,
|
| 57 |
+
"LABEL_23": 23,
|
| 58 |
"LABEL_3": 3,
|
| 59 |
"LABEL_4": 4,
|
| 60 |
"LABEL_5": 5,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20f7a3ba7e572b22f071e4c216c830fb7601f08566f66e182127ac1d27632703
|
| 3 |
+
size 669523040
|