Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Make target-text-file optional in generate.py#559

Open
cndn wants to merge 1 commit into
pytorch:masterfrom
cndn:export-D15540664
Open

Make target-text-file optional in generate.py#559
cndn wants to merge 1 commit into
pytorch:masterfrom
cndn:export-D15540664

Conversation

@cndn

@cndn cndn commented May 29, 2019

Copy link
Copy Markdown
Contributor

Summary:
Now --target-text-file is mandatory when --source-text-file is specified. However for getting translation without evaluation it's not necessary. Remove the validation.

LMK if there are potential concerns.

Differential Revision: D15540664

Summary:
Now --target-text-file is mandatory when --source-text-file is specified. However for getting translation without evaluation it's not necessary. Remove the validation.

LMK if there are potential concerns.

Differential Revision: D15540664

fbshipit-source-id: 71889cdbad746abbcbc07968994f9c9f733b204e
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants