Cosine similarity between 6 sentences. The card's own embed entry: mean-pooled, L2-normalized sentence embeddings.
- The cat curled up on the warm windowsill and fell asleep in the sun.
- Our new kitten refuses to eat anything except wet food.
- The central bank raised interest rates again to cool inflation.
- She rebalanced her portfolio after the market's sharp swings.
- The function threw an exception when the array index ran out of bounds.
- He refactored the module to remove three copies of the same logic.
| 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|
| 1 | 1.00 | 0.28 | 0.09 | 0.05 | 0.11 | 0.02 |
| 2 | 0.28 | 1.00 | -0.05 | 0.05 | 0.11 | -0.01 |
| 3 | 0.09 | -0.05 | 1.00 | 0.31 | -0.01 | 0.19 |
| 4 | 0.05 | 0.05 | 0.31 | 1.00 | 0.09 | 0.13 |
| 5 | 0.11 | 0.11 | -0.01 | 0.09 | 1.00 | 0.09 |
| 6 | 0.02 | -0.01 | 0.19 | 0.13 | 0.09 | 1.00 |
Shading runs from 0 to 0.31, the closest pair of different sentences. Largest difference from sentence-transformers (SentenceTransformer.encode)'s matrix: 0.0034.