huggingface / disaggregators

🤗 Disaggregators: Curated data labelers for in-depth analysis.
Apache License 2.0
66 stars 3 forks source link

Create a new disaggregator from an existing one #17

Open NimaBoscarino opened 1 year ago

NimaBoscarino commented 1 year ago

It would be great to be able to customize the module functionality entirely. E.g. someone should be able to subclass/extend the Gender module and write their own implementation without having to rewrite the whole thing.

I think it would be cool if this could be done both in code (e.g. subclassing) and programmatically (e.g. factory-style).