huggingface / disaggregators

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

Add interface for overriding module configurations #21

Closed NimaBoscarino closed 1 year ago

NimaBoscarino commented 1 year ago

Closes #16 with a generic interface for applying configurations to modules. Each module is responsible for what to actually do with those configurations. The choice of what to make configurable is left up to the module as well.

The existing modules have been given some basic configuration functionality. Since these are just temporary implementations, there's no real reason to make them fully configurable just yet. Those things can be brought up independently as issues.