Instructions to use HasinMDG/SetFit_Labse_Sentiment_Towards_Topic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use HasinMDG/SetFit_Labse_Sentiment_Towards_Topic with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("HasinMDG/SetFit_Labse_Sentiment_Towards_Topic") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 24e2b2f82363e4137df43bd07900ffafe23d58df886167645eff891514f0b69e
- Size of remote file:
- 2.36 MB
- SHA256:
- fc61806c62e9f64f0f2a4b243c61db60c440da3ed8945072cb5a82f55ab0fab7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.