-
Notifications
You must be signed in to change notification settings - Fork 57
feat: add HuggingFace Hub integration for dataset publishing #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
feadff7
feat: add push_to_hub integration for HuggingFace datasets
nabinchha 3ff3aba
feat: improve push_to_hub with logging, path mapping, and config defiβ¦
nabinchha 0cd2dd1
feat: add optional description parameter to push_to_hub
nabinchha da2acc8
feat: make description required and enhance dataset card design
nabinchha 5b83a1a
fix license headers
nabinchha 0ecba21
remove modality deteciton
nabinchha 08b8aa6
break up upload_dataset
nabinchha ddd5629
make token private
nabinchha 4590c7d
HuggingFace -> Hugging Face
nabinchha 5113069
remove inline imports
nabinchha 02182f9
simplify tests + remvoe create pr option for simplicity
nabinchha 9b99aed
Update packages/data-designer/src/data_designer/integrations/huggingfβ¦
nabinchha ce05fa1
use consistent indentaion
nabinchha 243c087
fix temp file clean up
nabinchha de61805
huggingface hub already a dep in engine
nabinchha f0e3fcb
add missing spaces
nabinchha 99c61fe
reuse vars from artifact_storage.py
nabinchha 3270332
pull put hf hub datasets url to constants
nabinchha ead52f5
HuggingfaceUploadError -> HuggingFaceHubClientUploadError
nabinchha bc90dcb
defer to hfhub repo validation
nabinchha 6bfd2df
Merge branch 'main' into nmulepati/feat/7-push-to-hf
nabinchha 5b8dc9c
Merge branch 'main' into nmulepati/feat/7-push-to-hf
nabinchha 4f8c4a0
Update packages/data-designer/src/data_designer/integrations/huggingfβ¦
nabinchha d2fd641
Update packages/data-designer/src/data_designer/interface/results.py
nabinchha afbdac7
Update packages/data-designer/src/data_designer/integrations/huggingfβ¦
nabinchha e56c846
allow custom tags
nabinchha 081ab2a
change sdg.json -> builder_config.json
nabinchha 6ab60d4
Merge branch 'main' into nmulepati/feat/7-push-to-hf
nabinchha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
packages/data-designer/src/data_designer/integrations/huggingface/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
nabinchha marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| from data_designer.integrations.huggingface.client import HuggingFaceHubClient, HuggingFaceHubClientUploadError | ||
| from data_designer.integrations.huggingface.dataset_card import DataDesignerDatasetCard | ||
|
|
||
| __all__ = ["HuggingFaceHubClient", "HuggingFaceHubClientUploadError", "DataDesignerDatasetCard"] | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.