Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to use Jina CLIP V2 for semantic search #16826

Merged
merged 20 commits into from
Feb 26, 2025
Merged

Add ability to use Jina CLIP V2 for semantic search #16826

merged 20 commits into from
Feb 26, 2025

Conversation

hawkeye217
Copy link
Collaborator

@hawkeye217 hawkeye217 commented Feb 26, 2025

Proposed change

This PR adds the ability for users to select the embedding model version (Jina CLIP v1 or v2) for Semantic Search.

  • The V2 model adds multilingual support (89 languages).
  • The V2 model has significantly higher RAM usage and inference time than the V1 model with only a 3% improvement on embedding retrieval, so the general recommendation is that users (especially native English speakers) continue to use the V1 model.
  • Users who want to run V2 should have a discrete, powerful GPU. CPU inference with the small model is not recommended.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code
  • Documentation Update

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • The code has been formatted using Ruff (ruff format frigate)

Copy link

netlify bot commented Feb 26, 2025

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit ed9e633
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/67bf25478f6a470008c69e3d
😎 Deploy Preview https://deploy-preview-16826--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@NickM-27 NickM-27 merged commit d0e9bcb into dev Feb 26, 2025
12 checks passed
@NickM-27 NickM-27 deleted the jinav2 branch February 26, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants