Modifier and Type | Field and Description |
---|---|
String |
datasetName |
int |
epochs |
GradientOptimiserOptions |
gradientOptions |
int |
loggingInterval |
boolean |
logModel |
HashingOptions.ModelHashingType |
modelHashingAlgorithm |
String |
modelHashingSalt |
Path |
outputPath |
long |
seed |
boolean |
shuffle |
Path |
testDataset |
Path |
trainDataset |
Constructor and Description |
---|
CRFOptions() |
public GradientOptimiserOptions gradientOptions
@Option(charName=100, longName="dataset-name", usage="Name of the example dataset, options are {gorilla}.") public String datasetName
@Option(charName=102, longName="output-path", usage="Path to serialize model to.") public Path outputPath
@Option(charName=105, longName="epochs", usage="Number of SGD epochs.") public int epochs
@Option(charName=111, longName="print-model", usage="Print out feature, label and other model details.") public boolean logModel
@Option(charName=112, longName="logging-interval", usage="Log the objective after <int> examples.") public int loggingInterval
@Option(charName=114, longName="seed", usage="RNG seed.") public long seed
@Option(longName="shuffle", usage="Shuffle the data each epoch (default: true).") public boolean shuffle
@Option(charName=117, longName="train-dataset", usage="Path to a serialised SequenceDataset used for training.") public Path trainDataset
@Option(charName=118, longName="test-dataset", usage="Path to a serialised SequenceDataset used for testing.") public Path testDataset
@Option(longName="model-hashing-algorithm", usage="Hash the model during training. Defaults to no hashing.") public HashingOptions.ModelHashingType modelHashingAlgorithm
@Option(longName="model-hashing-salt", usage="Salt for hashing the model.") public String modelHashingSalt
public String getOptionsDescription()
getOptionsDescription
in interface com.oracle.labs.mlrg.olcut.config.Options
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.