Apply PR #319 fixes to Qwen 2.5VL position id
Ports PR #319 changes to Qwen 2.5VL implementation
Thank you very much @ddupont808!
Small nit: As suggested in @prncvrm's PR please move the position ID calculations inside the language.py it can be exactly in the LanguageModel() otherwise it won't work well for multi-turn.
Thank you @ddupont808 , i'll be raising the fix by tomorrow, was away for a couple of days
@ddupont808 i've raised the fix, please pull and update
Please rebase this branch and match @prncvrm's PR (now on main), I made some small changes and fixes.
After that we can merge :)
Merged all the fixes here #378