aboutsummaryrefslogtreecommitdiff
path: root/tests/check_late_interaction.py
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-27 00:58:05 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-27 01:03:41 +0200
commitaf55803d0dff9eb692c760c8d486e736c945061d (patch)
tree0875a1112bf98304e445e0544c4309670d6f4769 /tests/check_late_interaction.py
parent0f861b7f3098750ddee4f6570f3be228d1da5320 (diff)
downloadffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz
ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip
chore: clean up comment formatting and wording
Diffstat (limited to 'tests/check_late_interaction.py')
-rwxr-xr-xtests/check_late_interaction.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/check_late_interaction.py b/tests/check_late_interaction.py
index e9dedb4..5bfb02f 100755
--- a/tests/check_late_interaction.py
+++ b/tests/check_late_interaction.py
@@ -1,12 +1,17 @@
#!/usr/bin/env python3
"""Smoke-check late-interaction token vectors and MaxSim ranking.
-The C side is tests/late_check.c, built by the Makefile target
-`late-check-driver`. Plain mode runs the driver against a real late model and
-checks the expected ranking; it needs only python3 and a late model directory
-(e.g. pplx-embed-v1-late-0.6b). With --compare-pylate it also compares the C
-token vectors against PyLate, which needs the pylate package:
+The C test is tests/late_check.c, built by the Makefile target
+`late-check-driver`.
+Plain mode runs the driver against a real late model and checks the expected
+ranking. It requires only python3 and a late model directory, such as
+pplx-embed-v1-late-0.6b.
+
+With --compare-pylate, it also compares C token vectors against PyLate. This
+requires the pylate package.
+
+Usage:
tests/check_late_interaction.py --model-dir DIR
uv run --python 3.12 --with pylate tests/check_late_interaction.py \
--model-dir DIR --compare-pylate