You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, pipelines abstraction provides users with quick and easy way to run any given tasks. However, it is very difficult to create and adding support for custom pipelines. According to docs, If users want to add a new pipeline, one would have to come in and modify transformers source code.
This is often less than ideal. It would be nice for pipeline to have a "registry" abstraction where transformers can allow users to register their custom pipeline to transformers without the hassle of editing the source code.
Feature request
I propose a simple registry abstraction to allow users to dynamically register custom pipelines to transformers.
A pseudo example for
PipelineRegistry
implementation:For any custom pipeline user can simply do
Motivation
Currently, pipelines abstraction provides users with quick and easy way to run any given tasks. However, it is very difficult to create and adding support for custom pipelines. According to docs, If users want to add a new pipeline, one would have to come in and modify
transformers
source code.This is often less than ideal. It would be nice for pipeline to have a "registry" abstraction where transformers can allow users to register their custom pipeline to transformers without the hassle of editing the source code.
Your contribution
#17905
The text was updated successfully, but these errors were encountered: