"examples/web_demo.png" did not exist on "ab6fb800f2baf36a1bc209ce6e8238952a9f0506"
  • Sam Shleifer's avatar
    Add TFBartForConditionalGeneration (#5411) · 82984215
    Sam Shleifer authored
    
    
    * half done
    
    * doc improvement
    
    * Cp test file
    
    * brokedn
    
    * broken test
    
    * undo some mess
    
    * ckpt
    
    * borked
    
    * Halfway
    
    * 6 passing
    
    * boom boom
    
    * Much progress but still 6
    
    * boom boom
    
    * merged master
    
    * 10 passing
    
    * boom boom
    
    * Style
    
    * no t5 changes
    
    * 13 passing
    
    * Integration test failing, but not gibberish
    
    * Frustrated
    
    * Merged master
    
    * 4 fail
    
    * 4 fail
    
    * fix return_dict
    
    * boom boom
    
    * Still only 4
    
    * prepare method
    
    * prepare method
    
    * before delete classif
    
    * Skip tests to avoid adding boilerplate
    
    * boom boom
    
    * fast tests passing
    
    * style
    
    * boom boom
    
    * Switch to supporting many input types
    
    * remove FIXMENORM
    
    * working
    
    * Fixed past_key_values/decoder_cached_states confusion
    
    * new broken test
    
    * Fix attention mask kwarg name
    
    * undo accidental
    
    * Style and reviewers
    
    * style
    
    * Docs and common tests
    
    * Cleaner assert messages
    
    * copy docs
    
    * style issues
    
    * Sphinx fix
    
    * Simplify caching logic
    
    * test does not require torch
    
    * copy _NoLayerEmbedTokens
    
    * Update src/transformers/modeling_tf_bart.py
    Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
    
    * Update tests/test_modeling_tf_bart.py
    Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
    
    * Update src/transformers/modeling_tf_bart.py
    Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
    
    * Update src/transformers/modeling_tf_bart.py
    Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
    
    * Update src/transformers/modeling_tf_bart.py
    Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
    
    * Line length and dont document None
    
    * Add pipeline test coverage
    
    * assert msg
    
    * At parity
    
    * Assert messages
    
    * mark slow
    
    * Update compile test
    
    * back in init
    
    * Merge master
    
    * Fix tests
    Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
    82984215
test_modeling_tf_bart.py 56.2 KB