Code Monkey home page Code Monkey logo

fohe's Introduction

On Enriching Image Captions by Fine-Tuning Large Vision-Language Models with Caption Rewrites

image

Illustration of image caption rewriting using ChatGPT.

In Stage 1, the Keyword Extraction Prompt instructs ChatGPT to generate verbs, nouns, and adjectives (highlighted in brown) from the original caption. In Stage 2, the Caption Generation Prompt guides ChatGPT to generate a rewritten caption. By iteratively applying this prompt, multiple rewritten captions can be generated.

python gen_augdata.py

Use different model

You need to first deploy the following models locally.

python {use_llava/owl/minigpt4}.py

Generated example

image

Result

image

fohe's People

Contributors

anonymousanoy avatar

Stargazers

 avatar  avatar Jeff Carpenter avatar Sicong avatar Xiao Feng Zhang avatar Kaicheng Yang avatar Mohammad Reza Taesiri avatar

Watchers

 avatar

Forkers

maehcm

fohe's Issues

Good work! Opportunity for Further Collaborations.

Hi Lei,

Thanks for your great work on mitigating hallucinations in Large Vision Language Models. I recently had the pleasure of reading your paper on Arxiv. Your approach is both innovative and inspiring.

In a similar vein, my colleagues and I have published "Mitigating Object Hallucination in Large Vision Language Models through Visual Contrastive Decoding", focusing on reducing hallucinations in LVLMs without external tools. I believe our research complements your work.

Considering the synergy between our studies, I would appreciate it if you could cite our paper in your work. I am also open to discussing potential collaborations or sharing insights that could benefit both our research endeavors.

Thank you for considering my suggestion. I look forward to the possibility of future interactions.

Warm regards,
Sicong

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.