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

There is no argument on LLM, Generate on ./transformers-4.32.0 #4

Open
naknak-choi opened this issue Aug 13, 2024 · 1 comment
Open

Comments

@naknak-choi
Copy link

I run python step01_extract_attns.py but it goes like below, then I check the ./transformers-4.32.0 on Lookback-Lens but I can't fine blow args... any idea what is the matter?

ValueError: The following model_kwargs are not used by the model: ['extrapolate_coeff', 'pre_softmax', 'divergence_type', 'relative_top', 'relative_top_with_norm', 'contrast_disagree_only', 'premature_temp', 'apply_early_norm'] (note: typos in the generate arguments will also show up in this list)

@voidism
Copy link
Owner

voidism commented Aug 13, 2024

Hi @naknak-choi

Thanks for the issue! I had fixed this bug and pushed it in the latest commit. Sorry that I forgot to remove the unused model args.
The current version should work. Let me know if there are other issues!

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