Rename model_quantized.onnx to model.onnx 9b23686 verified
Sumedh satish gajbhiye commited on
How to use Sumedhzz/Sentiment-Analyzer-Quantized with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Sumedhzz/Sentiment-Analyzer-Quantized") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Sumedhzz/Sentiment-Analyzer-Quantized")
model = AutoModelForSequenceClassification.from_pretrained("Sumedhzz/Sentiment-Analyzer-Quantized")