Skip to content

TREE985/Treble-Counterfactual-VLMs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Treble-Counterfactual-VLMs

The repository follows the directory structure below:

Treble-Counterfactual-VLMs/
├── experiments/
├── lavis/
├── llava/
├── POPE/
└── README.md

Setup Instructions

Before running the project, please download the required dependencies:

  • LAVIS: Clone from LAVIS and place it in the lavis/ directory.
  • LLaVA: Clone from LLaVA and place it in the llava/ directory.
  • POPE: Clone from POPE and place it in the POPE/ directory.
  • Download the COCO train2014 and val2014 datasets, and place them in the following directories:
experiments/data/
            ├── train2014/
            └── val2014/
  • experiments/test/ contains the test files for LLaVA and InstructBlip.
  • experiments/eval/ contains the GPT evaluation code for assessing the MMHal-Bench performance.
  • experiments/Treble_Counterfactual_utils/ contains the utils for implementing treble counterfactual test-time intervention

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages