Skip to content

Custom dataset#113

Closed
lucamelis wants to merge 1 commit intofacebookresearch:mainfrom
lucamelis:export-D94982552
Closed

Custom dataset#113
lucamelis wants to merge 1 commit intofacebookresearch:mainfrom
lucamelis:export-D94982552

Conversation

@lucamelis
Copy link
Contributor

Summary:
This diff introduces support for custom datasets in PrivacyGuard and provides comprehensive tutorials—both script and notebook formats—on how to utilize this feature.

  • Modified dataset.py in the privacy_guard/shadow_model_training directory.
    Added a new CustomDataset class, enabling users to work with custom datasets in PrivacyGuard.

  • Added custom_dataset_tutorial.ipynb in the privacy_guard/github/tutorial_notebooks directory.
    This file provides a tutorial on integrating custom datasets with PrivacyGuard, including an example implementation of a custom dataset class.

Reviewed By: iden-kalemaj

Differential Revision: D94982552

Summary:
This diff introduces support for custom datasets in PrivacyGuard and provides comprehensive tutorials—both script and notebook formats—on how to utilize this feature.

* Modified `dataset.py` in the `privacy_guard/shadow_model_training` directory.  
  Added a new `CustomDataset` class, enabling users to work with custom datasets in PrivacyGuard.

* Added `custom_dataset_tutorial.ipynb` in the `privacy_guard/github/tutorial_notebooks` directory.  
This file provides a tutorial on integrating custom datasets with PrivacyGuard, including an example implementation of a custom dataset class.

Reviewed By: iden-kalemaj

Differential Revision: D94982552
@meta-codesync
Copy link

meta-codesync bot commented Mar 10, 2026

@lucamelis has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94982552.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 10, 2026
Copy link
Contributor

@iden-kalemaj iden-kalemaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync
Copy link

meta-codesync bot commented Mar 10, 2026

This pull request has been merged in bf5a147.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants