OFA-Sys / OFA

Official repository of OFA (ICML 2022). Paper: OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework
Apache License 2.0
2.39k stars 248 forks source link

How to generate a paragraph instead of one single sentence through image caption model? #427

Open GUOGUO-lab opened 9 months ago

GUOGUO-lab commented 9 months ago

How to generate a paragraph instead of one single sentence through image caption model? Even I tried to set the max_len, min_len and lenpen(len penalty), the caption model still only output one sentence(long but low quality). image