-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add Seq2seq example #63
Conversation
examples/seq2seq/README.md
Outdated
@@ -0,0 +1,32 @@ | |||
# ChainerMN seq2seq example | |||
|
|||
An sample implementation of seq2seq model. |
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.
An sample
-> A sample
## Run | ||
|
||
```bash | ||
$ cd $CHAINERMN |
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.
I think we need a little more lines to run the script 😉
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.
fixed!
examples/seq2seq/seq2seq.py
Outdated
print('Num Minibatch-size: {}'.format(args.batchsize)) | ||
print('==========================================') | ||
|
||
if False: |
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.
Just in case: remove this before merge
examples/seq2seq/seq2seq.py
Outdated
# trainer.extend(translate, trigger=(200, 'iteration')) | ||
|
||
# trainer.extend(CalculateBleu(model, test_data), | ||
# trigger=(10, 'iteration')) |
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.
Please remove unused code
Do we need |
…f a large data to be scattered
LGTM |
No description provided.