Official Repo for MONITRS
git clone https://github.com/ShreelekhaR/MONITRS.git
cd MONITRSconda create -n monitrs python=3.9
conda activate monitrs
pip install -r requirements.txt python MONITRS/get_articles.pyCreate gemini api key and set it in the environment variable. https://ai.google.dev/gemini-api/docs/api-key Create geocode api key and set it in the environment variable. https://geocode.maps.co/ Both keys to be set in the get_article_aggregate_locations.py file.
python MONITRS/get_article_aggregate_locations.pypython MONITRS/filter_invalid_images.pypython MONITRS/consolidate_captions.pypython MONITRS_QA/templated_mcq.pypython MONITRS_QA/generated_mcq.pypython MONITRS_QA/generated_q_a.pyMerges all train and test sets into a single train and test set for MONITRS-QA.
Please note that to create subsets of the dataset, for example MONITRS-QA-tiny, there are lines that can be uncommented in the merge_train_test.py file.
python MONITRS_QA/merge_train_test.py