def remove_special_tokens(input_seq, pred, true):
    new_seq = []
    new_pred = []
    new_true = []
    new_seq = input_seq[1:(- 1)]
    new_true = true[1:(- 1)]
    new_pred = pred[1:]
    while (len(new_pred) < len(new_seq)):
        new_pred.append(PAD_TOKEN)
    while (len(new_pred) > len(new_seq)):
        new_pred = new_pred[:(- 1)]
    return (new_seq, new_pred, new_true)
def remove_special_tokens(input_seq, pred, true):
    new_seq = []
    new_pred = []
    new_true = []
    new_seq = input_seq[1:(- 1)]
    new_true = true[1:(- 1)]
    new_pred = pred[1:]
    while (len(new_pred) < len(new_seq)):
        new_pred.append(PAD_TOKEN)
    while (len(new_pred) > len(new_seq)):
        new_pred = new_pred[:(- 1)]
    return (new_seq, new_pred, new_true)