Instructions to use Arjun24420/BERT-FakeNews-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Arjun24420/BERT-FakeNews-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Arjun24420/BERT-FakeNews-Classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Arjun24420/BERT-FakeNews-Classification") model = AutoModelForSequenceClassification.from_pretrained("Arjun24420/BERT-FakeNews-Classification") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse filesThis model is a multiclass classification model trained on the Liar Dataset using the BERT (bert-base-uncased) architecture. The primary task is to classify news articles into different categories, making it suitable for fake news detection. BERT (Bidirectional Encoder Representations from Transformers) is a transformer-based model known for its effectiveness in natural language processing tasks.
This model is designed for categorizing news articles into one of 6 target classes.
The model is intended for classifying news articles into multiple categories, aiding in the detection of fake news.
The model may inherit biases present in the training data, and it's important to be aware of potential biases in the predictions.