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
Ctrl+K
autoevaluator HF Staff
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#2)
cfbf5d5