Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.11 KB

randomize-records.md

File metadata and controls

25 lines (20 loc) · 1.11 KB

randomize-records

  • domain(s): pairs, pretrain, translation
  • accepts: ldc.api.supervised.pairs.PairData, ldc.api.pretrain.PretrainData, ldc.api.translation.TranslationData
  • generates: ldc.api.supervised.pairs.PairData, ldc.api.pretrain.PretrainData, ldc.api.translation.TranslationData

Batch filter that randomizes the order of the records.

usage: randomize-records [-h] [-l {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                         [-N LOGGER_NAME] [-s SEED]

Batch filter that randomizes the order of the records.

optional arguments:
  -h, --help            show this help message and exit
  -l {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        The logging level to use. (default: WARN)
  -N LOGGER_NAME, --logger_name LOGGER_NAME
                        The custom name to use for the logger, uses the plugin
                        name by default (default: None)
  -s SEED, --seed SEED  The seed value to use for the randomization. Without
                        seed value the order will differ between runs.
                        (default: None)