Add video processing utils to vision_utils#279
Merged
Conversation
This is a cleaned up and merged version of unslothai#240. This adds video processing utilities for VLM finetuning. It's based on qwen-vl-utils repo https://github.com/QwenLM/Qwen2.5-VL/tree/main/qwen-vl-utils Co-authored-by: autinn <au-yeung@uni.minerva.edu> Co-authored-by: Neenu Antony <Neenu.antony@sjsu.edu> Co-authored-by: Suchith Gali <sgali@ucmerced.edu>
|
@mmathew23 Thanks for the video support code. May I know when we can expect video finetuning notebooks for Qwen2.5-VL? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a cleaned up and merged version of
#240.
This adds video processing utilities for VLM finetuning.
It's based on qwen-vl-utils repo https://github.com/QwenLM/Qwen2.5-VL/tree/main/qwen-vl-utils
I tested all the Vision notebooks to confirm everything works. Video Finetuning notebook on the way.
Gemma3: https://colab.research.google.com/drive/1gzVgFvFou6dTE9UvMZR5DEiQTzqc3A4S?usp=sharing
Llama Vision: https://colab.research.google.com/drive/1E2xCsbh7-raFYMtkbFOwgvcfIyn64zLL?usp=sharing
Pixtral: https://colab.research.google.com/drive/1meeeZnE-IlV9IRuEUFqgbUNFpwxtrN5g?usp=sharing
Qwen 2.5VL: https://colab.research.google.com/drive/1RrRUnHBLMPSWfzHoc853iij4O4Yly7fr?usp=sharing
*qwen 2.5vl was tested with transformers 4.56.1