Commit 415bf630 authored by Myle Ott's avatar Myle Ott
Browse files

Fix description for `--sample-without-replacement` option

parent 19a3865d
Loading
Loading
Loading
Loading
+1 −1
Changes for fairseq/options.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ def add_optimization_args(parser):
                       help='weight decay')
    group.add_argument('--sample-without-replacement', default=0, type=int, metavar='N',
                       help='If bigger than 0, use that number of mini-batches for each epoch,'
                            ' where each sample is drawn randomly with replacement from the'
                            ' where each sample is drawn randomly without replacement from the'
                            ' dataset')
    return group