-
Notifications
You must be signed in to change notification settings - Fork 323
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
Scoring #538
Merged
Merged
Scoring #538
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
4fc041f
made validation source optional, parameterized fill_up
mjpost af1e7bd
moved training-specific checks
mjpost 1322b31
added scoring up to generating outputs, almost finished
mjpost 27dd1cb
works but not polished
mjpost 7e8767a
added length penalty as command-line arguments
mjpost 29ac7a4
added 'repeat_last' fillup strategy (wrong approach)
mjpost d468770
added zero fill_up strategy, no_permute on batch iterator
mjpost 359bc60
print source sentence with generalized ids2tokens()
mjpost ebd4e10
fixed test cases
mjpost 8994f5c
Merge branch 'master' into scoring
mjpost 0079c71
style checks
mjpost 210a123
moved training-specific check to training
mjpost 5015d54
context
mjpost 48d00cc
turned on bucketing
mjpost 927b92b
turned off more data permuting
mjpost 581805e
set batch size to reasonable default for fully-unrolled graph
mjpost aa417dd
pulled out bucketing args, removed options from scoring
mjpost 28a5e4b
added --score-type and --output
mjpost ddd5d88
Merge branch 'master' into scoring
mjpost 307e56a
documentation
mjpost 98bb1f1
style check
mjpost c1f4035
versioning
mjpost 6118643
fixed easy issues from @fhieber's CR
mjpost 16864dd
Merge remote-tracking branch 'github/master' into scoring
mjpost 6a73883
removed batch preparation
mjpost bd2a526
moved summing to the computation graph
mjpost 717f18b
now using output_handler
mjpost fa1d9b8
added warning if sentences get skipped
mjpost 47ddceb
typo
mjpost 6f1c4e8
cleanup and docs
mjpost ff324fb
documentation and cleanup
mjpost 8805a62
Simplified fill_up, improved comments
mjpost aef30ae
bugfix with length penalty alpha = 0
mjpost 0ff7feb
bugfixes in names
mjpost 39294ac
combined run_forward() and get_outputs()
mjpost bbd8c13
uncontroversial reversions
mjpost 9f0a71c
Merge remote-tracking branch 'github/master' into scoring
mjpost ef6b9f3
stuffing args for scoring, no_permute renamed permute
mjpost 9e1736d
added --output and --softmax-temperature
mjpost 5269a9c
changed float width to 3
mjpost 09c46c2
removed prepare data option, reverted train.py
mjpost fb601a3
added test cases, bugfix with source factors
mjpost e049fea
bugfix — get first item from group
mjpost 5f950be
style fixes
mjpost 3c9401d
style changes
mjpost 7c48db9
missed one
mjpost 68f943c
don't score when --skip-topk
mjpost 7db9bef
debugging travis
mjpost d67488b
seq max seq len very large to pass test
mjpost d834a7d
reading maxlen from config and skipping some test lines
mjpost b731159
debugging output since still failing
mjpost 8abcf1b
skipping test outputs with vocab symbols
mjpost 3ae7d7e
debugging travis
mjpost f39ba62
more systematic testing for when to try to score
mjpost 776fcbb
don't score when translate beam == 1 or length close to max
mjpost e9808d2
restored skipping topk
mjpost 065abc1
updated documentation
mjpost b3dd468
entry point for sockeye.score
mjpost b23bb01
Merge branch 'master' into scoring
fhieber 2da12bc
proper spacing
fhieber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
turned on bucketing
- Loading branch information
commit 48d00ccd75a8057c360c310ab9ff1194ce442b77
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
grad_req
should be set to 'null', not None. This could save you memory :)https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/module/executor_group.py#L182