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.
  • Field Details

    • mode

      @Option(charName='m', longName="mode", usage="Deploy or score an OCI DS model.") public OCIModelCLI.OCIModelOptions.Mode mode
      Deploy or score an OCI DS model.
    • projectID

      @Option(charName='p', longName="project-id", usage="Project ID.") public String projectID
      Project ID.
    • compartmentID

      @Option(charName='c', longName="compartment-id", usage="Compartment ID.") public String compartmentID
      Compartment ID.
    • modelPath

      @Option(charName='d', longName="deploy-model-path", usage="Path to the serialized model to deploy to OCI DS.") public Path modelPath
      Path to the serialized model to deploy to OCI DS.
    • modelProtobuf

      @Option(longName="model-protobuf", usage="Is the model stored in protobuf format?") public boolean modelProtobuf
      Is the model stored in protobuf format?
    • modelDisplayName

      @Option(longName="model-display-name", usage="Model display name.") public String modelDisplayName
      Model display name.
    • instanceCount

      @Option(longName="model-instance-count", usage="Number of model instances to deploy.") public int instanceCount
      Number of model instances to deploy.
    • bandwidth

      @Option(longName="model-bandwidth", usage="Model bandwidth in MBPS.") public int bandwidth
      Model bandwidth in MBps.
    • instanceShape

      @Option(longName="model-instance-shape", usage="OCI shape to run the model on.") public String instanceShape
      OCI shape to run the model on.
    • modelId

      @Option(longName="model-id", usage="The id of the model.") public String modelId
      The id of the model.
    • datasetPath

      @Option(charName='s', longName="dataset-path", usage="Path to the serialized dataset to score.") public Path datasetPath
      Path to the serialized dataset to score.
    • datasetProtobuf

      @Option(longName="dataset-protobuf", usage="Is the serialized dataset a protobuf?") public boolean datasetProtobuf
      Is the serialized dataset in protobuf format?
    • modelDeploymentId

      @Option(charName='i', longName="model-deployment-id", usage="The id of the model deployment.") public String modelDeploymentId
      The id of the model deployment.
    • endpointDomain

      @Option(longName="oci-domain", usage="The OCI endpoint domain.") public String endpointDomain
      The OCI endpoint domain.
    • ociConfigFile

      @Option(longName="oci-config-file", usage="OCI config file path. If null use the default.") public Path ociConfigFile
      OCI config file path.
    • ociConfigProfile

      @Option(longName="oci-config-file-profile", usage="OCI profile in the config file. If null use the default.") public String ociConfigProfile
      OCI profile in the config file.
    • condaName

      @Option(longName="conda-name", usage="OCI DS conda environment name.") public String condaName
      OCI DS conda environment name.
    • condaPath

      @Option(longName="conda-name", usage="OCI DS conda environment path in object storage.") public String condaPath
      OCI DS conda environment path in object storage.
  • Constructor Details

    • OCIModelOptions

      public OCIModelOptions()
  • Method Details

    • getOptionsDescription

      public String getOptionsDescription()
      Specified by:
      getOptionsDescription in interface com.oracle.labs.mlrg.olcut.config.Options