open-compass / open-compass/VLMEvalKit

version of transfomers

Open
#936 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.4k
Forks
768
Avg merge
1d 10h
Merged PRs (30d)
17

Description

which version of transformers should i apply when employing qwen2vl_series and mplug_owl3 respectively.
i encounter the following problems:
for qwen2vl:

ImportError: cannot import name 'Qwen2VLForConditionalGeneration' from 'transformers'
for mplug_owl3:
File "/data1/VLMEvalKit/vlmeval/vlm/mplug_owl3.py", line 146, in __init__ self.tokenizer = AutoTokenizer.from_pretrained( File "/usr/local/lib/python3.10/dist-packages/transformers/models/auto/tokenization_auto.py", line 733, in from_pretrained raise ValueError( ValueError: Tokenizer class Qwen2Tokenizer does not exist or is not currently imported.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vlmeval/vlm/mplug_owl3.py at line 146 and compare the installed Transformers version with the versions required by the Qwen2VL and mplug_owl3 model implementations. Reproduce both import and tokenizer errors, then confirm compatible version guidance for each model.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.