• Lintang Sutawika's avatar
    Seq2seq fix (#1604) · 262f879a
    Lintang Sutawika authored
    
    
    * fix on --task list
    
    * add fixes to tokeniation
    
    * differentiate encoding for seq2seq and decoder
    
    * return token setting
    
    * format for pre-commit
    
    * Seq2seq fix, pt2 (#1630)
    
    * getting model class only when defined
    
    * encode_pair handles None, add_special_tokens turned into dict with default value
    
    ---------
    Co-authored-by: default avatarachervyakov <77295913+artemorloff@users.noreply.github.com>
    262f879a
model.py 12.1 KB