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")# pip install -U transformers accelerate # 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 figures/fig2.png from dusersad12/TextClassifier-BestRun: direct link, hf CLI and curl.
- Browser
- Download file 2.05 kB
-
https://huggingface.co/dusersad12/TextClassifier-BestRun/resolve/main/figures/fig2.png
- Command line
-
hf download hf://dusersad12/TextClassifier-BestRun/figures/fig2.png
-
curl -L -o fig2.png https://huggingface.co/dusersad12/TextClassifier-BestRun/resolve/main/figures/fig2.png
2.05 kB
