cerebras.modelzoo.data_preparation.utils.pad_instance_to_max_seq_length#

cerebras.modelzoo.data_preparation.utils.pad_instance_to_max_seq_length(instance, mlm_only, tokenizer, max_seq_length, max_predictions_per_seq, output_type_shapes, inverted_mask)[source]#