Instructions to use gayatrividhate/sentiment_analysis_SetFit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use gayatrividhate/sentiment_analysis_SetFit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("gayatrividhate/sentiment_analysis_SetFit") 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 gayatrividhate/sentiment_analysis_SetFit with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("gayatrividhate/sentiment_analysis_SetFit") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f30b0520f6ed60a8046fa53727fc5a87f76f2ceff1f19a277c55a347862f5b73
- Size of remote file:
- 46.7 MB
- SHA256:
- 4b1edd546b35025f4b435730217bb53d6b54080b069e304dbf4748b6e075cb9a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.