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

Error : The context size (4096)is too small to fit the context shift size 4096 #209

Open
LiAyase opened this issue Nov 11, 2024 · 4 comments

Comments

@LiAyase
Copy link

LiAyase commented Nov 11, 2024

I've encountered an issue while attempting to deobfuscate a JavaScript file that uses function name obfuscation and JSVMP reinforcement, utilizing a large model. My setup is a Windows 11 device with 64GB of RAM and an RTX 4000 ADA GPU with 12GB of VRAM. Could you advise me on how to proceed? Thank you very much!

1ee05b24947e038ca0ca60cd313c5ac

@jehna
Copy link
Owner

jehna commented Nov 11, 2024

I think this might be because of the recent default context size change at version 2.2.0.

As a workaround you could set the --contextSize argument to something less than 1000, like 750 and try again.

If you can provide an example file which results in this kind of error, it would be super good so I can fix the underlying issue

@ahmedalatawi
Copy link

@jehna Im having the same issue. How to set the --contextSize argument? Could you please provide an example. I tried this and it didn't work: humanify local --contextSize=750 file.js

@LiAyase
Copy link
Author

LiAyase commented Nov 13, 2024

@jehna Thank you for your reply. Unfortunately, for some reason, I am unable to provide you with the JS file. humanify local --contextSize=750 file.js and humanify local --contextSize 750 file.js, I have tried this but it didn't work

@jehna
Copy link
Owner

jehna commented Nov 13, 2024

Can you try lower values too? The original was 200, at least that should work

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