Adds a consideration for the model documented by the ModelCard to its list of considerations.
addFactor(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
String factor)
Adds a factor for the model documented by the ModelCard to its list of factors.
Adds an out-of-scope use of the model documented by the ModelCard to its list of out-of-scope uses.
Adds a pre-processing step for the model documented by the ModelCard to its list of pre-processing steps.
addResource(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
String resource)
Adds a resource for the model documented by the ModelCard to its list of resources.
close(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
Records the intended use of the model documented by the ModelCard.
Records the intended users of the model documented by the ModelCard.
loadModel(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
File path,
boolean protobuf)
Loads in a model and builds a partial model card from the provenance.
loadModelCard(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
File modelCardFile)
Loads a model card in from disk.
static void
Records the citation the model documented by the ModelCard.
Records the license the model documented by the ModelCard.
Records the primary contact person of the model documented by the ModelCard.
Removes a consideration of the model documented by the ModelCard from its list of considerations.
removeFactor(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
int index)
Removes a factor of the model documented by the ModelCard from its list of factors.
Removes an out-of-scope use of the model documented by the ModelCard from its list of out-of-scope uses.
Removes a pre-processing step of the model documented by the ModelCard from its list of pre-processing steps.
removeResource(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci,
int index)
Removes a resource of the model documented by the ModelCard from its list of resources.
Saves a serialized version of the
UsageDetails
created by the builder to the destination file.
void
Starts the command shell.
Prints all recorded considerations of the model documented by the ModelCard.
viewFactors(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
Prints all recorded factors of the model documented by the ModelCard.
viewModelCard(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
Prints the current model card, incorporating the current usage details.
Prints the current model provenance.
Prints all recorded out-of-scope uses of the model documented by the ModelCard.
Prints all recorded pro-processing of the model documented by the ModelCard.
viewResources(com.oracle.labs.mlrg.olcut.command.CommandInterpreter ci)
Prints all recorded resources of the model documented by the ModelCard.
Prints the fields recorded by the user for their
UsageDetails
object.