ML Flow Integration
Fiddler allows your team to onboard, monitor, explain, and analyze your models developed with MLFlow.
This guide shows you how to ingest the model metadata and artifacts stored in your MLFlow model registry and use them to set up model observability in the Fiddler Platform:
Exporting Model Metadata from MLFlow to Fiddler
Uploading Model Artifacts to Fiddler for XAI
Adding Model Information
Using the MLFlow API you can query the model registry and get the model signature which describes the inputs and outputs as a dictionary. You can use this dictionary to build out the ModelInfo object required to the model to Fiddler:
Now you can use the model signature to build the Fiddler ModelInfo object:
Uploading Model Files
Sharing your model artifacts helps Fiddler explain your models. By leveraging the MLFlow API you can download these model files:
Once you have the model file, you can create a package.py file in this model directory that describes how to access this model.
Finally, you can upload all the model artifacts to Fiddler:
Alternatively, you can skip uploading your model and use Fiddler to generate a surrogate model to get low-fidelity explanations for your model.
Last updated
Was this helpful?