cerebras.modelzoo.data_preparation.data_preprocessing.tokenflow.utils#

Functions

construct_attention_mask

Constructs attention masks based on the provided input_key in the datadict.