-
Notifications
You must be signed in to change notification settings - Fork 348
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
max_tokens
missing in Single
object
#1096
Comments
|
Yes, in a file called
Then in another file called
Then, when I run
|
Thank you, will take a look |
Hello there, I got exactly the same error when running a custom function:
seems to be happening when loading and running the probe Keep up the great work ! |
Hello, when running garak with a custom function I get this error:
'Single' object has no attribute 'max_tokens'
I fixed it locally by setting in the class
Single
the parameter max_tokens to e.g., 150 here: https://github.com/NVIDIA/garak/blob/main/garak/generators/function.py#L62. It'd be great if you could fix that in the repository.Thanks and congratulations for your work!
The text was updated successfully, but these errors were encountered: