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
..
2020-05-07 13:48:44 -04:00
2020-01-06 15:11:12 +01:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-03-05 17:16:57 -05:00
2020-07-01 10:31:17 -04:00
2020-04-30 12:51:06 -04:00
2020-05-27 23:22:16 +02:00
2020-01-06 15:11:12 +01:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 17:43:32 +02:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-07 08:56:12 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 17:43:32 +02:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-07 10:48:06 +02:00
2020-07-01 10:31:17 -04:00
2020-07-07 11:32:29 +02:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-03 14:27:49 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-02 11:56:44 +02:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 17:27:47 +02:00
2020-06-15 17:12:51 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-06 18:27:53 -04:00
2020-06-15 17:12:51 -04:00
2020-07-01 10:31:17 -04:00
2020-07-07 08:56:12 -04:00
2020-07-06 18:27:53 -04:00
2020-06-15 17:12:51 -04:00
2020-07-01 11:42:22 -04:00
2020-06-15 17:12:51 -04:00
2020-07-01 10:31:17 -04:00
2020-05-19 10:46:55 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-07-01 10:31:17 -04:00
2020-06-25 17:24:28 +02:00
2020-07-07 10:17:37 +02:00