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