Text Classification
Transformers
PyTorch
English
roberta
distilroberta
sentiment
emotion
twitter
reddit
text-embeddings-inference
Run this model with HF Jobs
Run michelleli99/emotion_text_classifier on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/michelleli99/emotion_text_classifier. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/michelleli99/emotion_text_classifier on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use michelleli99/emotion_text_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use michelleli99/emotion_text_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="michelleli99/emotion_text_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("michelleli99/emotion_text_classifier") model = AutoModelForSequenceClassification.from_pretrained("michelleli99/emotion_text_classifier", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Michelle Li commited on
Commit ·
d080918
1
Parent(s): abdbd9c
Update README.md
Browse files17 unmodified lines1819202122232417 unmodified lines# Model DescriptionDistilRoBERTa-base is a transformers model, which is pre-trained on the Friends show to classify emotions from text data. It predicts 6 Ekman emotions and a neutral class. These emotions include anger, disgust, fear, joy, neutral, sadness, and surprise.The model is a fine-tuned version of [Emotion English DistilRoBERTa-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base/) and [DistilRoBERTa-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base). This model was initially trained on the following table (from [Emotion English DistilRoBERTa-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base/):17 unmodified lines1819202122232417 unmodified lines# Model DescriptionDistilRoBERTa-base is a transformer model that performs sentiment analysis. I fine-tuned the model on transcripts from the Friends show with the goal of classifying emotions from text data, specific dialogue from Netflix shows or movies. The model predicts 6 Ekman emotions and a neutral class. These emotions include anger, disgust, fear, joy, neutrality, sadness, and surprise.The model is a fine-tuned version of [Emotion English DistilRoBERTa-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base/) and [DistilRoBERTa-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base). This model was initially trained on the following table (from [Emotion English DistilRoBERTa-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base/):
README.md+1-1