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