transformers/docs/source/model_doc
Quentin Lhoest fbd8792195
Add DPR model (#5279)
* beginning of dpr modeling

* wip

* implement forward

* remove biencoder + better init weights

* export dpr model to embed model for nlp lib

* add new api

* remove old code

* make style

* fix dumb typo

* don't load bert weights

* docs

* docs

* style

* move the `k` parameter

* fix init_weights

* add pretrained configs

* minor

* update config names

* style

* better config

* style

* clean code based on PR comments

* change Dpr to DPR

* fix config

* switch encoder config to a dict

* style

* inheritance -> composition

* add messages in assert startements

* add dpr reader tokenizer

* one tokenizer per model

* fix base_model_prefix

* fix imports

* typo

* add convert script

* docs

* change tokenizers conf names

* style

* change tokenizers conf names

* minor

* minor

* fix wrong names

* minor

* remove unused convert functions

* rename convert script

* use return_tensors in tokenizers

* remove n_questions dim

* move generate logic to tokenizer

* style

* add docs

* docs

* quality

* docs

* add tests

* style

* add tokenization tests

* DPR full tests

* Stay true to the attention mask building

* update docs

* missing param in bert input docs

* docs

* style

Co-authored-by: Lysandre <lysandre.debut@reseau.eseo.fr>
2020-07-07 08:56:12 -04:00
..
albert.rst Add AlbertForMultipleChoice (#4959) 2020-06-12 14:20:19 -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 BartForQuestionAnswering (#4908) 2020-06-12 15:47:57 -04:00
bert.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
camembert.rst Clean documentation (#4849) 2020-06-08 11:28:19 -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 Add DPR model (#5279) 2020-07-07 08:56:12 -04:00
electra.rst ElectraForQuestionAnswering (#4913) 2020-06-10 15:17:52 -04:00
encoderdecoder.rst Fix all sphynx warnings (#5068) 2020-06-16 16:50:02 -04:00
flaubert.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
gpt.rst Update installation page and add contributing to the doc (#5084) 2020-06-17 14:01:10 -04:00
gpt2.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
longformer.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
marian.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
mobilebert.rst Add TF auto model to the docs + fix sphinx warnings (#5187) 2020-06-22 14:43:52 -04:00
reformer.rst [Reformer] Add Masked LM Reformer (#5426) 2020-07-01 22:43:18 +02: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 lm_labels => labels (#5080) 2020-06-18 09:16:29 +02:00
transformerxl.rst Cleanup fast tokenizers integration (#3706) 2020-04-18 13:43:57 +02:00
xlm.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00
xlmroberta.rst Add XLMRobertaForQuestionAnswering (#4855) 2020-06-08 21:22:37 -04:00
xlnet.rst Clean documentation (#4849) 2020-06-08 11:28:19 -04:00