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
Download config.json from dusersad12/TextClassifier-BestRun: direct link, hf CLI and curl.
- Browser
- Download file 125 Bytes
-
https://huggingface.co/dusersad12/TextClassifier-BestRun/resolve/main/config.json
- Command line
-
hf download hf://dusersad12/TextClassifier-BestRun/config.json
-
curl -L -o config.json https://huggingface.co/dusersad12/TextClassifier-BestRun/resolve/main/config.json
125 Bytes
| { | |
| "model_type": "bert", | |
| "architectures": ["BertForSequenceClassification"], | |
| "num_labels": 5, | |
| "run_id": "run-def456" | |
| } |