Instructions to use kasohrab/electra-distilled-sst with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kasohrab/electra-distilled-sst with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kasohrab/electra-distilled-sst")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kasohrab/electra-distilled-sst") model = AutoModelForSequenceClassification.from_pretrained("kasohrab/electra-distilled-sst", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 13.9 kB xet
- 6.9 kB xet
- 7.97 kB xet
- 8.5 kB xet
- 6.37 kB xet
- 6.37 kB xet
- 5.48 kB xet
- 10.1 kB xet
- 5.48 kB xet
- 8.68 kB xet
- 5.48 kB xet
- 5.48 kB xet
- 9.57 kB xet
- 6.01 kB xet
- 10.1 kB xet
- 8.15 kB xet
- 6.55 kB xet
- 6.01 kB xet
- 5.48 kB xet
- 6.01 kB xet
- 6.54 kB xet
- 6.54 kB xet
- 5.48 kB xet
- 7.08 kB xet
- 5.48 kB xet
- 6.55 kB xet
- 6.01 kB xet
- 8.15 kB xet
- 5.48 kB xet
- 6.01 kB xet
- 6.01 kB xet
- 8.15 kB xet
- 6.01 kB xet
- 7.97 kB xet
- 5.48 kB xet
- 5.48 kB xet
- 5.48 kB xet
- 5.48 kB xet
- 7.08 kB xet
- 6.01 kB xet
- 6.01 kB xet
- 6.01 kB xet
- 6.55 kB xet
- 5.48 kB xet
- 6.01 kB xet
- 6.37 kB xet
- 5.48 kB xet
- 5.48 kB xet
- 6.01 kB xet
- 7.97 kB xet