Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Add min_p #680

Description

@carterprince

Description of the feature request:

Add the min_p sampler as an option in generation_config. See https://arxiv.org/abs/2407.01082

What problem are you trying to solve with this feature?

This sampler effectively solves the problem of incoherent outputs at high temperatures, allowing for better model creativity and stability with temperatures well above 1.0.

Image

Any other information you'd like to share?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component:apiIssues related to the API, not the SDK.status:triagedIssue/PR triaged to the corresponding sub-teamtype:feature requestNew feature request/enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions