Skip to content

logprob_thold value range #289

@tamo

Description

@tamo

AFAIK, avg_logprobs is always less than zero because probability cannot be more than 1.0. logprob_thold can be -0.5, -1.5, or even -2.5, but it cannot be more than 0.

https://github.com/ggml-org/whisper.cpp/blob/aa1bc0d1a6dfd70dbb9f60c11df12441e03a9075/src/whisper.cpp#L5955

default is -1.0 (see the - before the number)

obs_properties_add_float(g, "logprob_thold", MT_("logprob_thold"), 0, 1, 0.05);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions