Instructions to use coping-emotions/roberta-coping-reaction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use coping-emotions/roberta-coping-reaction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="coping-emotions/roberta-coping-reaction")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("coping-emotions/roberta-coping-reaction") model = AutoModelForSequenceClassification.from_pretrained("coping-emotions/roberta-coping-reaction") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Please cite our paper if you use this model
Troiano, E., Labat, S., Stranisci, M. A., Damiano, R., Patti, V., & Klinger, R. (2024, November). Dealing with Controversy: An Emotion and Coping Strategy Corpus Based on Role Playing. In Findings of the Association for Computational Linguistics: EMNLP 2024 (pp. 1634-1658).
license: apache-2.0
- Downloads last month
- 7