kohjingyu / fromage

🧀 Code and models for the ICML 2023 paper "Grounding Language Models to Images for Multimodal Inputs and Outputs".
https://jykoh.com/fromage
Apache License 2.0
466 stars 34 forks source link

Add log-likelihood score function to Fromage #14

Closed vishaal27 closed 1 year ago

vishaal27 commented 1 year ago

Add functionality to compute log-likelihood for a given interleaved image-text sequence. Ref issue: #13

kohjingyu commented 1 year ago

LGTM, thanks!