huggingface-hub 0.21.2__py3-none-any.whl → 0.22.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huggingface-hub might be problematic. Click here for more details.
- huggingface_hub/__init__.py +217 -1
- huggingface_hub/_commit_api.py +14 -15
- huggingface_hub/_inference_endpoints.py +12 -11
- huggingface_hub/_login.py +1 -0
- huggingface_hub/_multi_commits.py +1 -0
- huggingface_hub/_snapshot_download.py +9 -1
- huggingface_hub/_tensorboard_logger.py +1 -0
- huggingface_hub/_webhooks_payload.py +1 -0
- huggingface_hub/_webhooks_server.py +1 -0
- huggingface_hub/commands/_cli_utils.py +1 -0
- huggingface_hub/commands/delete_cache.py +1 -0
- huggingface_hub/commands/download.py +1 -0
- huggingface_hub/commands/env.py +1 -0
- huggingface_hub/commands/scan_cache.py +1 -0
- huggingface_hub/commands/upload.py +1 -0
- huggingface_hub/community.py +1 -0
- huggingface_hub/constants.py +3 -1
- huggingface_hub/errors.py +38 -0
- huggingface_hub/file_download.py +102 -95
- huggingface_hub/hf_api.py +47 -35
- huggingface_hub/hf_file_system.py +77 -3
- huggingface_hub/hub_mixin.py +230 -61
- huggingface_hub/inference/_client.py +554 -239
- huggingface_hub/inference/_common.py +195 -41
- huggingface_hub/inference/_generated/_async_client.py +558 -239
- huggingface_hub/inference/_generated/types/__init__.py +115 -0
- huggingface_hub/inference/_generated/types/audio_classification.py +43 -0
- huggingface_hub/inference/_generated/types/audio_to_audio.py +31 -0
- huggingface_hub/inference/_generated/types/automatic_speech_recognition.py +116 -0
- huggingface_hub/inference/_generated/types/base.py +149 -0
- huggingface_hub/inference/_generated/types/chat_completion.py +106 -0
- huggingface_hub/inference/_generated/types/depth_estimation.py +29 -0
- huggingface_hub/inference/_generated/types/document_question_answering.py +85 -0
- huggingface_hub/inference/_generated/types/feature_extraction.py +19 -0
- huggingface_hub/inference/_generated/types/fill_mask.py +50 -0
- huggingface_hub/inference/_generated/types/image_classification.py +43 -0
- huggingface_hub/inference/_generated/types/image_segmentation.py +52 -0
- huggingface_hub/inference/_generated/types/image_to_image.py +55 -0
- huggingface_hub/inference/_generated/types/image_to_text.py +105 -0
- huggingface_hub/inference/_generated/types/object_detection.py +55 -0
- huggingface_hub/inference/_generated/types/question_answering.py +77 -0
- huggingface_hub/inference/_generated/types/sentence_similarity.py +28 -0
- huggingface_hub/inference/_generated/types/summarization.py +46 -0
- huggingface_hub/inference/_generated/types/table_question_answering.py +45 -0
- huggingface_hub/inference/_generated/types/text2text_generation.py +45 -0
- huggingface_hub/inference/_generated/types/text_classification.py +43 -0
- huggingface_hub/inference/_generated/types/text_generation.py +161 -0
- huggingface_hub/inference/_generated/types/text_to_audio.py +105 -0
- huggingface_hub/inference/_generated/types/text_to_image.py +57 -0
- huggingface_hub/inference/_generated/types/token_classification.py +53 -0
- huggingface_hub/inference/_generated/types/translation.py +46 -0
- huggingface_hub/inference/_generated/types/video_classification.py +47 -0
- huggingface_hub/inference/_generated/types/visual_question_answering.py +53 -0
- huggingface_hub/inference/_generated/types/zero_shot_classification.py +56 -0
- huggingface_hub/inference/_generated/types/zero_shot_image_classification.py +51 -0
- huggingface_hub/inference/_generated/types/zero_shot_object_detection.py +55 -0
- huggingface_hub/inference/_templating.py +105 -0
- huggingface_hub/inference/_types.py +4 -152
- huggingface_hub/keras_mixin.py +39 -17
- huggingface_hub/lfs.py +20 -8
- huggingface_hub/repocard.py +11 -3
- huggingface_hub/repocard_data.py +12 -2
- huggingface_hub/serialization/__init__.py +1 -0
- huggingface_hub/serialization/_base.py +1 -0
- huggingface_hub/serialization/_numpy.py +1 -0
- huggingface_hub/serialization/_tensorflow.py +1 -0
- huggingface_hub/serialization/_torch.py +1 -0
- huggingface_hub/utils/__init__.py +4 -1
- huggingface_hub/utils/_cache_manager.py +7 -0
- huggingface_hub/utils/_chunk_utils.py +1 -0
- huggingface_hub/utils/_datetime.py +1 -0
- huggingface_hub/utils/_errors.py +10 -1
- huggingface_hub/utils/_experimental.py +1 -0
- huggingface_hub/utils/_fixes.py +19 -3
- huggingface_hub/utils/_git_credential.py +1 -0
- huggingface_hub/utils/_headers.py +10 -3
- huggingface_hub/utils/_hf_folder.py +1 -0
- huggingface_hub/utils/_http.py +1 -0
- huggingface_hub/utils/_pagination.py +1 -0
- huggingface_hub/utils/_paths.py +1 -0
- huggingface_hub/utils/_runtime.py +22 -0
- huggingface_hub/utils/_subprocess.py +1 -0
- huggingface_hub/utils/_token.py +1 -0
- huggingface_hub/utils/_typing.py +29 -1
- huggingface_hub/utils/_validators.py +1 -0
- huggingface_hub/utils/endpoint_helpers.py +1 -0
- huggingface_hub/utils/logging.py +1 -1
- huggingface_hub/utils/sha.py +1 -0
- huggingface_hub/utils/tqdm.py +1 -0
- {huggingface_hub-0.21.2.dist-info → huggingface_hub-0.22.0.dist-info}/METADATA +14 -15
- huggingface_hub-0.22.0.dist-info/RECORD +113 -0
- {huggingface_hub-0.21.2.dist-info → huggingface_hub-0.22.0.dist-info}/WHEEL +1 -1
- huggingface_hub/inference/_text_generation.py +0 -551
- huggingface_hub-0.21.2.dist-info/RECORD +0 -81
- {huggingface_hub-0.21.2.dist-info → huggingface_hub-0.22.0.dist-info}/LICENSE +0 -0
- {huggingface_hub-0.21.2.dist-info → huggingface_hub-0.22.0.dist-info}/entry_points.txt +0 -0
- {huggingface_hub-0.21.2.dist-info → huggingface_hub-0.22.0.dist-info}/top_level.txt +0 -0
|
@@ -43,7 +43,7 @@ from ._errors import (
|
|
|
43
43
|
hf_raise_for_status,
|
|
44
44
|
)
|
|
45
45
|
from ._experimental import experimental
|
|
46
|
-
from ._fixes import SoftTemporaryDirectory, yaml_dump
|
|
46
|
+
from ._fixes import SoftTemporaryDirectory, WeakFileLock, yaml_dump
|
|
47
47
|
from ._git_credential import list_credential_helpers, set_git_credential, unset_git_credential
|
|
48
48
|
from ._headers import LocalTokenNotFoundError, build_hf_headers, get_token_to_send
|
|
49
49
|
from ._hf_folder import HfFolder
|
|
@@ -60,6 +60,7 @@ from ._runtime import (
|
|
|
60
60
|
get_hf_hub_version,
|
|
61
61
|
get_hf_transfer_version,
|
|
62
62
|
get_jinja_version,
|
|
63
|
+
get_minijinja_version,
|
|
63
64
|
get_numpy_version,
|
|
64
65
|
get_pillow_version,
|
|
65
66
|
get_pydantic_version,
|
|
@@ -76,6 +77,7 @@ from ._runtime import (
|
|
|
76
77
|
is_graphviz_available,
|
|
77
78
|
is_hf_transfer_available,
|
|
78
79
|
is_jinja_available,
|
|
80
|
+
is_minijinja_available,
|
|
79
81
|
is_notebook,
|
|
80
82
|
is_numpy_available,
|
|
81
83
|
is_package_available,
|
|
@@ -97,6 +99,7 @@ from ._safetensors import (
|
|
|
97
99
|
from ._subprocess import capture_output, run_interactive_subprocess, run_subprocess
|
|
98
100
|
from ._telemetry import send_telemetry
|
|
99
101
|
from ._token import get_token
|
|
102
|
+
from ._typing import is_jsonable
|
|
100
103
|
from ._validators import (
|
|
101
104
|
HFValidationError,
|
|
102
105
|
smoothly_deprecate_use_auth_token,
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Contains utilities to manage the HF cache directory."""
|
|
16
|
+
|
|
16
17
|
import os
|
|
17
18
|
import shutil
|
|
18
19
|
import time
|
|
@@ -29,6 +30,9 @@ logger = logging.get_logger(__name__)
|
|
|
29
30
|
|
|
30
31
|
REPO_TYPE_T = Literal["model", "dataset", "space"]
|
|
31
32
|
|
|
33
|
+
# List of OS-created helper files that need to be ignored
|
|
34
|
+
FILES_TO_IGNORE = [".DS_Store"]
|
|
35
|
+
|
|
32
36
|
|
|
33
37
|
class CacheNotFound(Exception):
|
|
34
38
|
"""Exception thrown when the Huggingface cache is not found."""
|
|
@@ -667,6 +671,9 @@ def _scan_cached_repo(repo_path: Path) -> CachedRepoInfo:
|
|
|
667
671
|
# Scan snapshots directory
|
|
668
672
|
cached_revisions: Set[CachedRevisionInfo] = set()
|
|
669
673
|
for revision_path in snapshots_path.iterdir():
|
|
674
|
+
# Ignore OS-created helper files
|
|
675
|
+
if revision_path.name in FILES_TO_IGNORE:
|
|
676
|
+
continue
|
|
670
677
|
if revision_path.is_file():
|
|
671
678
|
raise CorruptedCacheException(f"Snapshots folder corrupted. Found a file: {revision_path}")
|
|
672
679
|
|
huggingface_hub/utils/_errors.py
CHANGED
|
@@ -9,7 +9,7 @@ from ._fixes import JSONDecodeError
|
|
|
9
9
|
REPO_API_REGEX = re.compile(
|
|
10
10
|
r"""
|
|
11
11
|
# staging or production endpoint
|
|
12
|
-
^https://
|
|
12
|
+
^https://[^/]+
|
|
13
13
|
(
|
|
14
14
|
# on /api/repo_type/repo_id
|
|
15
15
|
/api/(models|datasets|spaces)/(.+)
|
|
@@ -357,6 +357,15 @@ def hf_raise_for_status(response: Response, endpoint_name: Optional[str] = None)
|
|
|
357
357
|
)
|
|
358
358
|
raise BadRequestError(message, response=response) from e
|
|
359
359
|
|
|
360
|
+
elif response.status_code == 403:
|
|
361
|
+
message = (
|
|
362
|
+
f"\n\n{response.status_code} Forbidden: {error_message}."
|
|
363
|
+
+ f"\nCannot access content at: {response.url}."
|
|
364
|
+
+ "\nIf you are trying to create or update content,"
|
|
365
|
+
+ "make sure you have a token with the `write` role."
|
|
366
|
+
)
|
|
367
|
+
raise HfHubHTTPError(message, response=response) from e
|
|
368
|
+
|
|
360
369
|
# Convert `HTTPError` into a `HfHubHTTPError` to display request information
|
|
361
370
|
# as well (request id and/or server error message)
|
|
362
371
|
raise HfHubHTTPError(str(e), response=response) from e
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Contains utilities to flag a feature as "experimental" in Huggingface Hub."""
|
|
16
|
+
|
|
16
17
|
import warnings
|
|
17
18
|
from functools import wraps
|
|
18
19
|
from typing import Callable
|
huggingface_hub/utils/_fixes.py
CHANGED
|
@@ -8,7 +8,6 @@ except ImportError:
|
|
|
8
8
|
from simplejson import JSONDecodeError # type: ignore # noqa: F401
|
|
9
9
|
except ImportError:
|
|
10
10
|
from json import JSONDecodeError # type: ignore # noqa: F401
|
|
11
|
-
|
|
12
11
|
import contextlib
|
|
13
12
|
import os
|
|
14
13
|
import shutil
|
|
@@ -19,6 +18,7 @@ from pathlib import Path
|
|
|
19
18
|
from typing import Callable, Generator, Optional, Union
|
|
20
19
|
|
|
21
20
|
import yaml
|
|
21
|
+
from filelock import BaseFileLock, FileLock
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
# Wrap `yaml.dump` to set `allow_unicode=True` by default.
|
|
@@ -40,7 +40,7 @@ def SoftTemporaryDirectory(
|
|
|
40
40
|
prefix: Optional[str] = None,
|
|
41
41
|
dir: Optional[Union[Path, str]] = None,
|
|
42
42
|
**kwargs,
|
|
43
|
-
) -> Generator[
|
|
43
|
+
) -> Generator[Path, None, None]:
|
|
44
44
|
"""
|
|
45
45
|
Context manager to create a temporary directory and safely delete it.
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@ def SoftTemporaryDirectory(
|
|
|
52
52
|
See https://www.scivision.dev/python-tempfile-permission-error-windows/.
|
|
53
53
|
"""
|
|
54
54
|
tmpdir = tempfile.TemporaryDirectory(prefix=prefix, suffix=suffix, dir=dir, **kwargs)
|
|
55
|
-
yield tmpdir.name
|
|
55
|
+
yield Path(tmpdir.name).resolve()
|
|
56
56
|
|
|
57
57
|
try:
|
|
58
58
|
# First once with normal cleanup
|
|
@@ -75,3 +75,19 @@ def SoftTemporaryDirectory(
|
|
|
75
75
|
def _set_write_permission_and_retry(func, path, excinfo):
|
|
76
76
|
os.chmod(path, stat.S_IWRITE)
|
|
77
77
|
func(path)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
@contextlib.contextmanager
|
|
81
|
+
def WeakFileLock(lock_file: Union[str, Path]) -> Generator[BaseFileLock, None, None]:
|
|
82
|
+
lock = FileLock(lock_file)
|
|
83
|
+
lock.acquire()
|
|
84
|
+
|
|
85
|
+
yield lock
|
|
86
|
+
|
|
87
|
+
try:
|
|
88
|
+
return lock.release()
|
|
89
|
+
except OSError:
|
|
90
|
+
try:
|
|
91
|
+
Path(lock_file).unlink()
|
|
92
|
+
except OSError:
|
|
93
|
+
pass
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Contains utilities to handle headers to send in calls to Huggingface Hub."""
|
|
16
|
+
|
|
16
17
|
from typing import Dict, Optional, Union
|
|
17
18
|
|
|
18
19
|
from .. import constants
|
|
@@ -44,6 +45,7 @@ def build_hf_headers(
|
|
|
44
45
|
library_name: Optional[str] = None,
|
|
45
46
|
library_version: Optional[str] = None,
|
|
46
47
|
user_agent: Union[Dict, str, None] = None,
|
|
48
|
+
headers: Optional[Dict[str, str]] = None,
|
|
47
49
|
) -> Dict[str, str]:
|
|
48
50
|
"""
|
|
49
51
|
Build headers dictionary to send in a HF Hub call.
|
|
@@ -80,6 +82,9 @@ def build_hf_headers(
|
|
|
80
82
|
user_agent (`str`, `dict`, *optional*):
|
|
81
83
|
The user agent info in the form of a dictionary or a single string. It will
|
|
82
84
|
be completed with information about the installed packages.
|
|
85
|
+
headers (`dict`, *optional*):
|
|
86
|
+
Additional headers to include in the request. Those headers take precedence
|
|
87
|
+
over the ones generated by this function.
|
|
83
88
|
|
|
84
89
|
Returns:
|
|
85
90
|
A `Dict` of headers to pass in your API call.
|
|
@@ -122,7 +127,7 @@ def build_hf_headers(
|
|
|
122
127
|
_validate_token_to_send(token_to_send, is_write_action=is_write_action)
|
|
123
128
|
|
|
124
129
|
# Combine headers
|
|
125
|
-
|
|
130
|
+
hf_headers = {
|
|
126
131
|
"user-agent": _http_user_agent(
|
|
127
132
|
library_name=library_name,
|
|
128
133
|
library_version=library_version,
|
|
@@ -130,8 +135,10 @@ def build_hf_headers(
|
|
|
130
135
|
)
|
|
131
136
|
}
|
|
132
137
|
if token_to_send is not None:
|
|
133
|
-
|
|
134
|
-
|
|
138
|
+
hf_headers["authorization"] = f"Bearer {token_to_send}"
|
|
139
|
+
if headers is not None:
|
|
140
|
+
hf_headers.update(headers)
|
|
141
|
+
return hf_headers
|
|
135
142
|
|
|
136
143
|
|
|
137
144
|
def get_token_to_send(token: Optional[Union[bool, str]]) -> Optional[str]:
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Contain helper class to retrieve/store token from/to local cache."""
|
|
16
|
+
|
|
16
17
|
import warnings
|
|
17
18
|
from pathlib import Path
|
|
18
19
|
from typing import Optional
|
huggingface_hub/utils/_http.py
CHANGED
huggingface_hub/utils/_paths.py
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Contains utilities to handle paths in Huggingface Hub."""
|
|
16
|
+
|
|
16
17
|
from fnmatch import fnmatch
|
|
17
18
|
from pathlib import Path
|
|
18
19
|
from typing import Callable, Generator, Iterable, List, Optional, TypeVar, Union
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Check presence of installed packages at runtime."""
|
|
16
|
+
|
|
16
17
|
import importlib.metadata
|
|
17
18
|
import platform
|
|
18
19
|
import sys
|
|
@@ -34,6 +35,8 @@ _CANDIDATES = {
|
|
|
34
35
|
"graphviz": {"graphviz"},
|
|
35
36
|
"hf_transfer": {"hf_transfer"},
|
|
36
37
|
"jinja": {"Jinja2"},
|
|
38
|
+
"keras": {"keras"},
|
|
39
|
+
"minijinja": {"minijinja"},
|
|
37
40
|
"numpy": {"numpy"},
|
|
38
41
|
"pillow": {"Pillow"},
|
|
39
42
|
"pydantic": {"pydantic"},
|
|
@@ -138,6 +141,24 @@ def get_hf_transfer_version() -> str:
|
|
|
138
141
|
return _get_version("hf_transfer")
|
|
139
142
|
|
|
140
143
|
|
|
144
|
+
# keras
|
|
145
|
+
def is_keras_available() -> bool:
|
|
146
|
+
return is_package_available("keras")
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
def get_keras_version() -> str:
|
|
150
|
+
return _get_version("keras")
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
# Minijinja
|
|
154
|
+
def is_minijinja_available() -> bool:
|
|
155
|
+
return is_package_available("minijinja")
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
def get_minijinja_version() -> str:
|
|
159
|
+
return _get_version("minijinja")
|
|
160
|
+
|
|
161
|
+
|
|
141
162
|
# Numpy
|
|
142
163
|
def is_numpy_available() -> bool:
|
|
143
164
|
return is_package_available("numpy")
|
|
@@ -321,6 +342,7 @@ def dump_environment_info() -> Dict[str, Any]:
|
|
|
321
342
|
info["Torch"] = get_torch_version()
|
|
322
343
|
info["Jinja2"] = get_jinja_version()
|
|
323
344
|
info["Graphviz"] = get_graphviz_version()
|
|
345
|
+
info["keras"] = get_keras_version()
|
|
324
346
|
info["Pydot"] = get_pydot_version()
|
|
325
347
|
info["Pillow"] = get_pillow_version()
|
|
326
348
|
info["hf_transfer"] = get_hf_transfer_version()
|
huggingface_hub/utils/_token.py
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
"""Contains an helper to get the token from machine (env variable, secret or config file)."""
|
|
15
|
+
|
|
15
16
|
import os
|
|
16
17
|
import warnings
|
|
17
18
|
from pathlib import Path
|
huggingface_hub/utils/_typing.py
CHANGED
|
@@ -13,10 +13,38 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
"""Handle typing imports based on system compatibility."""
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
from typing import Any, Callable, Literal, TypeVar
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
HTTP_METHOD_T = Literal["GET", "OPTIONS", "HEAD", "POST", "PUT", "PATCH", "DELETE"]
|
|
20
21
|
|
|
21
22
|
# type hint meaning "function signature not changed by decorator"
|
|
22
23
|
CallableT = TypeVar("CallableT", bound=Callable)
|
|
24
|
+
|
|
25
|
+
_JSON_SERIALIZABLE_TYPES = (int, float, str, bool, type(None))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def is_jsonable(obj: Any) -> bool:
|
|
29
|
+
"""Check if an object is JSON serializable.
|
|
30
|
+
|
|
31
|
+
This is a weak check, as it does not check for the actual JSON serialization, but only for the types of the object.
|
|
32
|
+
It works correctly for basic use cases but do not guarantee an exhaustive check.
|
|
33
|
+
|
|
34
|
+
Object is considered to be recursively json serializable if:
|
|
35
|
+
- it is an instance of int, float, str, bool, or NoneType
|
|
36
|
+
- it is a list or tuple and all its items are json serializable
|
|
37
|
+
- it is a dict and all its keys are strings and all its values are json serializable
|
|
38
|
+
"""
|
|
39
|
+
try:
|
|
40
|
+
if isinstance(obj, _JSON_SERIALIZABLE_TYPES):
|
|
41
|
+
return True
|
|
42
|
+
if isinstance(obj, (list, tuple)):
|
|
43
|
+
return all(is_jsonable(item) for item in obj)
|
|
44
|
+
if isinstance(obj, dict):
|
|
45
|
+
return all(isinstance(key, str) and is_jsonable(value) for key, value in obj.items())
|
|
46
|
+
if hasattr(obj, "__json__"):
|
|
47
|
+
return True
|
|
48
|
+
return False
|
|
49
|
+
except RecursionError:
|
|
50
|
+
return False
|
huggingface_hub/utils/logging.py
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
|
-
"""
|
|
15
|
+
"""Logging utilities."""
|
|
16
16
|
|
|
17
17
|
import logging
|
|
18
18
|
import os
|
huggingface_hub/utils/sha.py
CHANGED
huggingface_hub/utils/tqdm.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huggingface-hub
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.0
|
|
4
4
|
Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
|
|
5
5
|
Home-page: https://github.com/huggingface/huggingface_hub
|
|
6
6
|
Author: Hugging Face, Inc.
|
|
@@ -25,14 +25,15 @@ Description-Content-Type: text/markdown
|
|
|
25
25
|
License-File: LICENSE
|
|
26
26
|
Requires-Dist: filelock
|
|
27
27
|
Requires-Dist: fsspec >=2023.5.0
|
|
28
|
+
Requires-Dist: packaging >=20.9
|
|
29
|
+
Requires-Dist: pyyaml >=5.1
|
|
28
30
|
Requires-Dist: requests
|
|
29
31
|
Requires-Dist: tqdm >=4.42.1
|
|
30
|
-
Requires-Dist: pyyaml >=5.1
|
|
31
32
|
Requires-Dist: typing-extensions >=3.7.4.3
|
|
32
|
-
Requires-Dist: packaging >=20.9
|
|
33
33
|
Provides-Extra: all
|
|
34
34
|
Requires-Dist: InquirerPy ==0.3.4 ; extra == 'all'
|
|
35
35
|
Requires-Dist: aiohttp ; extra == 'all'
|
|
36
|
+
Requires-Dist: minijinja >=1.0 ; extra == 'all'
|
|
36
37
|
Requires-Dist: jedi ; extra == 'all'
|
|
37
38
|
Requires-Dist: Jinja2 ; extra == 'all'
|
|
38
39
|
Requires-Dist: pytest ; extra == 'all'
|
|
@@ -47,7 +48,7 @@ Requires-Dist: soundfile ; extra == 'all'
|
|
|
47
48
|
Requires-Dist: Pillow ; extra == 'all'
|
|
48
49
|
Requires-Dist: gradio ; extra == 'all'
|
|
49
50
|
Requires-Dist: numpy ; extra == 'all'
|
|
50
|
-
Requires-Dist: ruff >=0.
|
|
51
|
+
Requires-Dist: ruff >=0.3.0 ; extra == 'all'
|
|
51
52
|
Requires-Dist: mypy ==1.5.1 ; extra == 'all'
|
|
52
53
|
Requires-Dist: typing-extensions >=4.8.0 ; extra == 'all'
|
|
53
54
|
Requires-Dist: types-PyYAML ; extra == 'all'
|
|
@@ -56,13 +57,12 @@ Requires-Dist: types-simplejson ; extra == 'all'
|
|
|
56
57
|
Requires-Dist: types-toml ; extra == 'all'
|
|
57
58
|
Requires-Dist: types-tqdm ; extra == 'all'
|
|
58
59
|
Requires-Dist: types-urllib3 ; extra == 'all'
|
|
59
|
-
Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'all'
|
|
60
|
-
Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'all'
|
|
61
60
|
Provides-Extra: cli
|
|
62
61
|
Requires-Dist: InquirerPy ==0.3.4 ; extra == 'cli'
|
|
63
62
|
Provides-Extra: dev
|
|
64
63
|
Requires-Dist: InquirerPy ==0.3.4 ; extra == 'dev'
|
|
65
64
|
Requires-Dist: aiohttp ; extra == 'dev'
|
|
65
|
+
Requires-Dist: minijinja >=1.0 ; extra == 'dev'
|
|
66
66
|
Requires-Dist: jedi ; extra == 'dev'
|
|
67
67
|
Requires-Dist: Jinja2 ; extra == 'dev'
|
|
68
68
|
Requires-Dist: pytest ; extra == 'dev'
|
|
@@ -77,7 +77,7 @@ Requires-Dist: soundfile ; extra == 'dev'
|
|
|
77
77
|
Requires-Dist: Pillow ; extra == 'dev'
|
|
78
78
|
Requires-Dist: gradio ; extra == 'dev'
|
|
79
79
|
Requires-Dist: numpy ; extra == 'dev'
|
|
80
|
-
Requires-Dist: ruff >=0.
|
|
80
|
+
Requires-Dist: ruff >=0.3.0 ; extra == 'dev'
|
|
81
81
|
Requires-Dist: mypy ==1.5.1 ; extra == 'dev'
|
|
82
82
|
Requires-Dist: typing-extensions >=4.8.0 ; extra == 'dev'
|
|
83
83
|
Requires-Dist: types-PyYAML ; extra == 'dev'
|
|
@@ -86,8 +86,6 @@ Requires-Dist: types-simplejson ; extra == 'dev'
|
|
|
86
86
|
Requires-Dist: types-toml ; extra == 'dev'
|
|
87
87
|
Requires-Dist: types-tqdm ; extra == 'dev'
|
|
88
88
|
Requires-Dist: types-urllib3 ; extra == 'dev'
|
|
89
|
-
Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'dev'
|
|
90
|
-
Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'dev'
|
|
91
89
|
Provides-Extra: fastai
|
|
92
90
|
Requires-Dist: toml ; extra == 'fastai'
|
|
93
91
|
Requires-Dist: fastai >=2.4 ; extra == 'fastai'
|
|
@@ -96,18 +94,21 @@ Provides-Extra: hf_transfer
|
|
|
96
94
|
Requires-Dist: hf-transfer >=0.1.4 ; extra == 'hf_transfer'
|
|
97
95
|
Provides-Extra: inference
|
|
98
96
|
Requires-Dist: aiohttp ; extra == 'inference'
|
|
99
|
-
Requires-Dist:
|
|
100
|
-
Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'inference'
|
|
97
|
+
Requires-Dist: minijinja >=1.0 ; extra == 'inference'
|
|
101
98
|
Provides-Extra: quality
|
|
102
|
-
Requires-Dist: ruff >=0.
|
|
99
|
+
Requires-Dist: ruff >=0.3.0 ; extra == 'quality'
|
|
103
100
|
Requires-Dist: mypy ==1.5.1 ; extra == 'quality'
|
|
104
101
|
Provides-Extra: tensorflow
|
|
105
102
|
Requires-Dist: tensorflow ; extra == 'tensorflow'
|
|
106
103
|
Requires-Dist: pydot ; extra == 'tensorflow'
|
|
107
104
|
Requires-Dist: graphviz ; extra == 'tensorflow'
|
|
105
|
+
Provides-Extra: tensorflow-testing
|
|
106
|
+
Requires-Dist: tensorflow ; extra == 'tensorflow-testing'
|
|
107
|
+
Requires-Dist: keras <3.0 ; extra == 'tensorflow-testing'
|
|
108
108
|
Provides-Extra: testing
|
|
109
109
|
Requires-Dist: InquirerPy ==0.3.4 ; extra == 'testing'
|
|
110
110
|
Requires-Dist: aiohttp ; extra == 'testing'
|
|
111
|
+
Requires-Dist: minijinja >=1.0 ; extra == 'testing'
|
|
111
112
|
Requires-Dist: jedi ; extra == 'testing'
|
|
112
113
|
Requires-Dist: Jinja2 ; extra == 'testing'
|
|
113
114
|
Requires-Dist: pytest ; extra == 'testing'
|
|
@@ -122,8 +123,6 @@ Requires-Dist: soundfile ; extra == 'testing'
|
|
|
122
123
|
Requires-Dist: Pillow ; extra == 'testing'
|
|
123
124
|
Requires-Dist: gradio ; extra == 'testing'
|
|
124
125
|
Requires-Dist: numpy ; extra == 'testing'
|
|
125
|
-
Requires-Dist: pydantic <2.0,>1.1 ; (python_version == "3.8") and extra == 'testing'
|
|
126
|
-
Requires-Dist: pydantic <3.0,>1.1 ; (python_version > "3.8") and extra == 'testing'
|
|
127
126
|
Provides-Extra: torch
|
|
128
127
|
Requires-Dist: torch ; extra == 'torch'
|
|
129
128
|
Requires-Dist: safetensors ; extra == 'torch'
|
|
@@ -279,7 +278,7 @@ The advantages are:
|
|
|
279
278
|
|
|
280
279
|
- Free model or dataset hosting for libraries and their users.
|
|
281
280
|
- Built-in file versioning, even with very large files, thanks to a git-based approach.
|
|
282
|
-
-
|
|
281
|
+
- Serverless inference API for all models publicly available.
|
|
283
282
|
- In-browser widgets to play with the uploaded models.
|
|
284
283
|
- Anyone can upload a new model for your library, they just need to add the corresponding tag for the model to be discoverable.
|
|
285
284
|
- Fast downloads! We use Cloudfront (a CDN) to geo-replicate downloads so they're blazing fast from anywhere on the globe.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
huggingface_hub/__init__.py,sha256=bhjCe1AIDanIJeJsalP27p00m3J0HQpd8a4LawdHWXk,31075
|
|
2
|
+
huggingface_hub/_commit_api.py,sha256=ANamHMhHjvA6xCaLuyWcbwK62JMvEnGwIkpmHBlVoZo,29175
|
|
3
|
+
huggingface_hub/_commit_scheduler.py,sha256=FgfjYv3E0oK3iBxDdy45Y7t78FWkmjnBR4dRd5aZviU,13653
|
|
4
|
+
huggingface_hub/_inference_endpoints.py,sha256=wGcnxZNFCbMK77SA90fPsZ9bqNGwPopSVr-sTbdw3o8,15763
|
|
5
|
+
huggingface_hub/_login.py,sha256=jNTFCnou-eZAtMWl1PDuyZhmpW3O-f4qff9m5hU0UGk,15364
|
|
6
|
+
huggingface_hub/_multi_commits.py,sha256=rtN0AaHzamXi1cvr1r2MlqR6y-laZxgRo-30J_I3RwM,12519
|
|
7
|
+
huggingface_hub/_snapshot_download.py,sha256=lXsSWaDSOP0hH5_9tOSBazNAtWSBhN8dMcjrLY7hNIc,15677
|
|
8
|
+
huggingface_hub/_space_api.py,sha256=Mae_lqTRyTWyszI5mlObJ2fn9slPxkFPcFTEVADoNQM,5255
|
|
9
|
+
huggingface_hub/_tensorboard_logger.py,sha256=uqmkKBKyj6_9XfWq563afgARenZ7-fjEHb16rgY24-Y,7166
|
|
10
|
+
huggingface_hub/_webhooks_payload.py,sha256=cF9iWOOacOZfqKGcuVhykDgAZHrHON7VMuLwwehl6O8,2832
|
|
11
|
+
huggingface_hub/_webhooks_server.py,sha256=fDbyDu28qhJJQb8tKpH1C8l4cJSvC3Gr2sUo1DbIoD8,15197
|
|
12
|
+
huggingface_hub/community.py,sha256=SBaOfI-3atCzRbO0gDS8BYxctbdvD4G0X6D0GfY8Fgc,12203
|
|
13
|
+
huggingface_hub/constants.py,sha256=8r0JaNMhLR8X6pC6TnNBLQ-TVcHEbRWk1sJ-LSIj444,7821
|
|
14
|
+
huggingface_hub/errors.py,sha256=jCYKeSOsQNfH2t3TsW8kIAXXS1aWl9PaAq3prFfz4CI,704
|
|
15
|
+
huggingface_hub/fastai_utils.py,sha256=5I7zAfgHJU_mZnxnf9wgWTHrCRu_EAV8VTangDVfE_o,16676
|
|
16
|
+
huggingface_hub/file_download.py,sha256=DmOEVmhEsRnX8M0kZmLPLC76eptMT0riTwtThFioV8Q,77476
|
|
17
|
+
huggingface_hub/hf_api.py,sha256=GeE8iATWVij6Ntr9H0jlhRiOYEOsYAtu3ijUMLCPuFI,367572
|
|
18
|
+
huggingface_hub/hf_file_system.py,sha256=JUCT-VZBesDCB-uN__fvQt3uprGQETGnUlzjC7StQLM,37272
|
|
19
|
+
huggingface_hub/hub_mixin.py,sha256=JSQOLPNjj58AbK8ZL7mQ5sqyYp7kM7_QOd_J4LwtxMg,30157
|
|
20
|
+
huggingface_hub/inference_api.py,sha256=UXOKu_Ez2I3hDsjguqCcCrj03WFDndehpngYiIAucdg,8331
|
|
21
|
+
huggingface_hub/keras_mixin.py,sha256=8L0FEIWy_kmKsGI5d61q_33dGYbmLGhy4kZbqn-YFns,19681
|
|
22
|
+
huggingface_hub/lfs.py,sha256=sXSd48kBIaPQHM19I01nA7ShdlhfDVsY5XliKZWP47s,19402
|
|
23
|
+
huggingface_hub/repocard.py,sha256=oUrGim27nCHkevPDZDbUp68uKTxB8xbdoyeqv24pexc,34605
|
|
24
|
+
huggingface_hub/repocard_data.py,sha256=1hIkI8xp0EmW2aR3LtHMrjIMk_W-KJxHslMjpNMwVPg,31911
|
|
25
|
+
huggingface_hub/repository.py,sha256=8oNhKNvJRye3dr67cTn8faKkBSiWFgvj7bIBlOpI-8U,54489
|
|
26
|
+
huggingface_hub/commands/__init__.py,sha256=AkbM2a-iGh0Vq_xAWhK3mu3uZ44km8-X5uWjKcvcrUQ,928
|
|
27
|
+
huggingface_hub/commands/_cli_utils.py,sha256=qRdl9opi3yJxIVNCnrmte-jFWmYbjVqd8gBlin8NNzY,1971
|
|
28
|
+
huggingface_hub/commands/delete_cache.py,sha256=Rb1BtIltJPnQ-th7tcK_L4mFqfk785t3KXV77xXKBP4,16131
|
|
29
|
+
huggingface_hub/commands/download.py,sha256=yGq9SlTRHR6TBrky_VBIyo68e0gnMLgYPBYIBG7d9bQ,9167
|
|
30
|
+
huggingface_hub/commands/env.py,sha256=yYl4DSS14V8t244nAi0t77Izx5LIdgS_dy6xiV5VQME,1226
|
|
31
|
+
huggingface_hub/commands/huggingface_cli.py,sha256=o862C98OcZoyqCzY7mNpia1h0KaLJUgSb0y10ot8sxA,1924
|
|
32
|
+
huggingface_hub/commands/lfs.py,sha256=6E769AoRxUDiIOapn1_QvTbNtdUnUiouu2F4Gopp4do,7318
|
|
33
|
+
huggingface_hub/commands/scan_cache.py,sha256=4o_jQsZloicRa-P8gncUBncVyWswpSF9T6KGlNrGodk,5183
|
|
34
|
+
huggingface_hub/commands/upload.py,sha256=Mr69qO60otqCVw0sVSBPykUTkL9HO-pkCyulSD2mROM,13622
|
|
35
|
+
huggingface_hub/commands/user.py,sha256=QApZJOCQEHADhjunM3hlQ72uqHsearCiCE4SdpzGdcc,6893
|
|
36
|
+
huggingface_hub/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
+
huggingface_hub/inference/_client.py,sha256=-HczcNaJ9BE-CbIye5XFUPsUw3eWwNTz8Xk83-Risg0,104767
|
|
38
|
+
huggingface_hub/inference/_common.py,sha256=BOOBNpF0_V8fDXsi2q5eQ9i4KIlPS6VfMxYxLSgkRdM,16570
|
|
39
|
+
huggingface_hub/inference/_templating.py,sha256=_X7CoUjOmMh5KBXx-WGey-z3uh_fP1QT36X638UZpZw,4051
|
|
40
|
+
huggingface_hub/inference/_types.py,sha256=C73l5-RO8P1UMBHF8OAO9CRUq7Xdv33pcADoJsGMPSU,1782
|
|
41
|
+
huggingface_hub/inference/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
|
+
huggingface_hub/inference/_generated/_async_client.py,sha256=0HRFFre26KBGcX_LuA7nuWDbx2l19Hz9jYtGnPBLIWI,107966
|
|
43
|
+
huggingface_hub/inference/_generated/types/__init__.py,sha256=SoKeNQ8JjBgKkQIgBTsWJe4-Z75Ebz6WkdL4ZQ27yNc,4450
|
|
44
|
+
huggingface_hub/inference/_generated/types/audio_classification.py,sha256=wk4kUTLQZoXWLpiUOpKRHRRE-JYqqJlzGVe62VACR-0,1347
|
|
45
|
+
huggingface_hub/inference/_generated/types/audio_to_audio.py,sha256=n7GeCepzt254yoSLsdjrI1j4fzYgjWzxoaKE5gZJc48,881
|
|
46
|
+
huggingface_hub/inference/_generated/types/automatic_speech_recognition.py,sha256=-7UHu5QTGwSrJFnrbMgzeUFpJQOGyTmfK_QHgtnx6j8,5352
|
|
47
|
+
huggingface_hub/inference/_generated/types/base.py,sha256=Cq4gUVtwwLmWyiIIq4NSL8kRk0EWk9QWWHc5Vup2LVg,6213
|
|
48
|
+
huggingface_hub/inference/_generated/types/chat_completion.py,sha256=cI-gWOgqEBnwhxwn21OShkKOs3mbjjzJ1Ow2pzLQEwc,3616
|
|
49
|
+
huggingface_hub/inference/_generated/types/depth_estimation.py,sha256=lmLmd8S313ZMCG94RblwquL0UN_0hJmXAhWUqSIrtwc,898
|
|
50
|
+
huggingface_hub/inference/_generated/types/document_question_answering.py,sha256=_hBzK4Pu9X_zXsgOO4JNSloIKuVfE5m7eGwEw5YTfZ4,3264
|
|
51
|
+
huggingface_hub/inference/_generated/types/feature_extraction.py,sha256=KerTrRR5YR02X0qBDzrtK8953amCGf_adSUbfWOozD4,664
|
|
52
|
+
huggingface_hub/inference/_generated/types/fill_mask.py,sha256=JcYIbTDXc4f7k2FNY3fCWtJ9ke3HUZFz2pDOOrDuxOs,1714
|
|
53
|
+
huggingface_hub/inference/_generated/types/image_classification.py,sha256=W1QVfc0j7t6qbxjICUQDwygRx43yPPGZKyStogHkHqg,1359
|
|
54
|
+
huggingface_hub/inference/_generated/types/image_segmentation.py,sha256=nVQc5Qhv37qqmTn_M8xegpNgk14ozKelsGIYC8hba_0,1803
|
|
55
|
+
huggingface_hub/inference/_generated/types/image_to_image.py,sha256=MbubS9pD8bFP9LoI4QoQxJwpUGeNXi5iSEk8Ymhbh0M,1797
|
|
56
|
+
huggingface_hub/inference/_generated/types/image_to_text.py,sha256=mloLf-LO7oR_2HbPY1-XMM18BfjMODytRaxTXYkIXoY,4827
|
|
57
|
+
huggingface_hub/inference/_generated/types/object_detection.py,sha256=F8ly6GSE8dupsekPVf6G5nI8teZAIP4iXw6u3zm1JiE,1569
|
|
58
|
+
huggingface_hub/inference/_generated/types/question_answering.py,sha256=xLDy5oA-k9JPncSU6NqPAPb8rWPerfTbU857G3e7JZ0,2884
|
|
59
|
+
huggingface_hub/inference/_generated/types/sentence_similarity.py,sha256=edH-TWfnZ4J0zJD-zqfcRMLwOV0dTt1g5Y0caYnVuPc,1018
|
|
60
|
+
huggingface_hub/inference/_generated/types/summarization.py,sha256=RWCXh7yftI_JWvLsr7JiDpQPexq1klYP158tUICUcbM,1574
|
|
61
|
+
huggingface_hub/inference/_generated/types/table_question_answering.py,sha256=PuVZlR6dI6FEUK7pjMSVMtzkDgrcxdKjfcnDbVmPdSs,1569
|
|
62
|
+
huggingface_hub/inference/_generated/types/text2text_generation.py,sha256=SZYfdhyraG5vZ2Jzm1C8k9w9IYLxMtm5UUu1tU2oOQk,1604
|
|
63
|
+
huggingface_hub/inference/_generated/types/text_classification.py,sha256=vC7B1sBzZ4gdLjE2i2Y7w5cpdaFwQKK1dlWqW0asjIk,1347
|
|
64
|
+
huggingface_hub/inference/_generated/types/text_generation.py,sha256=VHhkhEj-yEVGuy4BYgDNzmAPBPJWL3N1B4n4SUOymNk,5866
|
|
65
|
+
huggingface_hub/inference/_generated/types/text_to_audio.py,sha256=cgvECsiwsycgP9Tfs_GU1CJfo9AngVn6x9s4fHCP-g4,4819
|
|
66
|
+
huggingface_hub/inference/_generated/types/text_to_image.py,sha256=oBGeJ-S9WfsMxVQlvEOll9yaCyMXZ277wsYFD8bt87U,1931
|
|
67
|
+
huggingface_hub/inference/_generated/types/token_classification.py,sha256=7oL8AZOTWtf2bYD2T3236GDNMtUl7FtydaB6We7wbfw,1890
|
|
68
|
+
huggingface_hub/inference/_generated/types/translation.py,sha256=MruCx6yhzQGlxSdBRXCVoEhRzRSa5Ks4bjZ1PDrlTeQ,1562
|
|
69
|
+
huggingface_hub/inference/_generated/types/video_classification.py,sha256=BI2_PP-pxLT6w9TuX6QCZz4BsG-ZukTXnW6fWMchI5M,1579
|
|
70
|
+
huggingface_hub/inference/_generated/types/visual_question_answering.py,sha256=0PHNnjwxxHvG3SjOz7O7DckbBeGYDsRmlagG11qIkkM,1667
|
|
71
|
+
huggingface_hub/inference/_generated/types/zero_shot_classification.py,sha256=u6jfFCqDv9XqeAN5E9_Xf7jqMZgqTRFF_S9PtWbiBUk,1963
|
|
72
|
+
huggingface_hub/inference/_generated/types/zero_shot_image_classification.py,sha256=qVH6Ms0FjF8TraGy4BYiS8lmvGq9xiIDdXqGFynLHMA,1689
|
|
73
|
+
huggingface_hub/inference/_generated/types/zero_shot_object_detection.py,sha256=PU4OOlQ2aAOosW2JlG2Z27MEQpmE6BxcygH_ns3w1KQ,1662
|
|
74
|
+
huggingface_hub/serialization/__init__.py,sha256=W74TaCtYnMfpvGEQr1SS-OBmqPUFnM9AeWT9hTJCG9Y,910
|
|
75
|
+
huggingface_hub/serialization/_base.py,sha256=AgO-16i-vyosbERnLSCFYgaXbVqQDM7xfIne8gsWrLQ,7133
|
|
76
|
+
huggingface_hub/serialization/_numpy.py,sha256=idULJp1js6L6E8o-MiGVqNa4lBfXS2cfAmqivnpsaYs,2671
|
|
77
|
+
huggingface_hub/serialization/_tensorflow.py,sha256=Rf4kw1NYxEaoUXB8aLtQLHrTjgobaEAJdzO0w0kbP58,3559
|
|
78
|
+
huggingface_hub/serialization/_torch.py,sha256=xYR6e_G9laMTroWLiQRABSuloTQuuRSQNyYHdT_rmXU,7687
|
|
79
|
+
huggingface_hub/templates/datasetcard_template.md,sha256=W-EMqR6wndbrnZorkVv56URWPG49l7MATGeI015kTvs,5503
|
|
80
|
+
huggingface_hub/templates/modelcard_template.md,sha256=4AqArS3cqdtbit5Bo-DhjcnDFR-pza5hErLLTPM4Yuc,6870
|
|
81
|
+
huggingface_hub/utils/__init__.py,sha256=TojZjZX2NBlIqe8NmY1OA0J1wfydbL2427gMmmSiNbc,3425
|
|
82
|
+
huggingface_hub/utils/_cache_assets.py,sha256=kai77HPQMfYpROouMBQCr_gdBCaeTm996Sqj0dExbNg,5728
|
|
83
|
+
huggingface_hub/utils/_cache_manager.py,sha256=Fs1XVP1UGzUTogMfMfEi_MfpURzHyW__djX0s2oLmrY,29307
|
|
84
|
+
huggingface_hub/utils/_chunk_utils.py,sha256=kRCaj5228_vKcyLWspd8Xq01f17Jz6ds5Sr9ed5d_RU,2130
|
|
85
|
+
huggingface_hub/utils/_datetime.py,sha256=DHnktKm1taeOe2XCBgNU4pVck5d70qu8FJ7nACD6C3k,2554
|
|
86
|
+
huggingface_hub/utils/_deprecation.py,sha256=HZhRGGUX_QMKBBBwHHlffLtmCSK01TOpeXHefZbPfwI,4872
|
|
87
|
+
huggingface_hub/utils/_errors.py,sha256=N5nUkCCaj8393wntazeTcKNrwDZfsDVHVMxxreHPfaE,15141
|
|
88
|
+
huggingface_hub/utils/_experimental.py,sha256=crCPH6k6-11wwH2GZuZzZzZbjUotay49ywV1SSJhMHM,2395
|
|
89
|
+
huggingface_hub/utils/_fixes.py,sha256=EqG7u36J9C3NtL5VukDilca90GV9idrENzsEVhtdbI4,2829
|
|
90
|
+
huggingface_hub/utils/_git_credential.py,sha256=SDdsiREr1TcAR2Ze2TB0E5cYzVJgvDZrs60od9lAsMc,4596
|
|
91
|
+
huggingface_hub/utils/_headers.py,sha256=T_C1RA0bqEYL0oiE4WdFMAKXEUPHN-D43vchjiwKcZ4,9643
|
|
92
|
+
huggingface_hub/utils/_hf_folder.py,sha256=gWH-TT9h_6X_CyrtLTtKNEawf9kKlCHraFiOu09BuLk,3613
|
|
93
|
+
huggingface_hub/utils/_http.py,sha256=KaZ8vgJoQZdQO8mj1xL9DeGkFz_L_b1qwl7Tk_iuaEA,12890
|
|
94
|
+
huggingface_hub/utils/_pagination.py,sha256=hzLFLd8i_DKkPRVYzOx2CxLt5lcocEiAxDJriQUjAjY,1841
|
|
95
|
+
huggingface_hub/utils/_paths.py,sha256=Ah_diO-gSWw9TYylJl_HNB2XXftgIi36HNlKAYQHCms,4398
|
|
96
|
+
huggingface_hub/utils/_runtime.py,sha256=6PxkDPWj3ltRlE2-zAr3vZTXfi1OUjxILsmRN-s_wZY,10851
|
|
97
|
+
huggingface_hub/utils/_safetensors.py,sha256=EE9v9HflWBUqIegn0dCGHgNu9G9Db3v2aszvG4ldPF8,4876
|
|
98
|
+
huggingface_hub/utils/_subprocess.py,sha256=34ETD8JvLzm16NRZHciaCLXdE9aRyxuDdOA5gdNvMJ8,4617
|
|
99
|
+
huggingface_hub/utils/_telemetry.py,sha256=jHAdgWNcL9nVvMT3ec3i78O-cwL09GnlifuokzpQjMI,4641
|
|
100
|
+
huggingface_hub/utils/_token.py,sha256=cxBZaafW2IsJ2dKWd55v7056zycW1ewp_nPk8dNcSO4,5476
|
|
101
|
+
huggingface_hub/utils/_typing.py,sha256=pXh7GtVtSBD_Fvvthex9BRTAJZ6bWScUOw06oJS0Lek,2025
|
|
102
|
+
huggingface_hub/utils/_validators.py,sha256=otFT4xT3s_E_-jrzH4NR7xWgK7UlRkwk_KAI9XK1mb0,9359
|
|
103
|
+
huggingface_hub/utils/endpoint_helpers.py,sha256=n_VguR_L2Vl6Mi_4PFO2iAd5xaPeQRiD8KRBpzs4nMw,9536
|
|
104
|
+
huggingface_hub/utils/insecure_hashlib.py,sha256=OjxlvtSQHpbLp9PWSrXBDJ0wHjxCBU-SQJgucEEXDbU,1058
|
|
105
|
+
huggingface_hub/utils/logging.py,sha256=Cp03s0uEl3kDM9XHQW9a8GAoExODQ-e7kEtgMt-_To8,4728
|
|
106
|
+
huggingface_hub/utils/sha.py,sha256=QLlIwPCyz46MmUc_4L8xl87KfYoBks9kPgsMZ5JCz-o,902
|
|
107
|
+
huggingface_hub/utils/tqdm.py,sha256=2H80n_kDpvp7P4i7MaYR47t41i0l6ODi5mab1oof1dk,6335
|
|
108
|
+
huggingface_hub-0.22.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
109
|
+
huggingface_hub-0.22.0.dist-info/METADATA,sha256=4q4yzh3Kb1IYo9jPBgaaPS51nFo8oAT19EpKxnJlXEs,12869
|
|
110
|
+
huggingface_hub-0.22.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
111
|
+
huggingface_hub-0.22.0.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
|
|
112
|
+
huggingface_hub-0.22.0.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
|
|
113
|
+
huggingface_hub-0.22.0.dist-info/RECORD,,
|