Skip to content

Adding Locally Typical Sampling (i.e. typical_p in transformers and TGI) #1444

@seongminp

Description

@seongminp

Hello. First of all, thank you for your wonderful work.

I was curious if adding locally typical sampling was on the roadmap.
If not, would you be interested in a PR adding the functionality?
I think adding typical_p will be trivial, but wanted to ask first before working on it.

Personally, I'm having great success with typical_p in transformers and text-generation-inference.
I want to switch to vLLM but I can't go back to top_p.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions