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