Views
No views yet
LABEL_0: Not mandate-relatedLABEL_1: Mandate-related1
2from transformers import pipeline
3pipe = pipeline('text-classification', model="phsieh/vaccine-mandate-bertweet-classifier", return_all_scores=True)
4pred = pipe("There is a debate about whether vaccination should be a personal choice.")
5>>[[{'label': 'LABEL_0', 'score': 0.002914851764217019},
6 {'label': 'LABEL_1', 'score': 0.9970851540565491}]]
7@article{hsieh2025psychological,
title="Psychological reactance to vaccine mandates on Twitter: a study of sentiments in the United States",
author="Hsieh, Pei-Hsun",
journal="Journal of Public Health Policy",
volume="46",
issue="2",
pages="269--283",
year="2025",
publisher={Springer}
}