Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use philschmid/sagemaker-distilbert-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/sagemaker-distilbert-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philschmid/sagemaker-distilbert-emotion")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philschmid/sagemaker-distilbert-emotion") model = AutoModelForSequenceClassification.from_pretrained("philschmid/sagemaker-distilbert-emotion") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#3 opened almost 3 years ago
by
SFconvertbot