File size: 578 Bytes
4fdbf02 27d3654 4fdbf02 27d3654 4fdbf02 27d3654 4fdbf02 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
---
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
```
```python
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"])
```
|