Downloads · 30 days
6
13% of all-time downloads
Social-Media-Fairness/Classifier_bias_mizanur_base_model
Classifier_bias_mizanur_base_model is a text classification model from Social-Media-Fairness. Use it when you need a label for a piece of text. It is set up for transformers.
This model is designed to classify text data into 'biased' and 'non-biased' categories, utilizing the power of the BERT architecture.
Downloads · 30 days
6
13% of all-time downloads
All-time downloads
45
Public
Repo size
876 MB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
This model is designed to classify text data into 'biased' and 'non-biased' categories, utilizing the power of the BERT architecture.
Architecture: BERT (base, uncased)
Fine-tuning Objective: Binary classification (Bias / Non-Bias)
The model is trained on the BABE dataset, which contains news articles from various sources.
Biased: 1863 articles
Non-Biased: 1810 articles
Optimizer: AdamW
Fine tuned: Optuna
On a random split validation dataset:
Accuracy: 81%
F1 Score (Biased): 81%
F1 Score (Non-Biased): 81%
#Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Social-Media-Fairness/Classifier_bias_mizanur_base_model")
#Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Social-Media-Fairness/Classifier_bias_mizanur_base_model")
model = AutoModelForSequenceClassification.from_pretrained("Social-Media-Fairness/Classifier_bias_mizanur_base_model")
Content Moderation: To identify and filter out biased content from platforms.
Research: Assisting in bias-related studies and media analysis.
Education: For teaching and understanding media bias.
The model's training data originates from a specific dataset (BABE) which might not represent all kinds of biases or content.
The performance metrics are based on a random validation split, so the model's performance might vary in real-world applications.
For updates on model performance, improvements, or changes, please refer to the repository Social-Media-Fairness/Classifier_bias_mizanur_base_model.
This model is licensed under OpenRail.