Skip to content

Commit 8d1ffc6

Browse files
authored
Add missing documentation (#2572)
1 parent f984cdc commit 8d1ffc6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/huggingface_hub/hf_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ class ModelInfo:
734734
gated (`Literal["auto", "manual", False]`, *optional*):
735735
Is the repo gated.
736736
If so, whether there is manual or automatic approval.
737+
gguf (`Dict`, *optional*):
738+
GGUF information of the model.
737739
inference (`Literal["cold", "frozen", "warm"]`, *optional*):
738740
Status of the model on the inference API.
739741
Warm models are available for immediate use. Cold models will be loaded on first inference call.

src/huggingface_hub/repocard_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ class ModelCardData(CardData):
276276
`eval_results` to construct the `model-index` within the card's metadata. The name
277277
you supply here is what will be used on PapersWithCode's leaderboards. If None is provided
278278
then the repo name is used as a default. Defaults to None.
279+
pipeline_tag (`str`, *optional*):
280+
The pipeline tag associated with the model. Example: "text-classification".
279281
tags (`List[str]`, *optional*):
280282
List of tags to add to your model that can be used when filtering on the Hugging
281283
Face Hub. Defaults to None.

0 commit comments

Comments
 (0)