Find the most relevant answer
all-MiniLM-L6-v2 · Semantic retrieval · Text → Embedding
- Parameters
- 23M
- Operations
- 975
- Nodes drawn
- 219
- Runs on
- ONNX Runtime Web
- Built as
- Transformer encoder
What you can edit
- Tensor
encoder.layer.5.output.LayerNorm.bias[361,17,224]- Range
- Each bias can move up to ±8 from the shipped value, counted across all applied edits.
- How
- Describe the change to WS on the model page; it proposes deltas on these biases only. The Weight map sweeps two of them at once. Each bias shifts a numbered embedding feature on every token. The same edited encoder runs on the query and the four answers. Pooling and cosine similarity are fixed. A large shared shift can also raise scores for unrelated answers.
3 editable values
- Embedding coordinate 361
- Embedding coordinate 17
- Embedding coordinate 224
Parts in this model
- Reshape and transpose50
- Quantization48
- Gating multiply37
- Dense layer36
- Residual connection20
- Layer normalization12
- Multi-head attention6
- Softmax6
- GELU6
- Embedding4
Counted over the nodes kept in the structure file; summarized modules count as their parts.
Source
Exported from the ONNX file the app runs.
minilm-retrieval/minilm-b941bf19.onnxsha256 b941bf19f1f1…opset 14
Derived from
Size
22,565,376 parameters, 301 nodes in the structure file.