community-datasets/fake_news_english
Viewer • Updated • 492 • 330 • 3
How to use guneetsk99/fake_news_fatima_test with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="guneetsk99/fake_news_fatima_test") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("guneetsk99/fake_news_fatima_test")
model = AutoModelForSequenceClassification.from_pretrained("guneetsk99/fake_news_fatima_test")