Research project for improving small visual document retrievers through knowledge distillation and reasoning-enhanced retrieval.
BS Thesis — Investigating how to bridge the performance gap between small (256M) and large (2-3B) visual document retrievers.
See docs/publishable_research_directions.md for full details.
colsmol-reasoning/
├── src/ # Core source code
│ ├── models/ # ColSmol & teacher model wrappers
│ ├── data/ # ViDoRe dataset loading
│ ├── distillation/ # Idea 1: MID losses + trainer
│ └── reasoning/ # Idea 2: trace generator + augmented retriever
├── scripts/ # Runnable experiment scripts
├── configs/ # YAML experiment configs
├── evaluation/ # ViDoRe evaluation scripts
├── results/ # Evaluation results & charts
├── notebooks/ # Exploration notebooks
└── docs/ # Research docs
# Clone and setup
git clone https://github.com/rishi-ps/colsmol-reasoning.git
cd colsmol-reasoning
python -m venv venv
source venv/bin/activate
pip install -e .
python scripts/generate_traces.py --config configs/r2r/base.yaml --limit 100
python scripts/train_distillation.py --config configs/distillation/base.yaml
python scripts/train_r2r.py --config configs/r2r/base.yaml --traces data/traces/v1_traces.json
python evaluation/evaluate_vidore.py
python evaluation/evaluate_vidore_v2.py
10 commits
Python
96.4%
Shell
3.6%
Research project for improving small visual document retrievers through knowledge distillation and reasoning-enhanced retrieval.
BS Thesis — Investigating how to bridge the performance gap between small (256M) and large (2-3B) visual document retrievers.
See docs/publishable_research_directions.md for full details.
colsmol-reasoning/
├── src/ # Core source code
│ ├── models/ # ColSmol & teacher model wrappers
│ ├── data/ # ViDoRe dataset loading
│ ├── distillation/ # Idea 1: MID losses + trainer
│ └── reasoning/ # Idea 2: trace generator + augmented retriever
├── scripts/ # Runnable experiment scripts
├── configs/ # YAML experiment configs
├── evaluation/ # ViDoRe evaluation scripts
├── results/ # Evaluation results & charts
├── notebooks/ # Exploration notebooks
└── docs/ # Research docs
# Clone and setup
git clone https://github.com/rishi-ps/colsmol-reasoning.git
cd colsmol-reasoning
python -m venv venv
source venv/bin/activate
pip install -e .
python scripts/generate_traces.py --config configs/r2r/base.yaml --limit 100
python scripts/train_distillation.py --config configs/distillation/base.yaml
python scripts/train_r2r.py --config configs/r2r/base.yaml --traces data/traces/v1_traces.json
python evaluation/evaluate_vidore.py
python evaluation/evaluate_vidore_v2.py
10 commits
Python
96.4%
Shell
3.6%