• Patrick von Platen's avatar
    [Examples, T5] Change newstest2013 to newstest2014 and clean up (#3817) · 80a16945
    Patrick von Platen authored
    
    
    * Refactored use of newstest2013 to newstest2014. Fixed bug where argparse consumed first command line argument as model_size argument rather than using default model_size by forcing explicit --model_size flag inclusion
    
    * More pythonic file handling through 'with' context
    
    * COSMETIC - ran Black and isort
    
    * Fixed reference to number of lines in newstest2014
    
    * Fixed failing test. More pythonic file handling
    
    * finish PR from tholiao
    
    * remove outcommented lines
    
    * make style
    
    * make isort happy
    Co-authored-by: default avatarThomas Liao <tholiao@gmail.com>
    80a16945
evaluate_wmt.py 3.58 KB