Skip to content

feat: add bert.cpp embeddings#222

Merged
mudler merged 1 commit intomasterfrom
bert
May 10, 2023
Merged

feat: add bert.cpp embeddings#222
mudler merged 1 commit intomasterfrom
bert

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