transformers/docs/source/model_doc
Patrick von Platen 00bb0b25ed
TF Longformer (#5764)
* improve names and tests longformer

* more and better tests for longformer

* add first tf test

* finalize tf basic op functions

* fix merge

* tf shape test passes

* narrow down discrepancies

* make longformer local attn tf work

* correct tf longformer

* add first global attn function

* add more global longformer func

* advance tf longformer

* finish global attn

* upload big model

* finish all tests

* correct false any statement

* fix common tests

* make all tests pass except keras save load

* fix some tests

* fix torch test import

* finish tests

* fix test

* fix torch tf tests

* add docs

* finish docs

* Update src/transformers/modeling_longformer.py

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

* Update src/transformers/modeling_tf_longformer.py

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

* apply Lysandres suggestions

* reverse to assert statement because function will fail otherwise

* applying sylvains recommendations

* Update src/transformers/modeling_longformer.py

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

* Update src/transformers/modeling_tf_longformer.py

Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sam Shleifer <sshleifer@gmail.com>
2020-08-10 23:25:06 +02:00
..
albert.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00
auto.rst Add TF auto model to the docs + fix sphinx warnings (#5187) 2020-06-22 14:43:52 -04:00
bart.rst Add mbart-large-cc25, support translation finetuning (#5129) 2020-07-07 13:23:01 -04:00
bert.rst Add a script to check all models are tested and documented (#6298) 2020-08-07 09:18:37 -04:00
camembert.rst Add a script to check all models are tested and documented (#6298) 2020-08-07 09:18:37 -04:00
ctrl.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
dialogpt.rst add dialogpt training tips (#3996) 2020-04-28 14:32:31 +02:00
distilbert.rst Add DistilBertForMultipleChoice (#5032) 2020-06-15 18:31:41 -04:00
dpr.rst Document model outputs (#5673) 2020-07-10 17:31:02 -04:00
electra.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00
encoderdecoder.rst Fix all sphynx warnings (#5068) 2020-06-16 16:50:02 -04:00
flaubert.rst Add a script to check all models are tested and documented (#6298) 2020-08-07 09:18:37 -04:00
gpt.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00
gpt2.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00
longformer.rst TF Longformer (#5764) 2020-08-10 23:25:06 +02:00
marian.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
mobilebert.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00
reformer.rst Add a script to check all models are tested and documented (#6298) 2020-08-07 09:18:37 -04:00
retribert.rst Eli5 examples (#4968) 2020-06-16 16:36:58 -04:00
roberta.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
t5.rst Actually the extra_id are from 0-99 and not from 1-100 (#5967) 2020-07-30 06:13:29 -04:00
transformerxl.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00
xlm.rst Add a script to check all models are tested and documented (#6298) 2020-08-07 09:18:37 -04:00
xlmroberta.rst Add XLMRobertaForQuestionAnswering (#4855) 2020-06-08 21:22:37 -04:00
xlnet.rst Tf model outputs (#6247) 2020-08-05 11:34:39 -04:00