How to use from the
Use from the
Transformers library
# 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", device_map="auto")
Quick Links

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
3
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support