Instructions to use Matjac5/document_encoder_07_06old with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Matjac5/document_encoder_07_06old with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Matjac5/document_encoder_07_06old") 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
File size: 134 Bytes
e23cf06 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f899449cc1ed117d805590299a7613410e4ed0b9ab123f332506e56c65fb9b51
size 434398561
|