How to use from the
Use from the
sentence-transformers library
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("cnmoro/low-dimension-static-model")

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]

A low dimension static embedding model (3d) to be used as a text encoder in ML pipelines

Installation

Install model2vec using pip:

pip install model2vec
from sentence_transformers import SentenceTransformer

# Load a pretrained Sentence Transformer model
model = SentenceTransformer("cnmoro/low-dimension-static-model")

# Compute text embeddings
embeddings = model.encode(["Example sentence"])
Downloads last month
2
Safetensors
Model size
15k params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support