Skip to content

Question about prompt in utils.py #343

@Eman-Abdelrahman

Description

@Eman-Abdelrahman

I wonder why the prompt seems generic in get_parsed_content_icon() , wouldn't that result in potential hallucinations?

prompt = "The image shows"

if not prompt:
if 'florence' in model.config.name_or_path:
prompt = ""
else:
prompt = "The image shows"

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