Instructions to use marco-stranisci/bert-coping-replies with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marco-stranisci/bert-coping-replies with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marco-stranisci/bert-coping-replies")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("marco-stranisci/bert-coping-replies") model = AutoModelForSequenceClassification.from_pretrained("marco-stranisci/bert-coping-replies") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("marco-stranisci/bert-coping-replies")
model = AutoModelForSequenceClassification.from_pretrained("marco-stranisci/bert-coping-replies")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
the real repo is this one: https://huggingface.co/coping-emotions
I'll delete it in a few weeks
Please cite this paper as:
@InProceedings{Troiano2024,
author = {Enrica Troiano and Sofie Labat and Marco Antonio Stranisci and Viviana Patti and Rossana Damiano and Roman Klinger},
title = {Dealing with Controversy: An Emotion and Coping Strategy Corpus Based on Role Playing},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2024},
month = {nov},
year = {2024},
address = {Miami, Florida, USA},
publisher = {Association for Computational Linguistics}
}
license: apache-2.0
- Downloads last month
- 1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marco-stranisci/bert-coping-replies")