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

feat: add bert.cpp embeddings #222

Merged
merged 1 commit into from
May 10, 2023
Merged

feat: add bert.cpp embeddings #222

merged 1 commit into from
May 10, 2023

Conversation

mudler
Copy link
Owner

@mudler mudler commented May 10, 2023

Problem:

Embedding from llama.cpp models are slow, and not really working here

Solution:
this PR adds high performant C++ bindings based on https://github.com/skeskinen/bert.cpp - which makes calculation bloody fast! You can check out benchmarks here: https://github.com/skeskinen/bert.cpp/tree/master/benchmarks

This also allows any model to use behind the scene bert.

The PR also simplifies the examples

@mudler mudler linked an issue May 10, 2023 that may be closed by this pull request
3 tasks
@mudler mudler mentioned this pull request May 10, 2023
3 tasks
@mudler mudler merged commit f8ee209 into master May 10, 2023
@mudler mudler deleted the bert branch May 10, 2023 13:20
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.

feature: embedding support
1 participant