Instructions to use galthran/twitter-roberta-base-sentiment-amazon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use galthran/twitter-roberta-base-sentiment-amazon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="galthran/twitter-roberta-base-sentiment-amazon")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("galthran/twitter-roberta-base-sentiment-amazon") model = AutoModelForSequenceClassification.from_pretrained("galthran/twitter-roberta-base-sentiment-amazon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from galthran/twitter-roberta-base-sentiment-amazon: direct link, hf CLI and curl.
- Browser
- Download file 4.75 MB
-
https://huggingface.co/galthran/twitter-roberta-base-sentiment-amazon/resolve/main/optimizer.pt
- Command line
-
hf download hf://galthran/twitter-roberta-base-sentiment-amazon/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/galthran/twitter-roberta-base-sentiment-amazon/resolve/main/optimizer.pt
4.75 MB
- Xet hash:
- c3fde4f1dce6792dc7264298a3cab5f80a169723a933d70e799b4c066815d5ba
- Size of remote file:
- 4.75 MB
- SHA256:
- e522340be75eae10485aa00e8e7da0f4f1d807e5d6dc681be01eb93ba29519c0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.