Instructions to use dappradar/setfit-collections-multilabel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dappradar/setfit-collections-multilabel with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dappradar/setfit-collections-multilabel") 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 dappradar/setfit-collections-multilabel with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("dappradar/setfit-collections-multilabel") - Notebooks
- Google Colab
- Kaggle
Commit History
Update handler.py d386fa3
Update handler.py 5d1b174
Update handler.py ef6e2ec
Create requirements.txt 0327902
Update handler.py b0d1779
Rename test_handler to test_handler.py 9b56e73
Update handler.py 0864e65
Create test_handler d10d642
adding handler 9fb6a3e
Add SetFit model a516d55
initial commit dd1f671
Bandonis commited on