Instructions to use adity12345/roberta-classifier_batch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adity12345/roberta-classifier_batch32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="adity12345/roberta-classifier_batch32")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("adity12345/roberta-classifier_batch32") model = AutoModelForSequenceClassification.from_pretrained("adity12345/roberta-classifier_batch32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
bf33284 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d57379df36eaf57d37b947c927cbea038ef334e49c4b1eff62d7b9a3bbd615b9
size 5304
|