Package org.tribuo.interop.oci
Class OCIModelCLI.OCIModelOptions
java.lang.Object
org.tribuo.interop.oci.OCIModelCLI.OCIModelOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- OCIModelCLI
public static final class OCIModelCLI.OCIModelOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Options for the OCIModelCLI.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionint
Model bandwidth in MBps.Compartment ID.OCI DS conda environment name.OCI DS conda environment path in object storage.Path to the serialized dataset to score.boolean
Is the serialized dataset in protobuf format?The OCI endpoint domain.int
Number of model instances to deploy.OCI shape to run the model on.Deploy or score an OCI DS model.The id of the model deployment.Model display name.The id of the model.Path to the serialized model to deploy to OCI DS.boolean
Is the model stored in protobuf format?OCI config file path.OCI profile in the config file.Project ID.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
mode
@Option(charName='m', longName="mode", usage="Deploy or score an OCI DS model.") public OCIModelCLI.OCIModelOptions.Mode modeDeploy or score an OCI DS model. -
projectID
Project ID. -
compartmentID
@Option(charName='c', longName="compartment-id", usage="Compartment ID.") public String compartmentIDCompartment ID. -
modelPath
@Option(charName='d', longName="deploy-model-path", usage="Path to the serialized model to deploy to OCI DS.") public Path modelPathPath to the serialized model to deploy to OCI DS. -
modelProtobuf
@Option(longName="model-protobuf", usage="Is the model stored in protobuf format?") public boolean modelProtobufIs the model stored in protobuf format? -
modelDisplayName
Model display name. -
instanceCount
@Option(longName="model-instance-count", usage="Number of model instances to deploy.") public int instanceCountNumber of model instances to deploy. -
bandwidth
@Option(longName="model-bandwidth", usage="Model bandwidth in MBPS.") public int bandwidthModel bandwidth in MBps. -
instanceShape
@Option(longName="model-instance-shape", usage="OCI shape to run the model on.") public String instanceShapeOCI shape to run the model on. -
modelId
The id of the model. -
datasetPath
@Option(charName='s', longName="dataset-path", usage="Path to the serialized dataset to score.") public Path datasetPathPath to the serialized dataset to score. -
datasetProtobuf
@Option(longName="dataset-protobuf", usage="Is the serialized dataset a protobuf?") public boolean datasetProtobufIs the serialized dataset in protobuf format? -
modelDeploymentId
@Option(charName='i', longName="model-deployment-id", usage="The id of the model deployment.") public String modelDeploymentIdThe id of the model deployment. -
endpointDomain
The OCI endpoint domain. -
ociConfigFile
@Option(longName="oci-config-file", usage="OCI config file path. If null use the default.") public Path ociConfigFileOCI config file path. -
ociConfigProfile
@Option(longName="oci-config-file-profile", usage="OCI profile in the config file. If null use the default.") public String ociConfigProfileOCI profile in the config file. -
condaName
OCI DS conda environment name. -
condaPath
@Option(longName="conda-name", usage="OCI DS conda environment path in object storage.") public String condaPathOCI DS conda environment path in object storage.
-
-
Constructor Details
-
OCIModelOptions
public OCIModelOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-