[DPR] Correct init (#13796)

* update

* add to docs and init

* make fix-copies
This commit is contained in:
Patrick von Platen
2021-09-30 18:55:20 +02:00
committed by GitHub
parent 44eb8bdeea
commit 41436d3dfb
6 changed files with 61 additions and 32 deletions

View File

@@ -41,6 +41,13 @@ DPRConfig
:members:
DPRPreTrainedModel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: transformers.DPRPreTrainedModel
:members:
DPRContextEncoderTokenizer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~