Skip to content

How to set a proper threshold? #1

Open

Description

@ayiyayi

Hello!

Thank you for your great work and for sharing the code!

I would like to ask: how should I set a proper threshold for generating captioning data? Are there recommended values or best practices for choosing this threshold?

Thank you for your help!

Activity

  1. Cooperx521 commented on Jun 29, 2025

    @Cooperx521
    Owner

    Threshold = 0 is good for generating caption. You can set the threshold to -1 if you want to apply stricter filtering for hallucinations.

    Best,
    Long

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

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