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/wordpiece_dump.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'tests/wordpiece_dump.c') diff --git a/tests/wordpiece_dump.c b/tests/wordpiece_dump.c index 5dfb563..952e9e2 100644 --- a/tests/wordpiece_dump.c +++ b/tests/wordpiece_dump.c @@ -1,8 +1,13 @@ -/* Parity driver for the WordPiece tokenizer. Loads a BERT vocab dir, encodes - * each argument through both encode entry points (and cross-checks they agree), - * then prints " ..." per line. check_wordpiece_parity.py builds - * this with `make parity-wordpiece-driver` and compares the ids against the - * stored reference vectors in tests/test-vectors/wordpiece/. Links libtok. */ +/* WordPiece tokenizer parity driver. + * Loads a BERT vocab dir, encodes each argument through both encode entry + * points, and checks that they agree. + * + * Prints one line per argument: " ...". + * + * check_wordpiece_parity.py builds this with `make parity-wordpiece-driver` and + * compares ids against reference vectors in tests/test-vectors/wordpiece/. + */ + #include "wordpiece.h" #include -- cgit v1.3.1