• demSd's avatar
    BartForCausalLM analogs to `ProphetNetForCausalLM` (#9128) · 00031785
    demSd authored
    
    
    * initiliaze bart4causalLM
    
    * create BartDecoderWrapper, setters/getters
    
    * delete spaces
    
    * forward and additional methods
    
    * update cache function, loss function, remove ngram* params in data class.
    
    * add bartcausallm, bartdecoder testing
    
    * correct bart for causal lm
    
    * remove at
    
    * add mbart as well
    
    * up
    
    * fix typo
    
    * up
    
    * correct
    
    * add pegasusforcausallm
    
    * add blenderbotforcausallm
    
    * add blenderbotsmallforcausallm
    
    * add marianforcausallm
    
    * add test for MarianForCausalLM
    
    * add Pegasus test
    
    * add BlenderbotSmall test
    
    * add blenderbot test
    
    * fix a fail
    
    * fix an import fail
    
    * a fix
    
    * fix
    
    * Update modeling_pegasus.py
    
    * fix models
    
    * fix inputs_embeds setting getter
    
    * adapt tests
    
    * correct repo utils check
    
    * finish test improvement
    
    * fix tf models as well
    
    * make style
    
    * make fix-copies
    
    * fix copies
    
    * run all tests
    
    * last changes
    
    * fix all tests
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    00031785
blenderbot.rst 5.65 KB