Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Zhang <yangzhang@nvidia.com>
  • Loading branch information
yzhang123 committed Feb 7, 2020
1 parent 2909fcf commit febfe72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nlp/question_answering/question_answering_squad.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ def create_pipeline(
if __name__ == "__main__":
args = parse_args()
if not os.path.exists(args.dev_file):
raise FileNotFoundError("eval data not found. Datasets can be " "obtained using examples/scripts/get_squad.py")
raise FileNotFoundError("eval data not found. Datasets can be " "obtained using examples/nlp/scripts/get_squad.py")
if not args.evaluation_only and not os.path.exists(args.train_file):
raise FileNotFoundError(
"train data not found. Datasets can be " "obtained using examples/scripts/get_squad.py"
"train data not found. Datasets can be " "obtained using examples/nlp/scripts/get_squad.py"
)

# Instantiate neural factory with supported backend
Expand Down

0 comments on commit febfe72

Please sign in to comment.