unitxt
unitxt copied to clipboard
Make model based metrics rely on InferenceEngine
InferenceEngine abstraction can make model based metrics model invariant and updated with ease
- [ ] Detector
- [ ] Safety
- [ ] Regard
A great example is the CodeMix by @arielge : https://github.com/IBM/unitxt/blob/9a9d5de744937243b8d6d307d97cb686819478b4/src/unitxt/metrics.py#L4002