Text Classification
Transformers
Safetensors
English
distilbert
coping
emotions
microaggressions
text-embeddings-inference
Instructions to use coping-emotions/distilbert-coping-reaction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use coping-emotions/distilbert-coping-reaction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="coping-emotions/distilbert-coping-reaction")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("coping-emotions/distilbert-coping-reaction") model = AutoModelForSequenceClassification.from_pretrained("coping-emotions/distilbert-coping-reaction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: mit | |
| datasets: | |
| - coping-emotions/roleplay-corpus | |
| language: | |
| - en | |
| base_model: | |
| - distilbert/distilbert-base-uncased | |
| pipeline_tag: text-classification | |
| tags: | |
| - coping | |
| - emotions | |
| - microaggressions | |
| 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 | |
| --- |