Downloads · 30 days
2
1% of all-time downloads
pandrei7/fakenews-mtl
fakenews-mtl is a machine learning model from pandrei7. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tf-keras.
BERT-based model for classifying fake news written in Romanian.
Downloads · 30 days
2
1% of all-time downloads
All-time downloads
275
Public
Repo size
470 MB
Likes
0
Public
Click a slice to open those files.
.data-00000-of-00001460 MB · 98%
From the Hugging Face model README
BERT-based model for classifying fake news written in Romanian.
It predicts one of six types of fake news (in order: "fabricated", "fictional", "plausible", "propaganda", "real", "satire").
It also predicts if the article talks about health or politics.
Load the model with:
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("pandrei7/fakenews-mtl")
Use this tokenizer: readerbench/RoBERT-base.
The input length should be 512. You can tokenize the input like this:
tokenizer(
your_text,
padding="max_length",
truncation=True,
max_length=512,
return_tensors="tf",
)
The model was trained and evaluated on the fakerom dataset.
The accuracy of predicting fake news was roughly 75%.
Romanian Fake News Identification using Language Models
@inproceedings{inproceedings,
author = {Preda, Andrei and Ruseti, Stefan and Terian, Simina-Maria and Dascalu, Mihai},
year = {2022},
month = {01},
pages = {73-79},
title = {Romanian Fake News Identification using Language Models},
doi = {10.37789/rochi.2022.1.1.13}
}