model set b6ee7a8
Ubuntu commited on
How to use ideepankarsharma2003/FinetunedIntentGeneration with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ideepankarsharma2003/FinetunedIntentGeneration") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ideepankarsharma2003/FinetunedIntentGeneration")
model = AutoModelForSequenceClassification.from_pretrained("ideepankarsharma2003/FinetunedIntentGeneration")