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 ·
dc4df55
1
Parent(s): fcc4ce0
Update README.md
Browse files50 unmodified lines5152535455565750 unmodified lines# ContactPlease reach out to [michelle.li851@duke.edu](mailto:michelle.li851@duke.edu) if you have any questions or feedback.# Reference50 unmodified lines5152535455565750 unmodified lines# ContactPlease reach out to [michelleli1999@gmail.com](mailto:michelleli1999@gmail.com) if you have any questions or feedback.# Reference
README.md+1-1