Skip to content

Conversation

@mgrange1998
Copy link
Contributor

Differential Revision: D86975066

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 13, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 13, 2025

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

mgrange1998 added a commit to mgrange1998/PrivacyGuard-1 that referenced this pull request Nov 17, 2025
…h#82)

Summary: Pull Request resolved: facebookresearch#82

Differential Revision: D86975066
Summary:

This change updates GenerationAttack and HuggingFace predictor with the following functionality. 

- Fixes "batch_size=self.batch_size" s.t it is propagated downstream properly. Updated the default value to 1 to reflect intended behavior
- Adds "_generate_decode_logic" helper to encapsulate calling "model.generate"
- Extends generation functionality to not include prompt when decoding

Differential Revision: D87341640
…h#82)

Summary: Pull Request resolved: facebookresearch#82

Reviewed By: s-huu

Differential Revision: D86975066
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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant