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:
parent
87cfccd54e
commit
d261919404
1 changed files with 1 additions and 1 deletions
2
TODO
2
TODO
|
|
@ -277,7 +277,7 @@ Content-Type: application/issue
|
|||
ID: 16
|
||||
Type: bugfix
|
||||
Title: generation operators pass BatchEncoding to generate (transformers 5.x)
|
||||
Status: open
|
||||
Status: in-progress
|
||||
Priority: high
|
||||
Created: 2026-06-18
|
||||
Module: sekft
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue