Init pickle (#12567)

* Try to pickle transformers

* Deal with special objs better

* Make picklable
This commit is contained in:
Sylvain Gugger
2021-07-08 07:20:46 -04:00
committed by GitHub
parent b29c394586
commit 0a6b9048d1
72 changed files with 165 additions and 1095 deletions

View File

@@ -51,4 +51,4 @@ Special Properties
Other Utilities
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: transformers.file_utils._BaseLazyModule
.. autoclass:: transformers.file_utils._LazyModule