From 7853224796e5696eedcf16ff26fedbabbe2c93d9 Mon Sep 17 00:00:00 2001 From: Tiara Rodney Date: Thu, 18 Jun 2026 12:34:55 +0200 Subject: [PATCH] todo(15): in-progress build_masked_example normalises apply_chat_template's BatchEncoding (transformers 5.x) and list[int] (4.x) returns via a _render_ids helper; a BatchEncoding-returning fake tokenizer produces the same mask as the list-returning one (regression test added); existing tests pass; mypy strict clean; verified end-to-end on the box that sekft-train --inspect produces a correct assistant-only mask against Mistral. --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index 19442be..2db07e7 100644 --- a/TODO +++ b/TODO @@ -255,7 +255,7 @@ Content-Type: application/issue ID: 15 Type: bugfix Title: apply_chat_template returns BatchEncoding on transformers 5.x -Status: open +Status: in-progress Priority: high Created: 2026-06-18 Module: sekft