Downloads · 30 days
14
16% of all-time downloads
tejasvichebrolu/personal-narrative-classifier
personal-narrative-classifier is a text classification model from tejasvichebrolu. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This is the official repository for the text classification model presented in the paper: "Personal Narratives Empower Politically Disinclined Individuals to Engage in Political Discussions", which received a Best Pap…
Downloads · 30 days
14
16% of all-time downloads
All-time downloads
89
Public
Parameters
109M
438 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This is the official repository for the text classification model presented in the paper: "Personal Narratives Empower Politically Disinclined Individuals to Engage in Political Discussions", which received a Best Paper Honorable Mention at the 17th ACM Web Science Conference (WebSci'25).
The model is a fine-tuned BERT-based classifier (falkne/storytelling-LM-europarl-mixed-en) designed to identify personal narratives in online comments.
This model classifies a given text as either a "Personal Narrative" or "Not a Personal Narrative". It was developed to support a large-scale computational analysis of how personal stories affect engagement in online political discussions on Reddit.
This model is intended for researchers in computational social science, political science, communication, and HCI to study online discourse. It can be used to:
As noted in the paper, this model has several limitations:
You can use this model with the transformers library pipeline for easy inference.
from transformers import pipeline
repo_id = "tejasvichebrolu/personal-narrative-classifier"
classifier = pipeline("text-classification", model=repo_id)
# Example texts
narrative_text = "I’m in Alabama and oh my god it was so humid yesterday. I was so unproductive from how bad it was."
non_narrative_text = "The most straightforward solution is to encourage others to engage with politics online."
# Get predictions
results = classifier([narrative_text, non_narrative_text])
for text, result in zip([narrative_text, non_narrative_text], results):
print(f"Text: {text}")
# The pipeline may return LABEL_0/LABEL_1 or the names from the config
print(f" -> Prediction: {result['label']}, Score: {result['score']:.4f}\n")
The model was fine-tuned on a dataset of 2,000 manually labeled Reddit comments. It achieved a macro average F1-score of 0.82 in 5-fold cross-validation. For more details on the training procedure and performance, please refer to the paper.
If you use this model or its findings in your research, please cite our paper:
@inproceedings{chebrolu2025narratives,
title={{Personal Narratives Empower Politically Disinclined Individuals to Engage in Political Discussions}},
author={{Chebrolu, Tejasvi and Kumaraguru, Ponnurangam and Rajadesingan, Ashwin}},
booktitle={{Proceedings of the 17th ACM Web Science Conference 2025 (Websci '25)}},
year={{2025}},
organization={{ACM}},
doi={10.1145/3717867.3717899}
}