Text Classification
Transformers
Safetensors
English
roberta
distilroberta
sentiment
emotion
twitter
reddit
rhobots
text-embeddings-inference
Instructions to use NetworkIsLife/emotion-english-distilroberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NetworkIsLife/emotion-english-distilroberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NetworkIsLife/emotion-english-distilroberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NetworkIsLife/emotion-english-distilroberta-base") model = AutoModelForSequenceClassification.from_pretrained("NetworkIsLife/emotion-english-distilroberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K