huggingface-hub 0.28.0rc2__py3-none-any.whl → 0.28.0rc3__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.

@@ -46,7 +46,7 @@ import sys
46
46
  from typing import TYPE_CHECKING
47
47
 
48
48
 
49
- __version__ = "0.28.0.rc2"
49
+ __version__ = "0.28.0.rc3"
50
50
 
51
51
  # Alphabetical order of definitions is ensured in tests
52
52
  # WARNING: any comment added in this dictionary definition will be lost when
huggingface_hub/hf_api.py CHANGED
@@ -3341,7 +3341,7 @@ class HfApi:
3341
3341
  branch = constants.DEFAULT_REVISION
3342
3342
 
3343
3343
  # Prepare request
3344
- url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/super-squash/{branch}"
3344
+ url = f"{self.endpoint}/api/{repo_type}s/{repo_id}/super-squash/{quote(branch, safe='')}"
3345
3345
  headers = self._build_hf_headers(token=token)
3346
3346
  commit_message = commit_message or f"Super-squash branch '{branch}' using huggingface_hub"
3347
3347
 
@@ -20,9 +20,7 @@ SUPPORTED_MODELS = {
20
20
  "deepseek-ai/deepseek-llm-67b-chat": "deepseek-ai/deepseek-llm-67b-chat",
21
21
  "google/gemma-2-9b-it": "google/gemma-2-9b-it",
22
22
  "google/gemma-2b-it": "google/gemma-2-27b-it",
23
- "llava-hf/llava-v1.6-mistral-7b-hf": "llava-hf/llava-v1.6-mistral-7b-hf",
24
23
  "meta-llama/Llama-2-13b-chat-hf": "meta-llama/Llama-2-13b-chat-hf",
25
- "meta-llama/Llama-2-70b-hf": "meta-llama/Llama-2-70b-hf",
26
24
  "meta-llama/Llama-2-7b-chat-hf": "meta-llama/Llama-2-7b-chat-hf",
27
25
  "meta-llama/Llama-3.2-11B-Vision-Instruct": "meta-llama/Llama-Vision-Free",
28
26
  "meta-llama/Llama-3.2-3B-Instruct": "meta-llama/Llama-3.2-3B-Instruct-Turbo",
@@ -48,6 +46,7 @@ SUPPORTED_MODELS = {
48
46
  "scb10x/llama-3-typhoon-v1.5x-70b-instruct-awq": "scb10x/scb10x-llama3-typhoon-v1-5x-4f316",
49
47
  },
50
48
  "text-generation": {
49
+ "meta-llama/Llama-2-70b-hf": "meta-llama/Llama-2-70b-hf",
51
50
  "meta-llama/Meta-Llama-3-8B": "meta-llama/Meta-Llama-3-8B",
52
51
  "mistralai/Mixtral-8x7B-v0.1": "mistralai/Mixtral-8x7B-v0.1",
53
52
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface-hub
3
- Version: 0.28.0rc2
3
+ Version: 0.28.0rc3
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.
@@ -1,4 +1,4 @@
1
- huggingface_hub/__init__.py,sha256=A6yn8aeSuPYwyNsxqKk7wdzSu2QxXPcWkUxLC5iC2wU,48872
1
+ huggingface_hub/__init__.py,sha256=2y0PIjg3upqt88VpS--eKrUmNyIYSyB6F3uKJmU3KOA,48872
2
2
  huggingface_hub/_commit_api.py,sha256=TqXmu5moVAhBa7iuyJdsqsfRTxTpGMnvsPkb4GgC3dc,32636
3
3
  huggingface_hub/_commit_scheduler.py,sha256=tfIoO1xWHjTJ6qy6VS6HIoymDycFPg0d6pBSZprrU2U,14679
4
4
  huggingface_hub/_inference_endpoints.py,sha256=PmW6IdIq9SAvlniPuyh3alKfahAmm4cyArQ_vrIcgQE,16992
@@ -15,7 +15,7 @@ huggingface_hub/constants.py,sha256=ha9L6-qMD9IxfHplUkWnXAfyKuNA6fVcVFRXfmYB3L4,
15
15
  huggingface_hub/errors.py,sha256=zble0j94ai8zwyM0a2DovwcF372zQohwDsgajTsaxqI,9703
16
16
  huggingface_hub/fastai_utils.py,sha256=DpeH9d-6ut2k_nCAAwglM51XmRmgfbRe2SPifpVL5Yk,16745
17
17
  huggingface_hub/file_download.py,sha256=h3egIfo07tAC7fbXFfVj1GRCmKn6qTXyMUoSYhu3bSo,70364
18
- huggingface_hub/hf_api.py,sha256=DZdBsl69T1OhNGoI_XsaPAicTRGx0V0R1oAe1ivv3XM,422267
18
+ huggingface_hub/hf_api.py,sha256=cvGLQroZ1wT1H3s_vKA1Q2TrogCKDQiONkuitVw2TeU,422283
19
19
  huggingface_hub/hf_file_system.py,sha256=m_g7uYLGxTdsBnhvR5835jvYMAuEBsUSFvEbzZKzzoo,47500
20
20
  huggingface_hub/hub_mixin.py,sha256=-oTnuB3b-0WeutZ1iBkAy1YuWrBKvHBVBpmd3-7oGB4,37419
21
21
  huggingface_hub/inference_api.py,sha256=b4-NhPSn9b44nYKV8tDKXodmE4JVdEymMWL4CVGkzlE,8323
@@ -82,7 +82,7 @@ huggingface_hub/inference/_providers/fal_ai.py,sha256=tS2sUzpw08cLKta2vSBablgUI7
82
82
  huggingface_hub/inference/_providers/hf_inference.py,sha256=lh52LekKRi43VX18tLGi2LE2iOC3dNfdP8GsfqUfTMQ,7210
83
83
  huggingface_hub/inference/_providers/replicate.py,sha256=hStDlm789VaEjKUVlUFoxvQ9SnczLCeS1wL_NBkWGFs,5682
84
84
  huggingface_hub/inference/_providers/sambanova.py,sha256=KenHXBitAueQhSd6_ZsRXtCHQNi4s5g0R4BLVa8SC64,3429
85
- huggingface_hub/inference/_providers/together.py,sha256=HnUzrZi-VK_AnkrRF-yYTuJX0n6vqWs2WUapYFoA6Ww,6991
85
+ huggingface_hub/inference/_providers/together.py,sha256=ZJGcfzZkJ0AVUJX-qiuWIrL2YCMBy-AAmdZaVrmYvDU,6909
86
86
  huggingface_hub/serialization/__init__.py,sha256=kn-Fa-m4FzMnN8lNsF-SwFcfzug4CucexybGKyvZ8S0,1041
87
87
  huggingface_hub/serialization/_base.py,sha256=Df3GwGR9NzeK_SD75prXLucJAzPiNPgHbgXSw-_LTk8,8126
88
88
  huggingface_hub/serialization/_dduf.py,sha256=s42239rLiHwaJE36QDEmS5GH7DSmQ__BffiHJO5RjIg,15424
@@ -117,9 +117,9 @@ huggingface_hub/utils/insecure_hashlib.py,sha256=OjxlvtSQHpbLp9PWSrXBDJ0wHjxCBU-
117
117
  huggingface_hub/utils/logging.py,sha256=rkY4bb4aoXiM9MFtA2jGq9Mjh2rKZ0dYdwFM-x5odWc,4726
118
118
  huggingface_hub/utils/sha.py,sha256=OFnNGCba0sNcT2gUwaVCJnldxlltrHHe0DS_PCpV3C4,2134
119
119
  huggingface_hub/utils/tqdm.py,sha256=ZgdphuTnwAIaUKnnD2P7qVvNHpzHAyrYoItkiV0aEjQ,9835
120
- huggingface_hub-0.28.0rc2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
121
- huggingface_hub-0.28.0rc2.dist-info/METADATA,sha256=L2LOq9iOhyWtdHDjP0G5B67j1zcXOIlluyAC9WFsGLs,13483
122
- huggingface_hub-0.28.0rc2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
123
- huggingface_hub-0.28.0rc2.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
124
- huggingface_hub-0.28.0rc2.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
125
- huggingface_hub-0.28.0rc2.dist-info/RECORD,,
120
+ huggingface_hub-0.28.0rc3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
121
+ huggingface_hub-0.28.0rc3.dist-info/METADATA,sha256=rmWRUNi92HY-_rbCuNB7ciRzH_1UVLe5KI3VyLkvuac,13483
122
+ huggingface_hub-0.28.0rc3.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
123
+ huggingface_hub-0.28.0rc3.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
124
+ huggingface_hub-0.28.0rc3.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
125
+ huggingface_hub-0.28.0rc3.dist-info/RECORD,,