Skip to content

Commit

Permalink
Remove FileContentsAction for --langs
Browse files Browse the repository at this point in the history
Summary:
# Facebook:

Revert changes made in D24059296 (facebookresearch@0557ed8) since it breaks normal --langs usage. To specify languages in a file, use --lang-dict instead

Also update integration test params so it can catch this

Reviewed By: tangyuq

Differential Revision: D24224622

fbshipit-source-id: 292eeb86e02528128ced09f8165045be9c847c19
  • Loading branch information
theweiho authored and facebook-github-bot committed Oct 13, 2020
1 parent d6cdc2f commit 85f0971
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fairseq/data/multilingual/multilingual_data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def add_args(parser):
type=csv_str_list,
help="a list of languages comma sperated languages which can appear in lang-pairs; "
"note that the ordering determines language token IDs",
action=FileContentsAction,
)
parser.add_argument(
"--lang-dict",
Expand Down

0 comments on commit 85f0971

Please sign in to comment.