huggingface-hub 0.27.0rc0__py3-none-any.whl → 0.27.0rc1__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.27.0.rc0"
49
+ __version__ = "0.27.0.rc1"
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
@@ -76,10 +76,11 @@ class AutomaticSpeechRecognitionGenerationParameters(BaseInferenceType):
76
76
  class AutomaticSpeechRecognitionParameters(BaseInferenceType):
77
77
  """Additional inference parameters for Automatic Speech Recognition"""
78
78
 
79
- generation_parameters: Optional[AutomaticSpeechRecognitionGenerationParameters] = None
80
- """Parametrization of the text generation process"""
81
79
  return_timestamps: Optional[bool] = None
82
80
  """Whether to output corresponding timestamps with the generated text"""
81
+ # Will be deprecated in the future when the renaming to `generation_parameters` is implemented in transformers
82
+ generate_kwargs: Optional[AutomaticSpeechRecognitionGenerationParameters] = None
83
+ """Parametrization of the text generation process"""
83
84
 
84
85
 
85
86
  @dataclass
@@ -76,10 +76,11 @@ class ImageToTextGenerationParameters(BaseInferenceType):
76
76
  class ImageToTextParameters(BaseInferenceType):
77
77
  """Additional inference parameters for Image To Text"""
78
78
 
79
- generation_parameters: Optional[ImageToTextGenerationParameters] = None
80
- """Parametrization of the text generation process"""
81
79
  max_new_tokens: Optional[int] = None
82
80
  """The amount of maximum tokens to generate."""
81
+ # Will be deprecated in the future when the renaming to `generation_parameters` is implemented in transformers
82
+ generate_kwargs: Optional[ImageToTextGenerationParameters] = None
83
+ """Parametrization of the text generation process"""
83
84
 
84
85
 
85
86
  @dataclass
@@ -76,7 +76,8 @@ class TextToAudioGenerationParameters(BaseInferenceType):
76
76
  class TextToAudioParameters(BaseInferenceType):
77
77
  """Additional inference parameters for Text To Audio"""
78
78
 
79
- generation_parameters: Optional[TextToAudioGenerationParameters] = None
79
+ # Will be deprecated in the future when the renaming to `generation_parameters` is implemented in transformers
80
+ generate_kwargs: Optional[TextToAudioGenerationParameters] = None
80
81
  """Parametrization of the text generation process"""
81
82
 
82
83
 
@@ -76,7 +76,8 @@ class TextToSpeechGenerationParameters(BaseInferenceType):
76
76
  class TextToSpeechParameters(BaseInferenceType):
77
77
  """Additional inference parameters for Text To Speech"""
78
78
 
79
- generation_parameters: Optional[TextToSpeechGenerationParameters] = None
79
+ # Will be deprecated in the future when the renaming to `generation_parameters` is implemented in transformers
80
+ generate_kwargs: Optional[TextToSpeechGenerationParameters] = None
80
81
  """Parametrization of the text generation process"""
81
82
 
82
83
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huggingface-hub
3
- Version: 0.27.0rc0
3
+ Version: 0.27.0rc1
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=YWYbiNrDjomLgTpIcfotLbT6I93boWi_tWN6umWAHEc,37217
1
+ huggingface_hub/__init__.py,sha256=C0iat0Hr6d_yWrUAL-9rHMufi54U_ASl_wEGXQIBuDg,37217
2
2
  huggingface_hub/_commit_api.py,sha256=Y9eTaW4bYzxtrZsSniVtfeAuFafqx8x1ofMI5es8hvM,31057
3
3
  huggingface_hub/_commit_scheduler.py,sha256=tfIoO1xWHjTJ6qy6VS6HIoymDycFPg0d6pBSZprrU2U,14679
4
4
  huggingface_hub/_inference_endpoints.py,sha256=wzjD8P68VpUDHzIDbXzFXsM2Y-aNVSAap7BXsZFuthk,16750
@@ -46,7 +46,7 @@ huggingface_hub/inference/_generated/_async_client.py,sha256=sV3fcN2HQUquwU8N9Ag
46
46
  huggingface_hub/inference/_generated/types/__init__.py,sha256=IOp7v252gLZbFb7MUCjDSvzwchycZqUo2gZPrpSDtV8,6211
47
47
  huggingface_hub/inference/_generated/types/audio_classification.py,sha256=U340ccLtMjqRMtD3hviXCQaWk_DWJgQWor8vLgW_GKM,1552
48
48
  huggingface_hub/inference/_generated/types/audio_to_audio.py,sha256=n7GeCepzt254yoSLsdjrI1j4fzYgjWzxoaKE5gZJc48,881
49
- huggingface_hub/inference/_generated/types/automatic_speech_recognition.py,sha256=kVefwd-8vh-Fv14VXCXYwtUwEuf3DJto6gWkIexbXGY,5473
49
+ huggingface_hub/inference/_generated/types/automatic_speech_recognition.py,sha256=g5L2LasOLPW49ik69SlUu-EVdNn7IWWpmGhaP9b-en0,5582
50
50
  huggingface_hub/inference/_generated/types/base.py,sha256=dQ-ej4weVueTJQXaDFLYFhKvlCUYVH2k9r-Ck0uhFIU,5870
51
51
  huggingface_hub/inference/_generated/types/chat_completion.py,sha256=6QKg0upzaNTv5esWfRZbtYixNrcsvGNrUpPw1mNezQ8,9589
52
52
  huggingface_hub/inference/_generated/types/depth_estimation.py,sha256=3ZUI2w3J-WgDDxlRQ_444r46TlFRhHBt2LN2LLVJB-w,919
