mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
9 lines
260 B
Python
9 lines
260 B
Python
import pandas as pd
|
|
|
|
splits = {
|
|
"train": "main/train-00000-of-00001.parquet",
|
|
"test": "main/test-00000-of-00001.parquet",
|
|
}
|
|
df = pd.read_parquet("hf://datasets/openai/gsm8k/" + splits["train"])
|
|
df.to_csv("local_data.csv", index=False)
|
|
print(df.head())
|