 Quentin LhoestandSylvain Gugger
|
0f16dd0ac2
|
Add DPR to models summary (#6690)
* add dpr to models summary
* minor
* minor
* Update docs/source/model_summary.rst
qa -> question answering
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update docs/source/model_summary.rst
qa -> question ansering (cont'd)
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
|
2020-08-25 09:57:28 +02:00 |
|
Quentin Lhoest
|
9a8c168f56
|
Sort unique_no_split_tokens to make it deterministic (#6461)
* change unique_no_split_tokens's type to set
* use sorted list instead of set
* style
|
2020-08-14 10:36:58 +02:00 |
|
Quentin Lhoest
|
4fedc1256c
|
Fix tests imports dpr (#5576)
* fix test imports
* fix max_length
* style
* fix tests
|
2020-07-07 16:35:12 +02:00 |
|
 Quentin LhoestandLysandre
|
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 |
|