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

Inference after deletion #6

Open
harelber opened this issue Apr 17, 2024 · 3 comments
Open

Inference after deletion #6

harelber opened this issue Apr 17, 2024 · 3 comments

Comments

@harelber
Copy link

Hi,
I tried to find the proper place to run inference after the deletion of some concepts. I wanted to infer something that is not identical to the original conecpt that was deleted. How can I do that?
Thanks!

@ericlormul
Copy link
Collaborator

Hi, it's the same as forgetting. As the concept has been forgotten after training, it is going to generate something that's different from the original concept. The caveat is what it generates depends on how strong is the forgetting process. For example, if you only do one step training of forgetting, it's going to be the identical concept. As the step increases, the concept will be less prominent.

@Yrefael
Copy link

Yrefael commented Apr 17, 2024

Hi @ericlormul,
Following @harelber question, let's say I want to delete the concept "a house", and then I want to see how the model generates pictures of "a window". How practically would I do that?

@ericlormul
Copy link
Collaborator

Just use "a house" as the target concept for forgetting. Then, use the trained model(trained to forget 'a house') to generate 'a window', see how it will generates.

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

3 participants