Instructions to use AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon") model = AutoModelForSequenceClassification.from_pretrained("AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
14307c1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8c1c9f5424c85b59e0e14ceb2bb331d77b40767c30336ce99b08d63973a471da
size 3323
|