modelclinic-experiment-001 / code /src /fetch_protocol_source.py
PratikBuilds's picture
Publish initial ModelClinic Experiment 001 archive
87cc7f2 verified
Raw History Blame Contribute Delete
398 Bytes
import requests,pathlib
p=pathlib.Path('research_source');p.mkdir(exist_ok=True)
base='https://raw.githubusercontent.com/RikiyaT/lm_understand-logs/4d09ba6d6a7e891dd8063974dfe81b3d78e3494f/exp8_math/code/'
for name in ['profiles.py','evaluate.py','mathqa.py']:
r=requests.get(base+name,timeout=30);print(name,r.status_code,len(r.content));r.raise_for_status();(p/name).write_bytes(r.content)