roncc13/CebuanoAnnotatedFakeandLegitNews
Viewer • Updated • 1.02k • 34
How to use roncc13/autotrain-ixzm9-t6dbc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="roncc13/autotrain-ixzm9-t6dbc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("roncc13/autotrain-ixzm9-t6dbc")
model = AutoModelForSequenceClassification.from_pretrained("roncc13/autotrain-ixzm9-t6dbc", device_map="auto")Base model
dost-asti/BERT-ceb-cased