General information

This is a ScAndinavian GenerAl embedding model (SAGA).

Usage

This model uses custom prompts for different tasks to achieve optimal performance. For standard inference, format your prompts as follows:

  • Retrieval (Queries): task: retrieval | query: {text}
  • Retrieval (Passages): title: none | text: {text}
  • Clustering: task: clustering | query: {text}
  • Classification: task: classification | query: {text}
  • Semantic Similarity: task: semantic similarity | query: {text}
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("nicher92/saga_embed_v1")

# Example: Encoding a search query
query = "task: retrieval | query: Hur mycket skatt betalar jag i Sverige?"
embedding = model.encode(query)

Added soon

Link to technical report

Downloads last month
119
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for nicher92/saga-embed_v1

Finetuned
(1)
this model
Finetunes
1 model

Spaces using nicher92/saga-embed_v1 2