Better dummies (#15148)

* Better dummies

* See if this fixes the issue

* Fix quality

* Style

* Add doc for DummyObject
This commit is contained in:
Sylvain Gugger
2022-01-14 10:59:41 -05:00
committed by GitHub
parent b212ff9f49
commit 1b730c3d11
15 changed files with 3287 additions and 6876 deletions

View File

@@ -522,6 +522,7 @@ UNDOCUMENTED_OBJECTS = [
"BasicTokenizer", # Internal, should never have been in the main init.
"CharacterTokenizer", # Internal, should never have been in the main init.
"DPRPretrainedReader", # Like an Encoder.
"DummyObject", # Just picked by mistake sometimes.
"MecabTokenizer", # Internal, should never have been in the main init.
"ModelCard", # Internal type.
"SqueezeBertModule", # Internal building block (should have been called SqueezeBertLayer)