Skip to content

Commit

Permalink
Reduce default value of vocab_sample_queue_size
Browse files Browse the repository at this point in the history
  • Loading branch information
francoishernandez authored Nov 16, 2020
1 parent 1126948 commit d149e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onmt/opts.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _add_dynamic_corpus_opts(parser, build_vocab_only=False):
group.add('-num_threads', '--num_threads', type=int, default=1,
help="Number of parallel threads to build the vocab.")
group.add('-vocab_sample_queue_size', '--vocab_sample_queue_size',
type=int, default=100,
type=int, default=20,
help="Size of queues used in the build_vocab dump path.")


Expand Down

0 comments on commit d149e2e

Please sign in to comment.