transformers/docs/source/model_doc
Weizhen 2422cda01b
ProphetNet (#7157)
* add new model prophetnet

prophetnet modified

modify codes as suggested v1

add prophetnet test files

* still bugs, because of changed output formats of encoder and decoder

* move prophetnet into the latest version

* clean integration tests

* clean tokenizers

* add xlm config to init

* correct typo in init

* further refactoring

* continue refactor

* save parallel

* add decoder_attention_mask

* fix use_cache vs. past_key_values

* fix common tests

* change decoder output logits

* fix xlm tests

* make common tests pass

* change model architecture

* add tokenizer tests

* finalize model structure

* no weight mapping

* correct n-gram stream attention mask as discussed with qweizhen

* remove unused import

* fix index.rst

* fix tests

* delete unnecessary code

* add fast integration test

* rename weights

* final weight remapping

* save intermediate

* Descriptions for Prophetnet Config File

* finish all models

* finish new model outputs

* delete unnecessary files

* refactor encoder layer

* add dummy docs

* code quality

* fix tests

* add model pages to doctree

* further refactor

* more refactor, more tests

* finish code refactor and tests

* remove unnecessary files

* further clean up

* add docstring template

* finish tokenizer doc

* finish prophetnet

* fix copies

* fix typos

* fix tf tests

* fix fp16

* fix tf test 2nd try

* fix code quality

* add test for each model

* merge new tests to branch

* Update model_cards/microsoft/prophetnet-large-uncased-cnndm/README.md

Co-authored-by: Sam Shleifer <sshleifer@gmail.com>

* Update model_cards/microsoft/prophetnet-large-uncased-cnndm/README.md

Co-authored-by: Sam Shleifer <sshleifer@gmail.com>

* Update src/transformers/modeling_prophetnet.py

Co-authored-by: Sam Shleifer <sshleifer@gmail.com>

* Update utils/check_repo.py

Co-authored-by: Sam Shleifer <sshleifer@gmail.com>

* apply sams and sylvains comments

* make style

* remove unnecessary code

* Update README.md

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Update README.md

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Update src/transformers/configuration_prophetnet.py

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>

* implement lysandres comments

* correct docs

* fix isort

* fix tokenizers

* fix copies

Co-authored-by: weizhen <weizhen@mail.ustc.edu.cn>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Sam Shleifer <sshleifer@gmail.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2020-10-19 17:36:09 +02:00
..
albert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
auto.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
bart.rst Cleanup documentation for BART, Marian, MBART and Pegasus (#7523) 2020-10-05 04:22:12 -04:00
bert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
bertgeneration.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
blenderbot.rst Fix title level in Blenderbot doc (#7687) 2020-10-09 19:24:10 -04:00
camembert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
ctrl.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
deberta.rst Add DeBERTa model (#5929) 2020-09-30 07:07:30 -04:00
dialogpt.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
distilbert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
dpr.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
electra.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
encoderdecoder.rst ProphetNet (#7157) 2020-10-19 17:36:09 +02:00
flaubert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
fsmt.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
funnel.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
gpt.rst Gpt1 for sequence classification (#7683) 2020-10-13 05:06:15 -04:00
gpt2.rst Add GPT2ForSequenceClassification based on DialogRPT (#7501) 2020-10-06 17:31:21 -04:00
layoutlm.rst Update LayoutLM doc (#7388) 2020-10-01 09:11:42 -04:00
longformer.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
lxmert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
marian.rst Cleanup documentation for BART, Marian, MBART and Pegasus (#7523) 2020-10-05 04:22:12 -04:00
mbart.rst Cleanup documentation for BART, Marian, MBART and Pegasus (#7523) 2020-10-05 04:22:12 -04:00
mobilebert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
pegasus.rst Cleanup documentation for BART, Marian, MBART and Pegasus (#7523) 2020-10-05 04:22:12 -04:00
prophetnet.rst ProphetNet (#7157) 2020-10-19 17:36:09 +02:00
rag.rst Document RAG again (#7377) 2020-09-28 08:31:46 -04:00
reformer.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
retribert.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
roberta.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
squeezebert.rst Fix squeezebert docs (#7587) 2020-10-06 06:22:04 -04:00
t5.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
transformerxl.rst Adding Fast tokenizers for SentencePiece based tokenizers - Breaking: remove Transfo-XL fast tokenizer (#7141) 2020-10-08 11:32:16 +02:00
xlm.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
xlmprophetnet.rst ProphetNet (#7157) 2020-10-19 17:36:09 +02:00
xlmroberta.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00
xlnet.rst Models doc (#7345) 2020-09-23 13:20:45 -04:00