From af55803d0dff9eb692c760c8d486e736c945061d Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Sat, 27 Jun 2026 00:58:05 +0200 Subject: chore: clean up comment formatting and wording --- tests/bert_dump.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'tests/bert_dump.c') diff --git a/tests/bert_dump.c b/tests/bert_dump.c index 8f820ee..5e27ce6 100644 --- a/tests/bert_dump.c +++ b/tests/bert_dump.c @@ -1,10 +1,15 @@ -/* Parity driver for the BERT-family forward. Loads a sentence-transformers - * checkpoint, wraps each argument with [CLS]/[SEP], runs the BERT forward - * (mean pool + L2 normalize inside ffwd_model_encode_into), and prints - * " ..." per line. check_bert_parity.py builds this with - * `make parity-bert-driver` and compares against SentenceTransformer.encode. - * This one needs the real model weights, so it stays a manual --model-dir - * check rather than a hermetic stored-vector test. */ +/* Parity driver for the BERT-family forward. + * + * Loads a sentence-transformers checkpoint, wraps each argument with [CLS]/[SEP], + * runs the BERT forward (mean pool + L2 normalize inside ffwd_model_encode_into), + * and prints " ..." per line. + * + * check_bert_parity.py builds this with `make parity-bert-driver` and compares against + * SentenceTransformer.encode. + * + * Needs the real model weights to run. + */ + #include "internal.h" #include "wordpiece.h" -- cgit v1.3.1