facebookresearch / LaViLa

Code release for "Learning Video Representations from Large Language Models"
MIT License
491 stars 46 forks source link

Updated `transformers` version and updated import path #14

Closed gzhihongwei closed 1 year ago

gzhihongwei commented 1 year ago

The transformers version listed in requirements.txt is a bit too old to load newer models from HuggingFace, which this PR fixes. From transformers>=4.25, transformer.generation_logits_process was moved to transformer.generation.logits_process.

zhaoyue-zephyrus commented 1 year ago

Hi @gzhihongwei,

Thanks for spotting this! I'm merging it right away.