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

Print sample source and target every N epochs #539

Open
anbasile opened this issue Oct 12, 2018 · 3 comments
Open

Print sample source and target every N epochs #539

anbasile opened this issue Oct 12, 2018 · 3 comments

Comments

@anbasile
Copy link

Maybe I missed this: is it possible to print a few lines of aligned source and target sentences when using xnmt from the command line?

@neubig
Copy link
Contributor

neubig commented Oct 12, 2018

Do you mean output some example translations every time you evaluate on the dev set? This functionality isn't currently supported, but it'd be pretty easy to add it to AccuracyEvalTask: https://github.com/neulab/xnmt/blob/master/xnmt/eval/tasks.py#L102

@anbasile
Copy link
Author

Exactly, thanks.

@neubig
Copy link
Contributor

neubig commented Oct 12, 2018

OK, we'd welcome a PR for this.

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

No branches or pull requests

2 participants