Y
Hacker News
new
|
ask
|
show
|
jobs
by
cxcorp
686 days ago
I think Transformers.js can do that client-side, e.g. see the documentation for calculating embeddings with Sentence Transformers models:
https://huggingface.co/docs/transformers.js/api/pipelines#mo...