model = baseten.deployed_model_version_id(model_version_id='a12b34c')
# artifacts can be associated directly on the model object
list_of_files=['data/train.h5', 'data/test.h5', 'README.txt'],
description='All the files needed for model reproduction'
# or an artifact can be created with just a model (or model version) ID
artifact = baseten.create_artifact(
list_of_files=['model.joblib'],
description='Model object stored with joblib',
model_version_id=model_version_id
# artifacts can be linked to many models
artifact.create_link(model_version_id='a_different_model_version_id')