Skip to content

malte-soe/AttentionLeak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Using uv

Easiest way to setup the environment is to use uv.

  1. Run uv sync to create the environment and install the project including its dependencies.
  2. Run source .env/bin/activate to activate the environment.

Using pip

  1. Make sure you have python3.12 installed.
  2. Create a virtual environment using python3.12 -m venv .env.
  3. Activate the virtual environment using source .env/bin/activate.
  4. Install the project and its dependencies using pip install ..

Prepare Dataset

  1. Download the dataset SalChartQA.zip from SalChartQA Project Site and extract the zip into data/ directory.
  2. Run python -m app.data data/SalChartQA/ data/filtered_question_type_ans_correct --correct-only to create the filtered dataset.

Train

  1. Run python train.py +experiment=chart_simple to train the model on the attribute chart_simple.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages