Skip to content

added quadratic sampling#56

Merged
kingbri1 merged 4 commits into
theroyallab:mainfrom
AAbushady:tabby-quad-sampling
Feb 3, 2024
Merged

added quadratic sampling#56
kingbri1 merged 4 commits into
theroyallab:mainfrom
AAbushady:tabby-quad-sampling

Conversation

@AAbushady
Copy link
Copy Markdown
Contributor

No description provided.

@AAbushady
Copy link
Copy Markdown
Contributor Author

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

@AAbushady
Copy link
Copy Markdown
Contributor Author

How quadratic sampling works can be found here:
oobabooga/textgen#5403

@kalomaze
Copy link
Copy Markdown

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
Copy Markdown

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 <bdashore3@proton.me>
@kingbri1 kingbri1 merged commit d7c1885 into theroyallab:main Feb 3, 2024
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