Downloads · 30 days
7
28% of all-time downloads
Cerru02/lie-detector-roberta
lie-detector-roberta is a machine learning model from Cerru02. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of roberta-base on the LIAR dataset, a benchmark for political fact-checking introduced in "Liar, Liar Pants on Fire" (Wang, 2017).
Downloads · 30 days
7
28% of all-time downloads
All-time downloads
25
Public
Repo size
502 MB
Likes
0
Public
Click a slice to open those files.
.bin502 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of roberta-base on the LIAR dataset, a benchmark for political fact-checking introduced in "Liar, Liar Pants on Fire" (Wang, 2017).
It classifies political statements into six categories: pants-fire, false, barely-true, half-true, mostly-true, true.
Alongside the statement, the model uses:
label = lie_detector(
statement="We’ve added more jobs than any time in history.",
subjects="economy,jobs",
speaker_name="Joe Biden",
speaker_title="President",
state="delaware",
party_affiliation="democrat",
history_barely_true=14,
history_false=12,
history_half_true=24,
history_mostly_true=21,
history_pants_fire=5,
context_location="CNN Town Hall"
)