Instructions to use SueMintony/yelp_review_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SueMintony/yelp_review_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SueMintony/yelp_review_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SueMintony/yelp_review_classifier") model = AutoModelForSequenceClassification.from_pretrained("SueMintony/yelp_review_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b6f27d2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:de5bf72f0350a722bdbd756b4aa00e3fbbb8c4185e71ab67f318af71fb65a605
size 5841
|