Instructions to use Harsha901/distilbert-sst2-student with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Harsha901/distilbert-sst2-student with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Harsha901/distilbert-sst2-student")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Harsha901/distilbert-sst2-student") model = AutoModelForSequenceClassification.from_pretrained("Harsha901/distilbert-sst2-student", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
227cfb5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:82a613b1cac39a908e1089b989ad9cd58856177e882d2974aa677e1de90c5afe
size 267832560
|