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

T-Patch has failed an edit. #4

Open
Riraifu opened this issue Aug 9, 2023 · 2 comments
Open

T-Patch has failed an edit. #4

Riraifu opened this issue Aug 9, 2023 · 2 comments

Comments

@Riraifu
Copy link

Riraifu commented Aug 9, 2023

Something wrong with the code "T-Patch has failed an edit."
I don't know why this happen. Can you help me? Thanks!

@ZeroYuHuang
Copy link
Owner

Thanks for your question!

This is not a code mistake.

This happens because T-Patcher could fail to make an edit sometimes, which means the training of patches could fail with some restrictions, e.g., the number of patches, the patch-training steps, etc. You can try bigger patch-training steps.

@Riraifu
Copy link
Author

Riraifu commented Aug 9, 2023

I am running your original source code, why do the default parameters of the source code also report this error?

I will modify the code for the fever dataset and change add_neuron_num from 1 to 5, still reporting the same error.
It seems that there are no parameters related to patch-training steps that can be modified

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

2 participants