Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
text-embeddings-inference
🇪🇺 Region: EU
Instructions to use lightonai/DenseOn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lightonai/DenseOn with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lightonai/DenseOn") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ language:
|
|
| 12 |
---
|
| 13 |
|
| 14 |
<p align="center">
|
| 15 |
-
<img src="https://cdn-
|
| 16 |
</p>
|
| 17 |
|
| 18 |
<h1 align="center">DenseOn</h1>
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
<p align="center">
|
| 15 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/609bbe2f4932693ca2009d6a/kbQOAarw0eaApow3M9HIl.png" alt="LightOn" width="512">
|
| 16 |
</p>
|
| 17 |
|
| 18 |
<h1 align="center">DenseOn</h1>
|