Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

1.0 KB
Raw Blame
sie_id: Salesforce/SFR-Embedding-2_R
hf_id: Salesforce/SFR-Embedding-2_R
hf_revision: f62d15f411ca97b66acc0f34da2a65f3420b55b0
inputs:
  text: true
  image: false
  audio: false
  video: false
tasks:
  encode:
    dense:
      dim: 4096
    sparse: null
    multivector: null
  score: null
  extract: null
max_sequence_length: 32768
profiles:
  default:
    max_batch_tokens: 8192
    compute_precision: bfloat16
    adapter_path: sie_server.adapters.sglang.embedding:SGLangEmbeddingAdapter
    adapter_options:
      loadtime:
        # Mistral-family last-token embedder: SGLang does not auto-append EOS for
        # this architecture, so last-token pooling reads the wrong position and
        # retrieval collapses (#1489). Append the model's own EOS at encode time.
        append_eos: true
      runtime:
        pooling: last_token
        normalize: true
        query_template: |-
          Instruct: {instruction}
          Query: {text}
        default_instruction: Given a web search query, retrieve relevant passages that answer the query