Clean up hub (#18497)

* Clean up utils.hub

* Remove imports

* More fixes

* Last fix
This commit is contained in:
Sylvain Gugger
2022-08-08 08:48:10 -04:00
committed by GitHub
parent a4562552eb
commit 377cdded7a
14 changed files with 67 additions and 708 deletions

View File

@@ -614,7 +614,6 @@ UNDOCUMENTED_OBJECTS = [
"absl", # External module
"add_end_docstrings", # Internal, should never have been in the main init.
"add_start_docstrings", # Internal, should never have been in the main init.
"cached_path", # Internal used for downloading models.
"convert_tf_weight_name_to_pt_weight_name", # Internal used to convert model weights
"logger", # Internal logger
"logging", # External module