Instructions to use Linkthat/mdcsi-moebel-einrichtungshaeuser-setfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Linkthat/mdcsi-moebel-einrichtungshaeuser-setfit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Linkthat/mdcsi-moebel-einrichtungshaeuser-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 Linkthat/mdcsi-moebel-einrichtungshaeuser-setfit with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("Linkthat/mdcsi-moebel-einrichtungshaeuser-setfit") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a516d04 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c52e42e2dea4ba34b537a7e8cea3c630e6490816bfd5433c4f9efae1eeee8868
size 498653741
|