cnmoro's picture
Update README.md
27d3654 verified
metadata
library_name: model2vec
license: mit
model_name: cnmoro/low-dimension-static-model
tags:
  - embeddings
  - static-embeddings
  - sentence-transformers

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"])