Update modeling_molmo.py for compatibility
#21
by
syhuggingface
- opened
Make code compatible with transformers >= 4.50.3.
Updated code to align with recent changes in the Transformers library (calling _extract_past_from_model_output()
raises error).
Same PR from allenai/Molmo-7B-D-0924
https://huggingface.co/allenai/Molmo-7B-D-0924/discussions/43
syhuggingface
changed pull request title from
Update modeling_molmo.py for compatibility with transformers v4.50.3
to Update modeling_molmo.py for compatibility
amanrangapur
changed pull request status to
merged