Instructions to use nicotaroni/sentiment_analysis_third with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nicotaroni/sentiment_analysis_third with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nicotaroni/sentiment_analysis_third") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use nicotaroni/sentiment_analysis_third with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("nicotaroni/sentiment_analysis_third") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download model_head.pkl from nicotaroni/sentiment_analysis_third: direct link, hf CLI and curl.
- Browser
- Download file 31.6 kB
-
https://huggingface.co/nicotaroni/sentiment_analysis_third/resolve/main/model_head.pkl
- Command line
-
hf download hf://nicotaroni/sentiment_analysis_third/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/nicotaroni/sentiment_analysis_third/resolve/main/model_head.pkl
31.6 kB
- Xet hash:
- 5c64ab344fbef956d4a94acaf91c35c9ba82775ad56f47d8a2c87c395ab1656e
- Size of remote file:
- 31.6 kB
- SHA256:
- 39748323772f996e0be235f8775d60a280148f6b798f057273e6e986ec6003c1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.