stanfordnlp/sst2
Viewer • Updated • 70k • 30.6k • 161
How to use ans-imran/dummy with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ans-imran/dummy") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ans-imran/dummy")
model = AutoModelForSequenceClassification.from_pretrained("ans-imran/dummy")The model was trained for 3 epochs.