How to create embeddings in the browser?

#16
by gnoel-ddh - opened

Is it possible to embed a sentence with this model in the browser? If so, how?

The server-side JS example provided in the model card works properly. Because transformers.js v3 alpha is available from npm. I don't think it is available for the browser yet.

Any tip to make this model work in the browser would be greatly appreciated.

Is it possible to embed a sentence with this model in the browser? If so, how?

The server-side JS example provided in the model card works properly. Because transformers.js v3 alpha is available from npm. I don't think it is available for the browser yet.

Any tip to make this model work in the browser would be greatly appreciated.

are you sure? there is no "transformers.js v3 alpha is available from npm" only the 2.x

Is it possible to embed a sentence with this model in the browser? If so, how?

The server-side JS example provided in the model card works properly. Because transformers.js v3 alpha is available from npm. I don't think it is available for the browser yet.

Any tip to make this model work in the browser would be greatly appreciated.

Hi, I believe using WebGPU recent updates, something could come out of it. Maybe WebAssembly could also be another piece in the puzzle.
I can't easily find public project or website doing either, what's your application btw ? :)

Sign up or log in to comment