We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e26dc0 commit 11d9ab6Copy full SHA for 11d9ab6
src/huggingface_hub/hf_api.py
@@ -84,6 +84,7 @@ def __init__(
84
siblings: Optional[
85
List[Dict]
86
] = None, # list of files that constitute the model
87
+ config: Optional[Dict] = None, # information about model configuration
88
**kwargs,
89
):
90
self.modelId = modelId
@@ -94,6 +95,7 @@ def __init__(
94
95
self.siblings = (
96
[ModelFile(**x) for x in siblings] if siblings is not None else None
97
)
98
+ self.config = config
99
for k, v in kwargs.items():
100
setattr(self, k, v)
101
0 commit comments