zeyadusf/daigt
Viewer • Updated • 31.4k • 760
How to use zeyadusf/distilbert-DAIGT-MODELS with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="zeyadusf/distilbert-DAIGT-MODELS") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("zeyadusf/distilbert-DAIGT-MODELS")
model = AutoModelForSequenceClassification.from_pretrained("zeyadusf/distilbert-DAIGT-MODELS")Base model
distilbert/distilbert-base-uncased