diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..ace7a2d5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Enforce LF line endings in the repo (Biome requires LF) +* text=auto eol=lf diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cbba654a..55bfd9b6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -269,10 +269,10 @@ jobs: BRANCH="release/v${VERSION}" # Check if there are version bump changes to push - if git diff --quiet HEAD; then + if git diff --quiet HEAD -- package.json package-lock.json CHANGELOG.md DEPENDENCIES.md; then echo "No version bump commit to push — skipping PR" else - git add -A + git add package.json package-lock.json CHANGELOG.md DEPENDENCIES.md git commit -m "chore: release v${VERSION}" git push origin "HEAD:refs/heads/${BRANCH}" gh pr create \ diff --git a/README.md b/README.md index 7441c4d3..2a620a96 100644 --- a/README.md +++ b/README.md @@ -265,10 +265,10 @@ A single trailing semicolon is ignored (falls back to single-query mode). The `- | Flag | Model | Dimensions | Size | License | Notes | |---|---|---|---|---|---| -| `minilm` (default) | all-MiniLM-L6-v2 | 384 | ~23 MB | Apache-2.0 | Fastest, good for quick iteration | +| `minilm` | all-MiniLM-L6-v2 | 384 | ~23 MB | Apache-2.0 | Fastest, good for quick iteration | | `jina-small` | jina-embeddings-v2-small-en | 512 | ~33 MB | Apache-2.0 | Better quality, still small | | `jina-base` | jina-embeddings-v2-base-en | 768 | ~137 MB | Apache-2.0 | High quality, 8192 token context | -| `jina-code` | jina-embeddings-v2-base-code | 768 | ~137 MB | Apache-2.0 | **Best for code search**, trained on code+text | +| `jina-code` (default) | jina-embeddings-v2-base-code | 768 | ~137 MB | Apache-2.0 | **Best for code search**, trained on code+text | | `nomic` | nomic-embed-text-v1 | 768 | ~137 MB | Apache-2.0 | Good quality, 8192 context | | `nomic-v1.5` | nomic-embed-text-v1.5 | 768 | ~137 MB | Apache-2.0 | Improved nomic, Matryoshka dimensions | | `bge-large` | bge-large-en-v1.5 | 1024 | ~335 MB | MIT | Best general retrieval, top MTEB scores |