def create_mask(inputs, pad_token):
    """
    Create a binary mask to indicate whether a token is pad or not

    :param inputs: (seq_len, batch_size)
    :param pad_token: token for padding
    :return: mask: (seq_len, batch_size)
    """
    return inputs != pad_token