transformers.js
transformers.js copied to clipboard
Support for model2vec
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.