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