todo(16): in-progress

A shared _input_ids helper extracts the id sequence from a BatchEncoding (5.x) or bare list/tensor (4.x); _render_ids uses it; a new render_prompt_ids(tokenizer, messages, device) builds the generation prompt and extracts input_ids; eval.py and resident.py operators use render_prompt_ids instead of passing a BatchEncoding to generate; unit test covers _input_ids for both shapes; existing tests pass; mypy strict clean; holdout eval runs on the box without the AttributeError.
This commit is contained in:
Tiara Rodney 2026-06-18 16:46:57 +02:00
parent 87cfccd54e
commit d261919404
Signed by: tiara
GPG key ID: 5CD8EC1D46106723

2
TODO
View file

@ -277,7 +277,7 @@ Content-Type: application/issue
ID: 16 ID: 16
Type: bugfix Type: bugfix
Title: generation operators pass BatchEncoding to generate (transformers 5.x) Title: generation operators pass BatchEncoding to generate (transformers 5.x)
Status: open Status: in-progress
Priority: high Priority: high
Created: 2026-06-18 Created: 2026-06-18
Module: sekft Module: sekft