File size: 112 Bytes
6afe180
 
 
 
 
1
2
3
4
5
6

import re
def doc_to_text(doc) -> str:
    problem = doc['question']
    return f"Problem: {problem}\nAnswer:"