Text Classification
Transformers
PyTorch
bert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use philschmid/bert-mini-sst2-distilled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/bert-mini-sst2-distilled with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philschmid/bert-mini-sst2-distilled")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philschmid/bert-mini-sst2-distilled") model = AutoModelForSequenceClassification.from_pretrained("philschmid/bert-mini-sst2-distilled", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
816e501 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c4c5abbcd630d0ba4c2b44d01f1895ce3e646baa4443bc0f2aa856e1150b8adf
size 2927
|