Downloads · 30 days
4
4% of all-time downloads
ayushrawat-1718/youtube-fact-checker-roberta
youtube-fact-checker-roberta is a text classification model from ayushrawat-1718. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
A fine-tuned RoBERTa model for identifying factual claims in YouTube transcripts.
Downloads · 30 days
4
4% of all-time downloads
All-time downloads
90
Public
Parameters
125M
499 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
A fine-tuned RoBERTa model for identifying factual claims in YouTube transcripts.
This model is part of the YouTube Fact Checker project, where transcript sentences are first classified and only factual or disputed claims are forwarded to an LLM for verification.
Architecture: RoBERTa
Task: Text Classification
Framework: Hugging Face Transformers
Language: English
The model classifies each sentence into one of three categories:
| Label | Meaning |
|---|---|
| LABEL_0 | NOT_A_CLAIM |
| LABEL_1 | FACTUAL_CLAIM |
| LABEL_2 | DISPUTED_CLAIM |
Input
Water boils at 100°C at sea level.
Output
FACTUAL_CLAIM
Input
The Earth is flat.
Output
DISPUTED_CLAIM
Input
I really enjoyed this video.
Output
NOT_A_CLAIM
This model is designed as the first stage of an AI-powered fact-checking pipeline.
Pipeline:
YouTube Video
│
▼
Transcript Extraction
│
▼
Sentence Segmentation
│
▼
RoBERTa Claim Classifier
│
▼
LLM Fact Verification
│
▼
HTML / PDF Report
The classifier helps reduce unnecessary LLM calls by filtering out sentences that are not factual claims.
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="AyushRawat1718/youtube-fact-checker-roberta"
)
result = classifier("The moon landing was faked.")
print(result)
The model was fine-tuned for claim classification using a custom labeled dataset.
The objective was to distinguish between:
This model is used in the YouTube Fact Checker project.
Features include:
Ayush Rawat
B.Tech Computer Science Engineering
AI • NLP • Full Stack Development
GitHub: https://github.com/AyushRawat1718
⭐ If you find this model useful, consider starring the GitHub repository.