Skip to content

Commit c852707

Browse files
fix: correct default embedding model in README and enforce LF line endings
The README models table incorrectly marked minilm as the default embedding model. The actual default is jina-code (config.js, embedder.js, cli.js). Also adds .gitattributes to enforce LF line endings, fixing 32 Biome format errors caused by CRLF on Windows checkouts.
1 parent f46d19e commit c852707

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Enforce LF line endings in the repo (Biome requires LF)
2+
* text=auto eol=lf

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ A single trailing semicolon is ignored (falls back to single-query mode). The `-
265265

266266
| Flag | Model | Dimensions | Size | License | Notes |
267267
|---|---|---|---|---|---|
268-
| `minilm` (default) | all-MiniLM-L6-v2 | 384 | ~23 MB | Apache-2.0 | Fastest, good for quick iteration |
268+
| `minilm` | all-MiniLM-L6-v2 | 384 | ~23 MB | Apache-2.0 | Fastest, good for quick iteration |
269269
| `jina-small` | jina-embeddings-v2-small-en | 512 | ~33 MB | Apache-2.0 | Better quality, still small |
270270
| `jina-base` | jina-embeddings-v2-base-en | 768 | ~137 MB | Apache-2.0 | High quality, 8192 token context |
271-
| `jina-code` | jina-embeddings-v2-base-code | 768 | ~137 MB | Apache-2.0 | **Best for code search**, trained on code+text |
271+
| `jina-code` (default) | jina-embeddings-v2-base-code | 768 | ~137 MB | Apache-2.0 | **Best for code search**, trained on code+text |
272272
| `nomic` | nomic-embed-text-v1 | 768 | ~137 MB | Apache-2.0 | Good quality, 8192 context |
273273
| `nomic-v1.5` | nomic-embed-text-v1.5 | 768 | ~137 MB | Apache-2.0 | Improved nomic, Matryoshka dimensions |
274274
| `bge-large` | bge-large-en-v1.5 | 1024 | ~335 MB | MIT | Best general retrieval, top MTEB scores |

0 commit comments

Comments
 (0)