transformers/utils
demSd 00031785a8
BartForCausalLM analogs to ProphetNetForCausalLM (#9128)
* 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: Patrick von Platen <patrick.v.platen@gmail.com>
2021-02-04 11:56:12 +03:00
..
check_copies.py Check table as independent script (#8976) 2020-12-07 19:55:12 -05:00
check_dummies.py Transformers fast import part 2 (#9446) 2021-01-07 09:36:14 -05:00
check_repo.py BartForCausalLM analogs to ProphetNetForCausalLM (#9128) 2021-02-04 11:56:12 +03:00
check_table.py Check table as independent script (#8976) 2020-12-07 19:55:12 -05:00
download_glue_data.py GPU text generation: mMoved the encoded_prompt to correct device 2020-01-06 15:11:12 +01:00
get_modified_files.py a more reliable version of branching point discovery (#9449) 2021-01-07 04:47:50 -05:00
link_tester.py Copyright (#8970) 2020-12-07 18:36:34 -05:00
style_doc.py Fix 9918 (#9932) 2021-02-02 05:22:20 -05:00