new datasets

This commit is contained in:
Александр 2026-03-27 17:03:20 +03:00
parent 411ccf9bcd
commit 2b5d923f63
566 changed files with 142473 additions and 0 deletions

15
Datasets/GSM8K/main.py Normal file
View file

@ -0,0 +1,15 @@
import json
from datasets import load_dataset
tests = []
ds = load_dataset("openai/gsm8k", "main")
with open("train.json", "w") as f:
f.write("[")
for test in ds["test"]:
json.dump(test, f, indent=2)
f.write(",\n")
f.write("]")
###Как агент умеет размышлять