Class SeqTrainTest.SeqTrainTestOptions

java.lang.Object
org.tribuo.classification.sequence.SeqTrainTest.SeqTrainTestOptions
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
Enclosing class:
SeqTrainTest

public static class SeqTrainTest.SeqTrainTestOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
  • Field Details

    • datasetName

      @Option(charName='d', longName="dataset-name", usage="Name of the example dataset, options are {gorilla}.") public String datasetName
      Name of the example dataset, options are {gorilla}.
    • outputPath

      @Option(charName='f', longName="output-path", usage="Path to serialize model to.") public Path outputPath
      Path to serialize model to.
    • trainDataset

      @Option(charName='u', longName="train-dataset", usage="Path to a serialised SequenceDataset used for training.") public Path trainDataset
      Path to a serialised SequenceDataset used for training.
    • testDataset

      @Option(charName='v', longName="test-dataset", usage="Path to a serialised SequenceDataset used for testing.") public Path testDataset
      Path to a serialised SequenceDataset used for testing.
    • trainer

      @Option(charName='t', longName="trainer-name", usage="Name of the trainer in the configuration file.") public SequenceTrainer<Label> trainer
      Name of the trainer in the configuration file.
    • protobufFormat

      @Option(charName='p', longName="protobuf-format-dataset", usage="Load the model from a protobuf. Optional") public boolean protobufFormat
      Load in the data in protobuf format.
    • writeProtobuf

      @Option(longName="write-protobuf-model", usage="Write the model out in protobuf format.") public boolean writeProtobuf
      Write the model out in protobuf format.
  • Constructor Details

    • SeqTrainTestOptions

      public SeqTrainTestOptions()
  • Method Details

    • getOptionsDescription

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