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

added quadratic sampling #56

Merged
merged 4 commits into from
Feb 3, 2024
Merged

Conversation

AAbushady
Copy link
Contributor

No description provided.

@AAbushady
Copy link
Contributor Author

Leaving in draft until this PR
turboderp-org/exllamav2#317

@AAbushady
Copy link
Contributor Author

How quadratic sampling works can be found here:
oobabooga/text-generation-webui#5403

@kalomaze
Copy link

kalomaze commented Feb 2, 2024

2024-01-30.09-10-03.mp4

As you can see here this allows you to scale determinism vs creativity in a way that's not as linear as temperature, as even higher values (more deterministic) will not necessarily focus on one choice if there's one close to it.

@frammiie
Copy link

frammiie commented Feb 2, 2024

Currently not able to generate samples, but based on experience would highly prefer this to be implemented.

@AAbushady AAbushady marked this pull request as ready for review February 2, 2024 16:22
Model file needed to unwrap to 0.0 and an example isn't needed in
the pydantic field for autodocs since the default is 0.

Signed-off-by: kingbri <[email protected]>
@kingbri1 kingbri1 merged commit d7c1885 into theroyallab:main Feb 3, 2024
1 check passed
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.

4 participants