From b1dbad3da6dc02a14e745c4dd017e851bf001864 Mon Sep 17 00:00:00 2001 From: franrole <francois.role@finances.gouv.fr> Date: Thu, 1 May 2025 11:38:54 +0200 Subject: [PATCH 1/3] Test external connection --- test_connection.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test_connection.txt diff --git a/test_connection.txt b/test_connection.txt new file mode 100644 index 0000000..9daeafb --- /dev/null +++ b/test_connection.txt @@ -0,0 +1 @@ +test -- GitLab From 24a3f3e4d211ede512df0b81dbdf2b97aa6beba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Role?= <francois.role@u-paris.fr> Date: Wed, 7 May 2025 16:21:29 +0200 Subject: [PATCH 2/3] Adding a requirements.txt file + the arXiv bibliographic entry --- README.md | 11 ++++++----- compute_all_measures.ipynb | 13 ++++++++----- requirements.txt | 6 ++++++ 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index c0a54d5..e53bdf5 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,15 @@ Code for the paper "Fill the Gap: Quantifying and Reducing the Modality Gap in I If you like our paper, please cite it: ```bibtex -@article{ref, +@misc{role2025gapquantifying, title={Fill the Gap: Quantifying and Reducing the Modality Gap in Image-Text Representation Learning}, - author={François Role and Victor Amblard and Sébastien Meyer}, + author={François Role and Sébastien Meyer and Victor Amblard}, year={2025}, - journal={arXiv preprint arXiv:XXXXXX}, + eprint={2505.03703}, archivePrefix={arXiv}, - primaryClass={cs.LG}, - url={https://arxiv.org/abs/XXXXXX}, + primaryClass={cs.CV}, + url={https://arxiv.org/abs/2505.03703}, +} ``` Also, please note that the creation of the datasets and embeddings has been facilitated through the use of the [Benchmark modèles multimodaux](https://code.peren.gouv.fr/open-source/benchmark-modeles-multimodaux) open source package). diff --git a/compute_all_measures.ipynb b/compute_all_measures.ipynb index b43e7f8..ff5d7be 100644 --- a/compute_all_measures.ipynb +++ b/compute_all_measures.ipynb @@ -26,14 +26,17 @@ "source": [ "## Code for reproducing the results presented in the Experiments section of the paper:\n", "\n", - "@article{ref,\n", + "```bibtex\n", + "@misc{role2025gapquantifying,\n", " title={Fill the Gap: Quantifying and Reducing the Modality Gap in Image-Text Representation Learning}, \n", - " author={François Role and Victor Amblard and Sébastien Meyer},\n", + " author={François Role and Sébastien Meyer and Victor Amblard},\n", " year={2025},\n", - " journal={arXiv preprint arXiv:XXXXXX},\n", + " eprint={2505.03703},\n", " archivePrefix={arXiv},\n", - " primaryClass={cs.LG},\n", - " url={https://arxiv.org/abs/XXXXXX}," + " primaryClass={cs.CV},\n", + " url={https://arxiv.org/abs/2505.03703}, \n", + "}\n", + "```" ] }, { diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f81cc87 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +matplotlib +numpy +pandas +pillow +scikit-learn +scipy -- GitLab From 9cab5cc0d86f79460e674c54f188df42e1d486f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Role?= <francois.role@u-paris.fr> Date: Wed, 7 May 2025 16:29:16 +0200 Subject: [PATCH 3/3] Deleting test_connection.txt --- test_connection.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 test_connection.txt diff --git a/test_connection.txt b/test_connection.txt deleted file mode 100644 index 9daeafb..0000000 --- a/test_connection.txt +++ /dev/null @@ -1 +0,0 @@ -test -- GitLab