__init__()takes an argument called
artifacts. This is argument a dictionary of artifact keys to files or directories for those artifacts. As an example:
json.load(), and machine learning frameworks to load data from files. For example, to load a TensorFlow model, you could do:
log_artifact()method, such as an
ExperimentRun, supports logging dependencies for their associated models. The method signature is generally:
MyModelis instantiated by Verta, the artifacts will be available for consumption and passed to the constructor automatically.
fetch_artifacts()to fetch the artifacts and initialize the model.