Skip to content

Commit

Permalink
Make source/target data required for scoring. (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdomhan authored Nov 3, 2020
1 parent 3736f18 commit cbe9bff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Note that Sockeye has checks in place to not translate with an old model that wa

Each version section may have have subsections for: _Added_, _Changed_, _Removed_, _Deprecated_, and _Fixed_.

## [2.2.8]

### Changed
- Make source/target data parameters required for the scoring CLI to avoid cryptic error messages.


## [2.2.7]

### Added
Expand Down
2 changes: 1 addition & 1 deletion sockeye/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.

__version__ = '2.2.7'
__version__ = '2.2.8'
2 changes: 1 addition & 1 deletion sockeye/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ def add_translate_cli_args(params):


def add_score_cli_args(params):
add_training_data_args(params, required=False)
add_training_data_args(params, required=True)
add_vocab_args(params)
add_device_args(params)
add_batch_args(params, default_batch_size=56, default_batch_type=C.BATCH_TYPE_SENTENCE)
Expand Down

0 comments on commit cbe9bff

Please sign in to comment.