<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def labels_to_indices(self, labels: Sequence[str]) -> List[int]: """ Converts a sequence of labels into their corresponding indices."""


        return [self.LABEL_TO_INDEX[label] for label in labels]