Instructions to use Salommee/Sentiment_Analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salommee/Sentiment_Analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Salommee/Sentiment_Analysis")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Salommee/Sentiment_Analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download SentimentAnalysis.ipynb from Salommee/Sentiment_Analysis: direct link, hf CLI and curl.
- Browser
- Download file 247 kB
-
https://huggingface.co/Salommee/Sentiment_Analysis/resolve/main/SentimentAnalysis.ipynb
- Command line
-
hf download hf://Salommee/Sentiment_Analysis/SentimentAnalysis.ipynb
-
curl -L -o SentimentAnalysis.ipynb https://huggingface.co/Salommee/Sentiment_Analysis/resolve/main/SentimentAnalysis.ipynb
247 kB