Luodian / Otter

🦦 Otter, a multi-modal model based on OpenFlamingo (open-sourced version of DeepMind's Flamingo), trained on MIMIC-IT and showcasing improved instruction-following and in-context learning ability.
https://otter-ntu.github.io/
MIT License
3.56k stars 241 forks source link

ValueError when running otter_image.py #215

Closed angelala3252 closed 1 year ago

angelala3252 commented 1 year ago

Getting this error after running model.generate in otter_image.py, no matter what my prompts are: File "/usr/local/lib/python3.9/site-packages/transformers/generation/logits_process.py", line 696, in _prepare_bias_variables raise ValueError( ValueError: Setting a bias on sequences that share a common token termination is not yet supported. Please open an issue if you see this error message (after checking that it doesn't already exist).

cliangyu commented 1 year ago

Please specify your transformers version.

angelala3252 commented 1 year ago

Originally I was using version 4.31.0 but I retried with version 4.29.0 and it works. Thank you!