@@ -56,7 +56,7 @@ huggingface_hub/inference/_generated/types/fill_mask.py,sha256=fxYjJgERCwKS-LUc3
56
56
  huggingface_hub/inference/_generated/types/image_classification.py,sha256=hCvz1MpMVXY3KlVENmq1Ygn4SsbE9UngPH9Y7Nj_kgg,1564
57
57
  huggingface_hub/inference/_generated/types/image_segmentation.py,sha256=4T0rj-wGJnmqvbcj7kVt_L_mhWjEpjFH9o0VhHXaGRs,1929
58
58
  huggingface_hub/inference/_generated/types/image_to_image.py,sha256=ZJnOADT1UE0kuBJxiA4ITTjQmp0PI4p3DcNoWRzSwkE,1945
59
- huggingface_hub/inference/_generated/types/image_to_text.py,sha256=5MJCebVzcuF3azqPwN6xVTFt14CE6gqRlvbG1s0F2Hs,4778
59
+ huggingface_hub/inference/_generated/types/image_to_text.py,sha256=kocfj5jn_sPDk5FSR_PGl4Xq72BNHOwHEKCP3wv2poY,4887
60
60
  huggingface_hub/inference/_generated/types/object_detection.py,sha256=eS3bbkpdtjLu2k2TjlEvLjVtMI5OdHJK1jq3kTzVZdQ,1968
61
61
  huggingface_hub/inference/_generated/types/question_answering.py,sha256=Dzpwz3KWq3uQuzIwMRbUxSHscpLsVOPjwrKVqLJR5vA,2866
62
62
  huggingface_hub/inference/_generated/types/sentence_similarity.py,sha256=y3KHkCYxn1tOEPrOQ6DNqQtCEhNNtGEN5aMstiQ6hVA,1042
@@ -65,9 +65,9 @@ huggingface_hub/inference/_generated/types/table_question_answering.py,sha256=YL
65
65
  huggingface_hub/inference/_generated/types/text2text_generation.py,sha256=dqwTt-i-k6jo9DdGUS5ZRtrkLTVWoje3L5C3-pMv45Q,1588
66
66
  huggingface_hub/inference/_generated/types/text_classification.py,sha256=j-0g3Ajaxg4e5TQlNs3UqVryvp5delYm8znrgzvkW-8,1424
67
67
  huggingface_hub/inference/_generated/types/text_generation.py,sha256=TKJb26T03Gyw3As0IXmRzAritNeKUpturKfO_2OenzA,5798
68
- huggingface_hub/inference/_generated/types/text_to_audio.py,sha256=6zq6EBcEcTGZnTyyf-8s0t-gXVimh_18MQ172YcFMfY,4770
68
+ huggingface_hub/inference/_generated/types/text_to_audio.py,sha256=y5pT8-hWr1CK1Zxi0LPcfNbk2Mr0_DdfpRKRP1jSNts,4879
69
69
  huggingface_hub/inference/_generated/types/text_to_image.py,sha256=DsCku9u8MaXdkkOvPqjYwHZgeCfI4HbGB8vRsPc7uUE,1984
70
- huggingface_hub/inference/_generated/types/text_to_speech.py,sha256=Z33EbkcNtg_XjMMvhyYeOT3d4DSRK5CfQIaNm0kXiW4,4828
70
+ huggingface_hub/inference/_generated/types/text_to_speech.py,sha256=Kc42sG1ybdhHn7Jo-t69FqVCxQ7aBhPnjh_4HyuEjW0,4937
71
71
  huggingface_hub/inference/_generated/types/token_classification.py,sha256=C0K5OukrNTyvZE-AdIbblacTtyc1Ita374bwfNw2Y-8,1894
72
72
  huggingface_hub/inference/_generated/types/translation.py,sha256=AYfr0n-o0HsK21QNs0HMufI1wCMbtRhAZvNK40hjAYk,1742
73
73
  huggingface_hub/inference/_generated/types/video_classification.py,sha256=e6J5BNqQ5gtyHAuVB-UPo4RYy4AIT6XSShhGA13CB_E,1659
@@ -109,9 +109,9 @@ huggingface_hub/utils/insecure_hashlib.py,sha256=OjxlvtSQHpbLp9PWSrXBDJ0wHjxCBU-
109
109
  huggingface_hub/utils/logging.py,sha256=Cp03s0uEl3kDM9XHQW9a8GAoExODQ-e7kEtgMt-_To8,4728
110
110
  huggingface_hub/utils/sha.py,sha256=OFnNGCba0sNcT2gUwaVCJnldxlltrHHe0DS_PCpV3C4,2134
111
111
  huggingface_hub/utils/tqdm.py,sha256=ZgdphuTnwAIaUKnnD2P7qVvNHpzHAyrYoItkiV0aEjQ,9835
112
- huggingface_hub-0.27.0rc0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
113
- huggingface_hub-0.27.0rc0.dist-info/METADATA,sha256=-ELpyrAZlZje1R5j2qNHc1U3y_gI7GF3bpN2-K8jM2M,13483
114
- huggingface_hub-0.27.0rc0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
115
- huggingface_hub-0.27.0rc0.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
116
- huggingface_hub-0.27.0rc0.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
117
- huggingface_hub-0.27.0rc0.dist-info/RECORD,,
112
+ huggingface_hub-0.27.0rc1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
113
+ huggingface_hub-0.27.0rc1.dist-info/METADATA,sha256=ghGQcW1I5xPEpo-wovfTYY6nmwatvRrPtscd_fKJPiI,13483
114
+ huggingface_hub-0.27.0rc1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
115
+ huggingface_hub-0.27.0rc1.dist-info/entry_points.txt,sha256=Y3Z2L02rBG7va_iE6RPXolIgwOdwUFONyRN3kXMxZ0g,131
116
+ huggingface_hub-0.27.0rc1.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
117
+ huggingface_hub-0.27.0rc1.dist-info/RECORD,,