transformers.js icon indicating copy to clipboard operation
transformers.js copied to clipboard

Support for model2vec

Open do-me opened this issue 1 year ago • 3 comments

Feature request

Model2vec would make for a great addition to transformers.js: https://github.com/MinishLab/model2vec

Motivation

The library distills conventional embedding models and produces static models that are magnitudes faster with a drop in accuracy of 10-20%. Also it got added to Sentence Transformers lately.

Your contribution

See https://github.com/MinishLab/model2vec/issues/75#issuecomment-2407139446, there has been more requests to integrate it. One author said:

You are the second person to ask for this today, so let's do it. I haven't work with transformers.js at all, but we'll figure it out probably.

do-me avatar Oct 11 '24 12:10 do-me