Instructions to use spjabech/sentiment_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use spjabech/sentiment_classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("gradientai/Llama-3-8B-Instruct-262k") model = PeftModel.from_pretrained(base_model, "spjabech/sentiment_classification") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from spjabech/sentiment_classification: direct link, hf CLI and curl.
- Browser
- Download file 9.09 MB
-
https://huggingface.co/spjabech/sentiment_classification/resolve/main/tokenizer.json
- Command line
-
hf download hf://spjabech/sentiment_classification/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/spjabech/sentiment_classification/resolve/main/tokenizer.json
9.09 MB
File too large to display, you can check the raw version instead.