Downloads · 30 days
13
33% of all-time downloads
CrisisNarratives/setfit-9classes-multi_label
setfit-9classes-multi_label is a text classification model from CrisisNarratives. Use it when you need a label for a piece of text. It is set up for setfit. The card lists the license as mit.
The official trained models for "Computational Analysis of Communicative Acts for Understanding Crisis News Comment Discourses".
Downloads · 30 days
13
33% of all-time downloads
All-time downloads
40
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
The official trained models for "Computational Analysis of Communicative Acts for Understanding Crisis News Comment Discourses".
This model is based on SetFit (SetFit: Efficient Few-Shot Learning Without Prompts) and uses the sentence-transformers/paraphrase-mpnet-base-v2 pretrained model. It has been fine-tuned on our crisis narratives dataset.
informing statementchallengeaccusationrejectionappreciationrequestquestionacceptanceapologyYou can find the code to fine-tune this model and detailed instructions in the following GitHub repository:
Acts in Crisis Narratives - SetFit Fine-Tuning Notebook
Install the SetFit library:
pip install setfit
Load the model and run inference:
from setfit import SetFitModel
# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("CrisisNarratives/setfit-9classes-multi_label")
# Run inference
preds = model("I'm sorry.")
For detailed instructions, refer to the GitHub repository linked above.
If you use this model in your work, please cite:
Paakki, H., Ghorbanpour, F. (2025). Computational Analysis of Communicative Acts for Understanding Crisis News Comment Discourses. In: Aiello, L.M., Chakraborty, T., Gaito, S. (eds) Social Networks Analysis and Mining. ASONAM 2024. Lecture Notes in Computer Science, vol 15212. Springer, Cham. https://doi.org/10.1007/978-3-031-78538-2_20
For questions or feedback, please reach out via our contact form.