Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequency threshold? #8

Closed
emjotde opened this issue Oct 15, 2016 · 1 comment
Closed

Frequency threshold? #8

emjotde opened this issue Oct 15, 2016 · 1 comment

Comments

@emjotde
Copy link

emjotde commented Oct 15, 2016

Hi,
Would it make sense to add a minimal frequency threshold instead of a maximal number of symbols? That way we could make sure that the symbols are being seens at least N times during NMT training.

@rsennrich
Copy link
Owner

Hi Marcin,
I added a frequency threshold - I'd guess it will be more useful to use both the frequency threshold and max vocabulary size in combination, rather than the frequency threshold alone.

Note that the frequency threshold does not prevent seeing rare symbols at training time. A symbol can be rare at training time because most of its occurrences have been merged into larger symbols, or because the merge operations are learned on a different corpus (for instance on the concatenation of the source and target text).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants