Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
fix type in vocab config (#2977)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelgrus authored Jun 27, 2019
1 parent 7943b2f commit 2cce412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allennlp/common/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def configure(full_path: str = '') -> Config:
default_value=False,
comment="whether to extend the existing vocabulary (if you specified one)"),
ConfigItem(name="min_count",
annotation=int,
annotation=Dict[str, int],
default_value=None,
comment="only include tokens that occur at least this many times"),
ConfigItem(name="max_vocab_size",
Expand Down

0 comments on commit 2cce412

Please sign in to comment.