Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
CultriX
/
eval-tasks
like
0
Dataset card
Files
Files and versions
Community
main
eval-tasks
/
mathqa.py
CultriX
Upload folder using huggingface_hub
6afe180
verified
18 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
112 Bytes
import
re
def
doc_to_text
(
doc
) ->
str
:
problem = doc[
'question'
]
return
f"Problem:
{problem}
\nAnswer:"