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

Added batch embedding computing #86

Merged

Conversation

Wats0ns
Copy link

@Wats0ns Wats0ns commented Feb 28, 2024

Now the embedding are batch computed when building the KB. This allows for faster KB building

Copy link
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice!

crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/backend.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/backend.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/backend.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/backend.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/tinyvec-embed/src/db.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/tinyvec-embed/src/db.rs Outdated Show resolved Hide resolved
Copy link
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting to look ready!

crates/llm-ls/src/backend.rs Outdated Show resolved Hide resolved
Copy link
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last round of review I think 😄

crates/tinyvec-embed/src/db.rs Show resolved Hide resolved
crates/tinyvec-embed/src/db.rs Outdated Show resolved Hide resolved
crates/tinyvec-embed/src/error.rs Outdated Show resolved Hide resolved
Quentin Maire and others added 16 commits March 4, 2024 18:14
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
Co-authored-by: Luc Georges <McPatate@users.noreply.github.com>
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/tinyvec-embed/src/db.rs Outdated Show resolved Hide resolved
Copy link
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there!

Could you run cargo fmt before committing please?

crates/llm-ls/src/retrieval.rs Outdated Show resolved Hide resolved
crates/tinyvec-embed/src/error.rs Outdated Show resolved Hide resolved
Copy link
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work!

crates/tinyvec-embed/src/error.rs Outdated Show resolved Hide resolved
@McPatate McPatate merged commit 64a4c38 into huggingface:feat/multi_file_context Mar 6, 2024
0 of 12 checks passed
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