Text Classification
Transformers
TensorBoard
Safetensors
roberta
yelp
sentiment-analysis
polarity
Eval Results (legacy)
text-embeddings-inference
Instructions to use ErphanRajai/yelp-polarity-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ErphanRajai/yelp-polarity-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ErphanRajai/yelp-polarity-roberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ErphanRajai/yelp-polarity-roberta") model = AutoModelForSequenceClassification.from_pretrained("ErphanRajai/yelp-polarity-roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
ec4791f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:be0bbe593dcc52b3991d1c7de649a952035775ce94f7bb6bc3e93384d49eba29
size 5777
|