Downloads · 30 days
12
3% of all-time downloads
mihalca/bert_model_ro_fake_news
bert_model_ro_fake_news is a text classification model from mihalca. Use it when you need a label for a piece of text. It is set up for transformers.js. The card lists the license as mit.
This model classifies Romanian fake news in ["fakenews", "misinformation", "propaganda", "realnews", "satire"]
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
461
Public
Repo size
891 MB
Likes
0
Public
Click a slice to open those files.
.onnx891 MB · 100%
From the Hugging Face model README
This model classifies Romanian fake news in ["fake_news", "misinformation", "propaganda", "real_news", "satire"]
This model is a BERT-based model fine-tuned for the task of detecting fake news in Romanian text. It is designed to classify text into one of several predefined labels indicating the likelihood of the text being fake news.
This model can be directly used to classify Romanian text into five categories: fake news, misinformation, propaganda, real news, and satire. It can be handy for media monitoring platforms, news verifiers, and research on misinformation.
Potential applications include integration into larger systems for real-time news validation or being part of a research toolkit for studying misinformation.
This model is not intended for classifying non-Romanian text, and its accuracy may diminish significantly if used on text outside of the Romanian language. It is also not suitable for detailed sentiment analysis or non-news related content.
This model may exhibit bias due to the nature of the training data, which could lead to overfitting on certain types of news or propaganda specific to Romanian contexts. It might not generalize well to new, unseen forms of misinformation or satire.
Users should evaluate the model's performance on their specific use case before deployment, particularly if applied in contexts different from those in which the training data was collected.
To get started with this model, load it using HuggingFace's Transformers library and ensure you have the appropriate tokenizer . Example code for loading and using the model is provided in the Python script.
The model was trained on a combined dataset of Romanian fake news, including data scraped from Veridica.ro and the Fakerom dataset. The dataset includes categories such as fake news, misinformation, propaganda, real news, and satire.
[More Information Needed]
The model was tested on a split of the combined dataset, with 20% of the data used for evaluation.
The evaluation was performed across all five classes of fake news categories, with results disaggregated by each category.
The primary evaluation metrics were accuracy, precision, recall, F1 score, and log loss. ROC AUC scores were also computed for each class.
Results
Accuracy: 93.51%
Precision: 93.80%
Recall: 93.51%
F1 Score: 93.56%
Log Loss: 0.225
ROC AUC Per Class:
Fake News: 98.50%
Misinformation: 98.89%
Propaganda: 98.98%
Real News: 99.55%
Satire: 99.99%
The model demonstrates strong performance across all classes, with particularly high ROC AUC scores indicating good separability between classes.