Sentence Similarity
sentence-transformers
ONNX
Safetensors
embedding_gemma2
feature-extraction
dense
Generated from Trainer
dataset_size:50
loss:MultipleNegativesRankingLoss
Instructions to use Erog0291/stew-embedding-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Erog0291/stew-embedding-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Erog0291/stew-embedding-v2") sentences = [ "task: search result | query: Upscale this image for me", "title: code_app | text: Write and run code in a sandbox; build simple apps and games. Best for building a game or writing a script.", "title: image_edit | text: Edit, upscale or restyle images. Best for cleaning up a photo or removing a background.", "title: code_app | text: Write and run code in a sandbox; build simple apps and games. Best for building a game or writing a script." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload onnx/stew_embed_int8.onnx with huggingface_hub
Browse files
onnx/stew_embed_int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:842273b6e37aa6597159c5e85b75d3f4f31beb91f631eafc47add2d2862d4f1b
|
| 3 |
+
size 273040160
|