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