Fix mask dimensions: unsqueeze 3D->4D for OpenNMT-py 3.x attention 18b6dbd verified L3ul commited on Feb 20
Fix layer_cache format: convert between old dict and OpenNMT-py 3.x (bool, dict) tuple 1d66007 verified L3ul commited on Feb 20
Patch decoder.py for OpenNMT-py 3.x: layer_cache/attn_type as instance attrs 20b1d85 verified L3ul commited on Feb 20