Closed Creative-Ataraxia closed 2 years ago
All targets of this project must be in the form of a list and the target of generate_lm.py could only be LmTarget. So maybe you could specify the target in generate_lm.py as LmTarget, as in scripts/generate_seq2seq.py, and pull another request. Thanks a lot!
cause: "target": ["lm"], will cause hashing error when executing scripts/generate_lm.py line 29 correction: removed [] -> "target": "lm",
Probably it is a better choice to modify the scripts/generate_lm.py since the project uses the list to store targets by default.
will look at changes directly on generate_lm.py when I'm able
cause: "target": ["lm"], will cause hashing error when executing scripts/generate_lm.py line 29 correction: removed [] -> "target": "lm",