Skip to content
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

Potential Data Leakage? #74

Open
joshmyersdean opened this issue Oct 17, 2024 · 1 comment
Open

Potential Data Leakage? #74

joshmyersdean opened this issue Oct 17, 2024 · 1 comment

Comments

@joshmyersdean
Copy link

joshmyersdean commented Oct 17, 2024

Hi again @hanoonaR! (cc: @mmaaz60)

I am going through the code base and I noticed that the caption for GCG gets added to the prompt (on this line) but then is never actually removed from the input ids in the collate_fn? Could you please provide some clarification on what is happening in this scenario?

Thank you!
Josh

@joshmyersdean
Copy link
Author

joshmyersdean commented Oct 17, 2024

It also looks like in the demo that nothing gets appended to the assistant part of the prompt. When I do append something it gets repeated. I have also confirmed that the model repeats the answer part when generating text. However, this does not appear to be done during testing which is good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant