Skip to content

No implement of generate() when using models from hugging face. #130

@342215448

Description

@342215448

What an amazing work, however, when I tried to inference kosmos model from hugging face, there was an error:
NotImplementedError: A model class needs to define a prepare_inputs_for_generation method in order to use .generate().

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