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

I used ACDC on this custom task, does it make sense to merge? #102

Open
Pratik-Doshi-99 opened this issue Dec 15, 2024 · 0 comments
Open

Comments

@Pratik-Doshi-99
Copy link

I am trying to find a circuit for this custom "iterate" task. To use ACDC, I added a new module: Automatic-Circuit-Discovery/acdc/iterate with a utils.py file. I also configured main.py to call this module and run ACDC on its data.

Task prompt: "def iterate(arr):\n\t" (total 8 tokens)
Corrupted prompt: "def [A]B:\n\t" (total 8 tokens)

I expect "for" (as in for loop) to be the next token. I used ACDC, and it ran successfully.
Target model: GPT2-Neo 125M

Here is the implementation: https://github.com/Pratik-Doshi-99/Automatic-Circuit-Discovery

Does it make sense to merge this to the main repo?

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