Skip to content

Transformer version problem with evaluation code #17

Description

@soonchangAI

I install vlm-eval using transformers==4.34.1
Yet I face the following errors.
I tried to use different version of transformers, but it seems there is a conflict between llavarepository and the llava in later versions of Transformers.

    from transformers import PhiForCausalLM
ImportError: cannot import name 'PhiForCausalLM' from 'transformers'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions