Instructions to use acho0057/sentiment_analysis_custom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use acho0057/sentiment_analysis_custom with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="acho0057/sentiment_analysis_custom")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("acho0057/sentiment_analysis_custom") model = AutoModelForSequenceClassification.from_pretrained("acho0057/sentiment_analysis_custom", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download code/requirements.txt from acho0057/sentiment_analysis_custom: direct link, hf CLI and curl.
- Browser
- Download file 11 Bytes
-
https://huggingface.co/acho0057/sentiment_analysis_custom/resolve/main/code/requirements.txt
- Command line
-
hf download hf://acho0057/sentiment_analysis_custom/code/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/acho0057/sentiment_analysis_custom/resolve/main/code/requirements.txt
11 Bytes
| torch==1.12 |