Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use King-8/confidence-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use King-8/confidence-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="King-8/confidence-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("King-8/confidence-classifier") model = AutoModelForSequenceClassification.from_pretrained("King-8/confidence-classifier") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -9
config.json
CHANGED
|
@@ -21,13 +21,4 @@
|
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
"transformers_version": "4.53.2",
|
| 23 |
"vocab_size": 30522
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
"id2label": {
|
| 27 |
-
"0": "confident",
|
| 28 |
-
"1": "not confident"
|
| 29 |
-
},
|
| 30 |
-
"label2id": {
|
| 31 |
-
"confident": 0,
|
| 32 |
-
"not confident": 1
|
| 33 |
}
|
|
|
|
| 21 |
"torch_dtype": "float32",
|
| 22 |
"transformers_version": "4.53.2",
|
| 23 |
"vocab_size": 30522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|