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