Is there a version of `prepare_for_model` that works on a `List[List[int]]`?

Is there a version of prepare_for_model that works on a List[List[int]]?

For example, I’ve pre-processed a dataset to build my input_ids and now I want to get the token_type_ids, attention_mask, associated to them given a list of them. What is the recommended approach for doing so?

Thanks - wg

See: Utilities for Tokenizers