-
Notifications
You must be signed in to change notification settings - Fork 181
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
ROME + GPT-2XL + zSRE replicate results #44
Comments
Thank you for your attention! To replicate the results of ROME, you can refer to
By doing so, you will be able to reproduce the ROME results. |
Thanks for quick response @tbozhong, I have the JSON file
I can try to debug, but still sharing here so if there's something, you can update the codebase :) Note: If my understanding is wrong and if you just meant to refer the code and write a similar-script for GPT-2 XL, then I am mistaken and will try to do the same! |
Here's some additional information if it helps, but I believe you would already know this, but this is there the code breaks logits variable is --
The labels and answers are [], [] after it's passed to |
same as #43 |
Hi, have you solved your issue? |
Sorry about the delay, yes the issue has been resolved by adding this line
|
Hi,
Thank you so much for your support and wonderful repo :)
I was able to run the ROME + GPT2XL from
edit.py
and am able to observe the metrics and edited model. Thetest_ROME()
is basically used to insert few manually designed facts/prompts described in the function.I would like to run the repo for entire zSRE dataset i.e would like to replicate the results from Table 1 from official ROME paper (https://arxiv.org/pdf/2202.05262.pdf)
Thanks
Srinath
The text was updated successfully, but these errors were encountered: