diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-27 00:58:05 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-27 01:03:41 +0200 |
| commit | af55803d0dff9eb692c760c8d486e736c945061d (patch) | |
| tree | 0875a1112bf98304e445e0544c4309670d6f4769 /tests/bert_dump.c | |
| parent | 0f861b7f3098750ddee4f6570f3be228d1da5320 (diff) | |
| download | ffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip | |
chore: clean up comment formatting and wording
Diffstat (limited to 'tests/bert_dump.c')
| -rw-r--r-- | tests/bert_dump.c | 19 |
1 files changed, 12 insertions, 7 deletions
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 - * "<dim> <f> <f> ..." 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 "<dim> <f> <f> ..." 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" |
