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

the ability to add new pipelines in transformers.js

Open im-nassinger opened this issue 11 months ago • 1 comments

Feature request

I think it would be cool... I noticed that this can be done with the Python transformers, but I haven't found anything about how to do it with JavaScript.

Motivation

I want to add a pipeline specific for this model: https://huggingface.co/SmilingWolf/wd-swinv2-tagger-v3 or maybe there is a better way of doing it? please let me know.

Your contribution

something similar to the python transformers, with a registerPipeline method.

im-nassinger avatar Mar 22 '24 05:03 im-nassinger

I have submitted a PR

Th3G33k avatar Apr 13 '24 08:04 Th3G33k