Downloads · 30 days
9
1% of all-time downloads
rasyosef/bert_uncased_fake_news
bert_uncased_fake_news is a text classification model from rasyosef. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
probably proofread and complete it, then remove this comment. --
Downloads · 30 days
9
1% of all-time downloads
All-time downloads
624
Public
Repo size
569 MB
Likes
0
Public
Click a slice to open those files.
.h5268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on the kaggle fake news detection english dataset. It achieves the following results on the evaluation set:
You can use this model directly with a pipeline for text classification:
>>> from transformers import pipeline
>>> classifier = pipeline("text-classification", model="rasyosef/bert_uncased_fake_news")
>>> classifier(["Wow! Talk about clueless! Austen Fletcher approaches anti-Trump protesters and gets clueless answers on why they re against Trump:Thought you might enjoy this @PrisonPlanet @allidoisowen @JackPosobiec pic.twitter.com/kdYm2WlfdB austen fletcher (@fleccas) July 17, 2017"])
[{'label': 'Fake News', 'score': 0.9999557733535767}]
More information needed
More information needed
The following hyperparameters were used during training: