Transformers How to use EthanChen0418/few-shot-model-five-classes with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="EthanChen0418/few-shot-model-five-classes") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("EthanChen0418/few-shot-model-five-classes")
model = AutoModelForSequenceClassification.from_pretrained("EthanChen0418/few-shot-model-five-classes")