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

issue: how to set max_new_tokens ? #5

Open
Dada-Cloudzxy opened this issue Apr 30, 2024 · 3 comments
Open

issue: how to set max_new_tokens ? #5

Dada-Cloudzxy opened this issue Apr 30, 2024 · 3 comments

Comments

@Dada-Cloudzxy
Copy link

how to set max_new_tokens? I just could find 'maxlen' var in 'main.py', and it would cost too muck time for testing.

@Dada-Cloudzxy
Copy link
Author

When I set maxlen to 512, my tests on the HH dataset took about 30 times longer than the baseline method.

@Dada-Cloudzxy
Copy link
Author

That doesn't seem to match what the paper says

@Dada-Cloudzxy
Copy link
Author

@hongyanz @Liyuhui-12

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