Views
No views yet
1>>> from transformers import pipeline
2>>> classifier = pipeline("text-classification", model="rasyosef/bert_uncased_fake_news")
3>>> 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"])
4
5[{'label': 'Fake News', 'score': 0.9999557733535767}]