This repository contains many examples for how to make a servable for the Data and Learning Hub for Science (DLHub).
Each directory contains the files necessary to create a different servable, and a script for documenting and submitting it to DLHub using the dlhub_toolbox
and dlhub_client
Each directory, which corresponds to a single model, most contain the following:
README.md
: A file that describes the servabledescribe_model.py
: A Python script that creates metadata describing the servable and saves it to diskmodel_metadata.json
: The JSON description of the model generated bydescribe_model.py
. We store it in the GitHub to provide examples of these files, and to easily determine how output changes with updates to DLHub tools.
Eventually, we will write a tool that scans for all correctly-formatted directories and publishes them to DLHub.
This material is based upon work supported by Laboratory Directed Research and Development (LDRD) funding from Argonne National Laboratory, provided by the Director, Office of Science, of the U.S. Department of Energy under Contract No. DE-AC02-06CH11357.