A piece is applied with a specific type_id, no matter if it is a SpecialToken or a Sequence.
But when the piece is a sequence with some overflows, it only applies the specified type_id to the main encoding.
Is that legit?
|
encoding.set_type_ids(vec![*type_id; encoding.len()]); |