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

Embeddings Example? #438

Closed
ggaabe opened this issue May 30, 2024 · 4 comments
Closed

Embeddings Example? #438

ggaabe opened this issue May 30, 2024 · 4 comments

Comments

@ggaabe
Copy link

ggaabe commented May 30, 2024

Hi, I was wondering if there's any chance there could be an embeddings example made with this project?

Someone had asked about it before here:
#270

And the example that's linked doesn't seem to actually use this project package at all.

@CharlieFRuan
Copy link
Contributor

CharlieFRuan commented May 30, 2024

Thanks for the question! Embedding models were supported in MLC-LLM a month ago (mlc-ai/mlc-llm#2249) and hence there is no technical blocker to support in WebLLM with WebGPU acceleration but only a matter of time. Will be a TODO from us, hopefully within a few weeks

@ggaabe
Copy link
Author

ggaabe commented Jun 17, 2024

any chance this might happen soonish?

@Bert0324
Copy link

any updates

@CharlieFRuan
Copy link
Contributor

Hi @ggaabe @Bert0324, npm 0.2.60 has initial support for embedding and RAG, check out usage here: https://github.com/mlc-ai/web-llm/tree/main/examples/embeddings

Currently only snowflake-arctic-embedding is supported.

Closing for now, feel free to open new issues.

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

No branches or pull requests

3 participants