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