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