{ "cells": [ { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "from datasets import load_dataset" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "b5d51386a14e407ca2bdd18926ef997c", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Generating 2023_math split: 0 examples [00:00, ? examples/s]" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "a3015bdd603e44c789b8347863bb94c8", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Generating 2024_math split: 0 examples [00:00, ? examples/s]" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "dataset=load_dataset(\"json\",data_files={\"2023_math\":\"./data/json/2023/math.json\",\n", " \"2024_math\":\"./data/json/2024/math.json\"})" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "221c4bba0e78418b9686c1ba0a0fa668", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Uploading the dataset shards: 0%| | 0/1 [00:00