def preprocess_program(self, program):
    """Switches OOV T5 tokens to in-vocabulary tokens."""
    program_processed = str(program)
    program_processed = program_processed.replace("{", "lb")
    program_processed = program_processed.replace("}", "rb")
    program_processed = program_processed.replace("^", "#")
    return program_processed
Switches OOV T5 tokens to in-vocabulary tokens.
language/compir/dataset_parsers/cfq_parser.py