Instructions to use dusersad12/TextClassifier-BestRun with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dusersad12/TextClassifier-BestRun with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dusersad12/TextClassifier-BestRun")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dusersad12/TextClassifier-BestRun") model = AutoModelForSequenceClassification.from_pretrained("dusersad12/TextClassifier-BestRun", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +6 -0
config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "bert",
|
| 3 |
+
"architectures": ["BertForSequenceClassification"],
|
| 4 |
+
"num_labels": 5,
|
| 5 |
+
"run_id": "run-def456"
|
| 6 |
+
}
|