Skip to content

add top-k slider to web ui #2186

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

Closed
wants to merge 2 commits into from
Closed

add top-k slider to web ui #2186

wants to merge 2 commits into from

Conversation

mounta11n
Copy link
Contributor

This pr adds a slider which allows to specify the top-k value. The updateParamsInt function is added to update the top_k value in the params object. The slider is allowing to select a value between 1 and 100 for top_k. I felt like this small improvement was necessary, since there wasn't a sampling option at all.

@mounta11n
Copy link
Contributor Author

added in #2366

@mounta11n mounta11n closed this Aug 14, 2023
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

Successfully merging this pull request may close these issues.

1 participant