I tried it here: Flexible / Configurable Weighting Update - #2 by karussell
But never had the time to make it production-ready.
(Please note that the custom model format changed significantly since then, see here for the latest documentation on this.)