Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use lewtun/sagemaker-distilbert-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lewtun/sagemaker-distilbert-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lewtun/sagemaker-distilbert-emotion")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lewtun/sagemaker-distilbert-emotion") model = AutoModelForSequenceClassification.from_pretrained("lewtun/sagemaker-distilbert-emotion", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add evaluation results on emotion dataset
#3
by lewtun HF Staff - opened
Beep boop, I am a bot from Hugging Face's automatic evaluation service! Your model has been evaluated on the emotion dataset by @abhishek , using the predictions stored here. Accept this pull request to see the results displayed on the Hub leaderboard. Evaluate your model on more datasets here.
Test with line break \n New line
Test with escaped line break \n new line