Text Classification
Transformers
Safetensors
English
roberta
emotion-recognition
goemotions
multimodal
emotion-aware-agent
text-embeddings-inference
Instructions to use Veeda241/emora-text-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Veeda241/emora-text-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Veeda241/emora-text-roberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Veeda241/emora-text-roberta") model = AutoModelForSequenceClassification.from_pretrained("Veeda241/emora-text-roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Veeda241/emora-text-roberta: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/Veeda241/emora-text-roberta/resolve/main/README.md
- Command line
-
hf download hf://Veeda241/emora-text-roberta/README.md
-
curl -L -o README.md https://huggingface.co/Veeda241/emora-text-roberta/resolve/main/README.md
1.81 kB
| language: | |
| - en | |
| tags: | |
| - text-classification | |
| - emotion-recognition | |
| - goemotions | |
| - roberta | |
| - multimodal | |
| - emotion-aware-agent | |
| license: apache-2.0 | |
| library_name: transformers | |
| pipeline_tag: text-classification | |
| datasets: | |
| - google-research-datasets/go_emotions | |
| # Text Emotion Model — RoBERTa (GoEmotions) | |
| This repository contains the fine-tuned text emotion checkpoint used by the | |
| LLM-Based Multimodal Behaviour-Change Support project. | |
| ## Source project | |
| - Checkpoint: `models/text/checkpoints/runs_roberta-base/checkpoint-8712/` | |
| - Training script: `models/text/train.py` | |
| - Label collapsing: `models/common/label_mapping.py` | |
| ## Architecture | |
| - Backbone: RoBERTa-base | |
| - Task: GoEmotions multilabel emotion classification (28 labels) collapsed onto | |
| a 6-class shared emotion space (angry, disgust, fearful, happy, sad, | |
| surprised). | |
| - The text pipeline (`src/pipeline/text_pipeline.py`) loads this checkpoint, | |
| predicts GoEmotions-style probabilities, and collapses them with | |
| `models/common/label_mapping.py`. | |
| ## Intended use | |
| - Conversational emotion perception for text messages. | |
| - One component of a multimodal pipeline alongside audio and video models. | |
| - Not a clinical diagnostic tool. | |
| ## Inference | |
| ```python | |
| from transformers import AutoModelForSequenceClassification, AutoTokenizer | |
| tokenizer = AutoTokenizer.from_pretrained("<repo_id>") | |
| model = AutoModelForSequenceClassification.from_pretrained("<repo_id>") | |
| ``` | |
| ## Limitations | |
| - GoEmotions is Reddit-derived and contains demographic and topical bias. | |
| - This checkpoint is the project's best valid text result; it is not a | |
| separately validated production-grade emotion model. | |
| ## Training provenance | |
| - Uploaded by: `scripts/push_models_to_hub.py` | |
| - Do not substitute another checkpoint revision without comparing evaluation | |
| results. | |