fgenie / rims_minimal

Been lazy enough to pull over again to the end!
0 stars 1 forks source link

feat: Add MATH-prealgebra downloading script #4

Closed seanexp closed 5 months ago

seanexp commented 5 months ago

huggingface MATH 의 데이터셋을 가져오고 정답을 parsing 합니다. 정답은 solution\based{...}에서 볼 수 있는데 단순 regex 로 처리하기는 약간 까다로워 extract 함수를 추가했습니다. 단순히 matching 되는 brace 까지만 찾아서 리턴하는 함수입니다.

resolves: #2

seanexp commented 5 months ago

단순 다운로딩 스크립트라 일단 셀프 머지할게요. 코드에 문제 있으면 이슈 오픈 부탁드립니다.