-
Notifications
You must be signed in to change notification settings - Fork 44
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
Raml Text Reader and SwitchOut config file #535
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good and well integrated, but I'm wondering if you could add a few more sentences to the comments? E.g. the relationship between Switch Out and RAML (in the config file), and that this is (I assume) the Hamming-distance variant of RAML (in the Python code).
xnmt/input_readers.py
Outdated
Args: | ||
tau: The temperature that controls peakiness of the sampling distribution | ||
vocab: The vocabulary | ||
include_vocab_reference: Whether to include the vocab with the input |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems outdated.
Thanks! |
A TextReader that implements raml sampling, and a config file that uses RamlTextReader for both source and target.