Easy-Transformer icon indicating copy to clipboard operation
Easy-Transformer copied to clipboard

[Question] Does TransformerLens support LVLM like Qwen2-VL?

Open Tizzzzy opened this issue 9 months ago • 3 comments

Question

Hi, I was wondering if TransformerLens support loading LVLM like Qwen2.5-VL?

Thank you

Tizzzzy avatar Feb 13 '25 04:02 Tizzzzy

TransformerLens just started officially supporting vision models in the last month. There is a way to basically make it happen without needing to wait for a specific model to be added, but there is a little bit of work that would need to be done on the users part. It's not too bad, since we already support QWen2, so if you are interested in using TransformerLens with Qwen2-VL ASAP, let me know, and we can potentially look at what needs to be done to put it together.

bryce13950 avatar Feb 15 '25 19:02 bryce13950

+1 it would be great if vision models like qwen2 vl can be supported!

fzyzcjy avatar Feb 19 '25 13:02 fzyzcjy

TransformerLens just started officially supporting vision models in the last month. There is a way to basically make it happen without needing to wait for a specific model to be added, but there is a little bit of work that would need to be done on the users part. It's not too bad, since we already support QWen2, so if you are interested in using TransformerLens with Qwen2-VL ASAP, let me know, and we can potentially look at what needs to be done to put it together.

Hi, Thank you for your reply. Is it possible to support Qwen2.5-VL? Let me know if I need to code anything on my end.

Tizzzzy avatar Feb 19 '25 18:02 Tizzzzy

@Tizzzzy @fzyzcjy shameless self-advertisement, but I think you should try out our tool (https://github.com/compling-wat/vlm-lens) if there's still a need!

ExplorerFreda avatar Oct 10 '25 01:10 ExplorerFreda