monish-sd-7/E-Commerce-Customer-Intent-Detection-Dataset
Viewer • Updated • 153k • 16
How to use monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned")
model = AutoModelForSequenceClassification.from_pretrained("monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned")
model = AutoModelForSequenceClassification.from_pretrained("monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned")Base model
distilbert/distilbert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="monish-sd-7/E-Commerce-Customer-Intent-Detection-Model-Finetuned")