diff --git "a/pre_tokenized/pre-tokenize.ipynb" "b/pre_tokenized/pre-tokenize.ipynb" --- "a/pre_tokenized/pre-tokenize.ipynb" +++ "b/pre_tokenized/pre-tokenize.ipynb" @@ -1 +1 @@ -{"cells":[{"cell_type":"code","execution_count":1,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":1672,"status":"ok","timestamp":1731425479567,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"hDoDQOpWUu_8","outputId":"9d21af18-0220-46a4-bd2c-7b1de11ec196"},"outputs":[{"name":"stdout","output_type":"stream","text":["/content/drive/MyDrive/Research/datasets/hf_datasets\n"]}],"source":["%cd /content/drive/MyDrive/Research/datasets/hf_datasets/"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":17273,"status":"ok","timestamp":1731373007922,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"vfKgZNKh0bcw","outputId":"4f4e86be-f12a-476c-af3d-f0619689ea14"},"outputs":[{"name":"stdout","output_type":"stream","text":["\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/480.6 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m \u001b[32m471.0/480.6 kB\u001b[0m \u001b[31m16.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m480.6/480.6 kB\u001b[0m \u001b[31m7.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/116.3 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m116.3/116.3 kB\u001b[0m \u001b[31m3.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m179.3/179.3 kB\u001b[0m \u001b[31m7.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m3.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.1/194.1 kB\u001b[0m \u001b[31m6.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n","gcsfs 2024.10.0 requires fsspec==2024.10.0, but you have fsspec 2024.9.0 which is incompatible.\u001b[0m\u001b[31m\n","\u001b[0m"]}],"source":["!pip install datasets --quiet"]},{"cell_type":"markdown","metadata":{"id":"kEPBGuHzEkJV"},"source":["## Load dataset"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":177},"executionInfo":{"elapsed":8871,"status":"ok","timestamp":1731381633063,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"X7vSShNe00DI","outputId":"a5298688-93c8-4dbf-ce15-b0fa5ae98fbc"},"outputs":[{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"06b9765683c642f68eeb26b1e060af9c","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/184 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"e132fd5294594e29bc37a07e04520057","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/46 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"ed6a24157b66400dbbef71a244e92647","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/184 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"290332c0fde94f8da352429eebbf863b","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/46 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"3977e625a173494c8fd5692f999a6008","version_major":2,"version_minor":0},"text/plain":["Loading dataset shards: 0%| | 0/19 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"}],"source":["# it loads entire dataset first\n","from datasets import load_dataset\n","from google.colab import userdata\n","token=userdata.get('HUGGING_FACE_BEARER')\n","\n","# Load nepberta configuration\n","nepberta_data = load_dataset(\"Aananda-giri/nepali_llm_datasets\", name=\"nepberta\", token=token)\n"]},{"cell_type":"markdown","metadata":{"id":"Jgu2vyEmEh7J"},"source":["## Tokenize"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":2070680,"status":"ok","timestamp":1731394491039,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"_qvWzkow3MuH","outputId":"8e6b9932-9b71-4ef0-c890-eb86657b10b2"},"outputs":[{"name":"stdout","output_type":"stream","text":["185... tokenized... df created:...saved!\n","186... tokenized... df created:...saved!\n","187... tokenized... df created:...saved!\n","188... tokenized... df created:...saved!\n","189... tokenized... df created:...saved!\n","190... tokenized... df created:...saved!\n","191... tokenized... df created:...saved!\n","192... tokenized... df created:...saved!\n","193... tokenized... df created:...saved!\n","194... tokenized... df created:...saved!\n","195... tokenized... df created:...saved!\n","196... tokenized... df created:...saved!\n","197... tokenized... df created:...saved!\n","198... tokenized... df created:...saved!\n","199... tokenized... df created:...saved!\n","200... tokenized... df created:...saved!\n","201... tokenized... df created:...saved!\n","202... tokenized... df created:...saved!\n","203... tokenized... df created:...saved!\n","204... tokenized... df created:...saved!\n","205... tokenized... df created:...saved!\n","206... tokenized... df created:...saved!\n","207... tokenized... df created:...saved!\n","208... tokenized... df created:...saved!\n","209... tokenized... df created:...saved!\n","210... tokenized... df created:...saved!\n","211... tokenized... df created:...saved!\n","212... tokenized... df created:...saved!\n","213... tokenized... df created:...saved!\n","214... tokenized... df created:...saved!\n","215... tokenized... df created:...saved!\n","216... tokenized... df created:...saved!\n","217... tokenized... df created:...saved!\n","218... tokenized... df created:...saved!\n","219... tokenized... df created:...saved!\n","220... tokenized... df created:...saved!\n","221... tokenized... df created:...saved!\n","222... tokenized... df created:...saved!\n","223... tokenized... df created:...saved!\n","224... tokenized... df created:...saved!\n","225... tokenized... df created:...saved!\n","226... tokenized... df created:...saved!\n","227... tokenized... df created:...saved!\n","228... tokenized... df created:...saved!\n","229... tokenized... df created:...saved!\n","230... tokenized... df created:...saved!\n"]}],"source":["import pandas as pd\n","import pyarrow as pa\n","from transformers import PreTrainedTokenizerFast\n","\n","# Load the tokenizer\n","tokenizer = PreTrainedTokenizerFast.from_pretrained(\"Aananda-giri/NepaliBPE\")\n","\n","train_data = nepberta_data['train']\n","test_data = nepberta_data['test']\n","\n","# Initialize lists to collect input_ids and target_ids\n","input_ids_list = []\n","target_ids_list = []\n","\n","import pyarrow.parquet as pq\n","import pandas as pd\n","\n","\n","import pyarrow.parquet as pq\n","import pandas as pd\n","import pyarrow as pa\n","\n","def prepare_dataset(txt, tokenizer, max_length, stride, index):\n"," input_ids = []\n"," target_ids = []\n"," save_file = f\"pre_tokenized/nepberta_data_{index}.parquet\"\n"," token_ids = tokenizer.encode(txt)\n","\n"," for i in range(0, len(token_ids) - max_length, stride):\n"," input_chunk = token_ids[i:i + max_length]\n"," target_chunk = token_ids[i + 1: i + max_length + 1]\n","\n"," input_ids.append(input_chunk)\n"," target_ids.append(target_chunk)\n","\n"," print('... tokenized', end='')\n"," df = pd.DataFrame({\n"," \"input_ids\": input_ids,\n"," \"target_ids\": target_ids\n"," })\n"," print('... df created', end='')\n","\n"," # Convert DataFrame to pyarrow Table\n"," table = pa.Table.from_pandas(df)\n","\n"," # # Try to read existing Parquet file\n"," # try:\n"," # existing_table = pq.read_table(save_file)\n"," # # Concatenate existing table with new table\n"," # table = pa.concat_tables([existing_table, table])\n"," # except FileNotFoundError:\n"," # print('file not found') # File does not exist, so just write the new table\n","\n"," # Write table to Parquet file\n"," pq.write_table(table, save_file, compression='snappy')\n"," print(':...saved!')\n","\n","# Writing each batch to the Parquet file\n","# i=0\n","# for data in train_data:\n","# # combine two chunks\n","# i+=1;print(i, end='')\n","# prepare_dataset(data['text'], tokenizer, max_length=1024, stride=1024, index=i)\n","i=len(train_data)\n","for data in test_data:\n"," # combine two chunks\n"," i+=1;print(i, end='')\n"," prepare_dataset(data['text'], tokenizer, max_length=1024, stride=1024, index=i)"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":396,"status":"ok","timestamp":1731395569536,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"xJVZWDjXB2sF","outputId":"d9dbd062-b168-45ff-c969-9b0c120ab562"},"outputs":[{"data":{"text/plain":["230"]},"execution_count":10,"metadata":{},"output_type":"execute_result"}],"source":["len(train_data) + len(test_data)"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"WMsVPT7uQECp","outputId":"e06b6eed-dd01-413b-bccc-fed9856ddc09"},"outputs":[{"name":"stdout","output_type":"stream","text":["1\n","1\n"]}],"source":["# Merge the .parquet files generated\n","import pyarrow.parquet as pq\n","import glob\n","import pyarrow as pa\n","\n","# Specify the input folder and output file\n","input_folder = 'pre_tokenized'\n","output_file = 'nepberta.parquet'\n","\n","# Get a list of all Parquet files in the input folder\n","parquet_files = glob.glob(f'{input_folder}/*.parquet')\n","print(len(parquet_files))\n","\n","# Write each file to the output file one at a time\n","writer = None\n","i=0\n","for file in parquet_files:\n"," i+=1;print(i)\n"," table = pq.read_table(file)\n"," if writer is None:\n"," # Initialize the writer with the schema of the first file\n"," writer = pq.ParquetWriter(output_file, table.schema)\n"," writer.write_table(table)\n","\n","# Close the writer\n","if writer:\n"," writer.close()\n"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"cL6mGBtuXrY4"},"outputs":[],"source":["# Delete the original files (after merging)\n","import os\n","for file in parquet_files:\n"," try:\n"," os.remove(file)\n"," print(f\"Deleted file: {file}\")\n"," except OSError as e:\n"," print(f\"Error deleting file: {file} - {e.strerror}\")"]},{"cell_type":"markdown","metadata":{"id":"8IIceh5Xju38"},"source":["## load dataset"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":430,"status":"ok","timestamp":1731401019250,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"KjoHP0J-isVA","outputId":"c0a215ed-e592-4e93-fed7-60af75afc866"},"outputs":[{"name":"stdout","output_type":"stream","text":["nepberta.parquet pre-tokenize.ipynb\n"]}],"source":["!ls pre_tokenized"]},{"cell_type":"markdown","metadata":{"id":"W_iPD0fSJWia"},"source":["### problem\n","this code works but uploading same file to huggingface and loading using below code is giving error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 7: invalid continuation byte\n","\n","```\n","%cd /content/drive/MyDrive/Research/datasets/hf_datasets/\n","!pip install datasets --quiet\n","\n","from datasets import load_dataset\n","ds = load_dataset('parquet', data_files = 'nepberta.parquet')\n","```\n","\n","### Solution Attempt1: Save this dataset to huggingface and try loading that instead"]},{"cell_type":"code","execution_count":19,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":99},"executionInfo":{"elapsed":142415,"status":"ok","timestamp":1731427163424,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"KijVIkUcBVmv","outputId":"4713fa17-e073-40a3-b00e-01e89bb1208d"},"outputs":[{"name":"stdout","output_type":"stream","text":["/content/drive/MyDrive/Research/datasets/hf_datasets\n"]},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"df5057c12fc8437d9f69083b29523ff8","version_major":2,"version_minor":0},"text/plain":["Generating train split: 0 examples [00:00, ? examples/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"88b35ca71ebe4c519a9309737b621b1b","version_major":2,"version_minor":0},"text/plain":["Loading dataset shards: 0%| | 0/26 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"}],"source":["# ```\n","%cd /content/drive/MyDrive/Research/datasets/hf_datasets/\n","!pip install datasets --quiet\n","\n","from datasets import load_dataset\n","ds = load_dataset('parquet', data_files = 'nepberta.parquet')\n","\n","# above code works but uploading same file to huggingface and loading using below code is giving error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 7: invalid continuation byte\n","# Save this dataset to huggingface and try loading that instead"]},{"cell_type":"code","execution_count":20,"metadata":{"executionInfo":{"elapsed":764,"status":"ok","timestamp":1731427164183,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"s418_EbJAlu8"},"outputs":[],"source":["# Split the dataset into 90% train and 1q0% test\n","split_data = ds['train'].train_test_split(test_size=0.1, seed=42)\n","\n","from datasets import DatasetDict\n","\n","# Organize the splits into a DatasetDict\n","dataset_dict = DatasetDict({\n"," 'train': split_data['train'],\n"," 'test': split_data['test']\n","})\n","\n","# from google.colab import userdata\n","\n","# # Push the dataset to Hugging Face\n","# dataset_dict.push_to_hub(\"aananda-giri/pre_tokenized\", token=userdata.get('HUGGING_FACE_BEARER'))"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"background_save":true,"base_uri":"https://localhost:8080/","height":81},"id":"Sw5G5zJCFA3B"},"outputs":[{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"bed92d5aa2664430a05d6a275918f30f","version_major":2,"version_minor":0},"text/plain":["Creating parquet from Arrow format: 0%| | 0/701 [00:00\u003c?, ?ba/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"9966563a362d40dd9893f96013229c94","version_major":2,"version_minor":0},"text/plain":["Creating parquet from Arrow format: 0%| | 0/78 [00:00\u003c?, ?ba/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"text/plain":["1276248336"]},"execution_count":21,"metadata":{},"output_type":"execute_result"}],"source":["import os\n","\n","# Create the local folder structure\n","os.makedirs(\"pre_tokenized\", exist_ok=True)\n","\n","# Save each split to the pre_tokenized folder as Parquet files\n","dataset_dict['train'].to_parquet(\"pre_tokenized/nepberta_train.parquet\")\n","dataset_dict['test'].to_parquet(\"pre_tokenized/nepberta_test.parquet\")"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"skabaYGtJF-D"},"outputs":[],"source":["!mv pre_tokenized/train.parquet pre_tokenized/nepberta_train.parquet\n","!mv pre_tokenized/test.parquet pre_tokenized/nepberta_test.parquet"]},{"cell_type":"markdown","metadata":{"id":"3hvwCDeE5TpE"},"source":["## upload to huggingface"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"3UzfiGemUohk"},"outputs":[],"source":["from huggingface_hub import HfApi\n","api = HfApi()\n","\n","from google.colab import userdata\n","\n","\n","# Upload all the content from the local folder to your remote Space.\n","# By default, files are uploaded at the root of the repo\n","api.upload_folder(\n"," folder_path=\"./pre_tokenized\",\n"," path_in_repo=\"pre_tokenized\", # Upload to a specific folder\n"," repo_id=\"Aananda-giri/nepali_llm_datasets\",\n"," repo_type=\"dataset\",\n"," token=userdata.get('HF_TOKEN')\n",")"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"YM15VYU3J2d7"},"outputs":[],"source":["# load this uploaded data\n","from datasets import load_dataset\n","\n","# Load the dataset from the subfolder on Hugging Face\n","dataset = load_dataset(\"aananda-giri/nepali_llm_datasets\", data_files={\n"," \"train\": \"pre_tokenized/train.parquet\",\n"," \"test\": \"pre_tokenized/test.parquet\"\n","})\n"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":8291,"status":"ok","timestamp":1731397824740,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"_7fbxTF4WRcF","outputId":"58ea1ad0-870a-44e6-eed3-e3e56f1ada1b"},"outputs":[{"name":"stdout","output_type":"stream","text":["\n"," _| _| _| _| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _|_|_|_| _|_| _|_|_| _|_|_|_|\n"," _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _|\n"," _|_|_|_| _| _| _| _|_| _| _|_| _| _| _| _| _| _|_| _|_|_| _|_|_|_| _| _|_|_|\n"," _| _| _| _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _|\n"," _| _| _|_| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _| _| _| _|_|_| _|_|_|_|\n","\n"," A token is already saved on your machine. Run `huggingface-cli whoami` to get more information or `huggingface-cli logout` if you want to log out.\n"," Setting a new token will erase the existing one.\n"," To login, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .\n","Enter your token (input will not be visible): \n","Add token as git credential? (Y/n) \n","Token is valid (permission: write).\n","Your token has been saved in your configured git credential helpers (store).\n","Your token has been saved to /root/.cache/huggingface/token\n","Login successful\n"]}],"source":["!huggingface-cli login"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":1701,"status":"ok","timestamp":1731398017966,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"HKIpjHBlWOrV","outputId":"71d143ab-ec3c-4ded-8c40-d3d29029615a"},"outputs":[{"name":"stdout","output_type":"stream","text":["Files correctly deleted from repo. Commit: https://huggingface.co/datasets/Aananda-giri/nepali_llm_datasets/commit/bf1fa655a0ad1b390e24040a6a0c3e243a0759df.\n"]}],"source":["# Delete files uploaded at ~/ location in huggingface\n","# !huggingface-cli repo-files Aananda-giri/nepali_llm_datasets delete pre-tokenize.ipynb --repo-type dataset\n","# !huggingface-cli repo-files Aananda-giri/nepali_llm_datasets delete pre_tokenized/nepberta.parquet --repo-type dataset"]},{"cell_type":"markdown","metadata":{"id":"0zV7WbWKSwk9"},"source":["## update README.md"]},{"cell_type":"markdown","metadata":{"id":"ycpuLC5KZDbS"},"source":["refer to [../preprocess.ipynb](../preprocess.ipynb) to update README.md\n"]},{"cell_type":"markdown","metadata":{"id":"Gy-Cp8-D5YyE"},"source":["## load from huggingface"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":520},"executionInfo":{"elapsed":3178,"status":"error","timestamp":1731404630766,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"hNGEFTUG5eZd","outputId":"f6653748-f13d-4346-97d8-f7d21f4caab7"},"outputs":[{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"6a5ff47303c54d2bab7a6a0a59312c53","version_major":2,"version_minor":0},"text/plain":["README.md: 0%| | 0.00/13.7k [00:00\u003c?, ?B/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"a95069f1ca2841ae83816719ef5638d1","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/184 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"fcff776e4f3746f3b4283a5165c52367","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/46 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"ename":"ValueError","evalue":"BuilderConfig TextConfig(name='pre_tokenized', version=0.0.0, data_dir=None, data_files={'train': ['pre_tokenized/nepberta.parquet']}, description=None, features=None, encoding='utf-8', encoding_errors=None, chunksize=10485760, keep_linebreaks=False, sample_by='line') doesn't have a 'format' key.","output_type":"error","traceback":["\u001b[0;31m---------------------------------------------------------------------------\u001b[0m","\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)","\u001b[0;32m\u003cipython-input-16-3fa298775bd5\u003e\u001b[0m in \u001b[0;36m\u003ccell line: 4\u003e\u001b[0;34m()\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;31m# Load dataset with the configuration name and data_files specified in README.md\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----\u003e 4\u001b[0;31m \u001b[0mdataset\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mload_dataset\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"aananda-giri/nepali_llm_datasets\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"pre_tokenized\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mformat\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"parquet\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 5\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0;31m# # Split the dataset (80% train, 20% test)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/load.py\u001b[0m in \u001b[0;36mload_dataset\u001b[0;34m(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, keep_in_memory, save_infos, revision, token, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs)\u001b[0m\n\u001b[1;32m 2130\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2131\u001b[0m \u001b[0;31m# Create a dataset builder\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-\u003e 2132\u001b[0;31m builder_instance = load_dataset_builder(\n\u001b[0m\u001b[1;32m 2133\u001b[0m \u001b[0mpath\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2134\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/load.py\u001b[0m in \u001b[0;36mload_dataset_builder\u001b[0;34m(path, name, data_dir, data_files, cache_dir, features, download_config, download_mode, revision, token, storage_options, trust_remote_code, _require_default_config_name, **config_kwargs)\u001b[0m\n\u001b[1;32m 1888\u001b[0m \u001b[0mbuilder_cls\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mget_dataset_builder_class\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdataset_module\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdataset_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdataset_name\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1889\u001b[0m \u001b[0;31m# Instantiate the dataset builder\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-\u003e 1890\u001b[0;31m builder_instance: DatasetBuilder = builder_cls(\n\u001b[0m\u001b[1;32m 1891\u001b[0m \u001b[0mcache_dir\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mcache_dir\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1892\u001b[0m \u001b[0mdataset_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdataset_name\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/builder.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, cache_dir, dataset_name, config_name, hash, base_path, info, features, token, repo_id, data_files, data_dir, storage_options, writer_batch_size, **config_kwargs)\u001b[0m\n\u001b[1;32m 340\u001b[0m \u001b[0mconfig_kwargs\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"data_dir\"\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mdata_dir\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 341\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconfig_kwargs\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mconfig_kwargs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--\u003e 342\u001b[0;31m self.config, self.config_id = self._create_builder_config(\n\u001b[0m\u001b[1;32m 343\u001b[0m \u001b[0mconfig_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mconfig_name\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 344\u001b[0m \u001b[0mcustom_features\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mfeatures\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/builder.py\u001b[0m in \u001b[0;36m_create_builder_config\u001b[0;34m(self, config_name, custom_features, **config_kwargs)\u001b[0m\n\u001b[1;32m 588\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mvalue\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 589\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mhasattr\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbuilder_config\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mkey\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--\u003e 590\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mValueError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34mf\"BuilderConfig {builder_config} doesn't have a '{key}' key.\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 591\u001b[0m \u001b[0msetattr\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbuilder_config\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mkey\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 592\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;31mValueError\u001b[0m: BuilderConfig TextConfig(name='pre_tokenized', version=0.0.0, data_dir=None, data_files={'train': ['pre_tokenized/nepberta.parquet']}, description=None, features=None, encoding='utf-8', encoding_errors=None, chunksize=10485760, keep_linebreaks=False, sample_by='line') doesn't have a 'format' key."]}],"source":["from datasets import load_dataset\n","\n","# Load dataset with the configuration name and data_files specified in README.md\n","dataset = load_dataset(\"aananda-giri/nepali_llm_datasets\", name=\"pre_tokenized\", format=\"parquet\")\n","\n","# # Split the dataset (80% train, 20% test)\n","# split_data = dataset['train'].train_test_split(test_size=0.2, seed=42)\n","\n","# train_data = split_data['train']\n","# test_data = split_data['test']\n","\n","# print(\"Train size:\", len(train_data))\n","# print(\"Test size:\", len(test_data))\n"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":99},"executionInfo":{"elapsed":1091,"status":"ok","timestamp":1731398951474,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"u6IZNZnkaxid","outputId":"fcad237b-5755-4cca-dca8-7bd49dd11094"},"outputs":[{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"90254f0577f848fc966c911d0d779ac5","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/184 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"5ee4e9fca5ec404a9fd9475c1df373e5","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/46 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"name":"stdout","output_type":"stream","text":["['nepberta', 'scrapy_engine', 'pre_tokenized']\n"]}],"source":["from datasets import get_dataset_config_names\n","\n","configs = get_dataset_config_names(\"aananda-giri/nepali_llm_datasets\")\n","print(configs)"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":117},"executionInfo":{"elapsed":1698,"status":"ok","timestamp":1731398977442,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"kWyOc-IQahay","outputId":"5e8b7bcd-3b26-43da-e59e-f89ff2c5f789"},"outputs":[{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"a673d27cf4bf4d3fb847d4badcbe8431","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/184 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"b67aa45012e443a79e7b22d1a3f5b949","version_major":2,"version_minor":0},"text/plain":["Resolving data files: 0%| | 0/46 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"name":"stdout","output_type":"stream","text":["\n","None\n"]}],"source":["from datasets import load_dataset_builder\n","ds_builder = load_dataset_builder(\"aananda-giri/nepali_llm_datasets\", name=\"pre_tokenized\")\n","\n","print(ds_builder.info.description)\n","\n","print(ds_builder.info.features)"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"XK3YJJmvZ2QK"},"outputs":[],"source":["# Split the dataset (80% train, 20% test)\n","split_data = dataset['train'].train_test_split(test_size=0.2, seed=42)\n","\n","train_data = split_data['train']\n","test_data = split_data['test']\n","\n","print(\"Train size:\", len(train_data))\n","print(\"Test size:\", len(test_data))\n"]},{"cell_type":"markdown","metadata":{"id":"WUtyTCCIOw1y"},"source":["# Example: append to parquet"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"x_QmHyzZOhlr"},"outputs":[],"source":["import pyarrow as pa\n","import pyarrow.parquet as pq\n","\n","# Sample data loader simulation\n","# Let's create a list of dictionaries to simulate batches of data with text to be tokenized\n","# In practice, each `data` entry could represent a batch, for simplicity here, we'll use one item per batch\n","\n","data_loader = [\n"," {'text': \"The quick brown fox\"},\n"," {'text': \"jumps over the lazy dog\"},\n"," {'text': \"and runs away quickly\"},\n"," {'text': \"The sun sets behind the mountains\"},\n"," {'text': \"A quick brown dog jumps over the lazy fox\"},\n","]\n","\n","# Define a simple tokenization function for demonstration\n","def get_tokenized(text):\n"," # Simulating tokenization to input_ids and target_ids (just for example)\n"," input_ids = [ord(char) for char in text] # Convert each character to ASCII value\n"," target_ids = [ord(char) + 1 for char in text] # Shift ASCII values by 1\n"," return input_ids, target_ids\n","\n","# Define the schema based on `input_ids` and `target_ids` being lists of integers\n","schema = pa.schema([\n"," ('input_ids', pa.list_(pa.int64())),\n"," ('target_ids', pa.list_(pa.int64()))\n","])\n","\n","# Path for the Parquet file\n","parquet_file_path = \"nepberta_data.parquet\"\n","\n","# Writing each batch to the Parquet file\n","with pq.ParquetWriter(parquet_file_path, schema) as writer:\n"," for data in data_loader:\n"," # Tokenize the text to get input_ids and target_ids\n"," input_ids, target_ids = get_tokenized(data['text'])\n","\n"," # because dataloader seeks same sized data in a batch\n"," input_ids = input_ids[:18]\n"," target_ids = target_ids[:18]\n","\n"," # Create a record batch for the current data\n"," batch = pa.RecordBatch.from_arrays([pa.array([input_ids]), pa.array([target_ids])], schema=schema)\n","\n"," # Write batch to Parquet file\n"," writer.write_table(pa.Table.from_batches([batch]))\n","\n","parquet_file_path\n"]},{"cell_type":"markdown","metadata":{"id":"SZMpCwMiEefH"},"source":["## upload to huggingface"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"k16WfpRRDy8B"},"outputs":[],"source":["%cd /content/drive/MyDrive/Research/datasets/hf_datasets"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"ruCVcH8WDknh"},"outputs":[],"source":["from huggingface_hub import HfApi, Repository\n","import os\n","import shutil\n","\n","# Set your dataset repo name and Hugging Face username\n","username = \"Aananda-giri\" # Replace with your Hugging Face username\n","repo_name = \"nepali_llm_datasets\" # Name for the new dataset repository\n","repo_id = f\"{username}/{repo_name}\" # Full repository ID\n","\n","# Authenticate\n","api = HfApi()\n","# token = \"token\" # Replace with your Hugging Face token\n","\n","# Local dataset directory\n","local_dir = \"./\" # Adjust to the path of the dataset folder\n","\n","# Create the repository if it does not exist\n","api.create_repo(repo_id, token=token, repo_type=\"dataset\", exist_ok=True)"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"FDsSoN5dEdlK"},"outputs":[],"source":["# Local dataset directory\n","local_dir = \"./\" # Path to your dataset folder\n","\n","# Upload all files and folders recursively\n","for root, dirs, files in os.walk(local_dir):\n"," for file in files:\n"," file_path = os.path.join(root, file)\n"," # Upload file to the specified repo with the same directory structure\n"," repo_file_path = os.path.relpath(file_path, local_dir)\n"," api.upload_file(\n"," path_or_fileobj=file_path,\n"," path_in_repo=repo_file_path,\n"," repo_id=repo_id,\n"," repo_type=\"dataset\",\n"," token=token\n"," )\n","\n","print(f\"Dataset uploaded to https://huggingface.co/datasets/{repo_id}\")"]},{"cell_type":"markdown","metadata":{"id":"53UCcTChEFLK"},"source":["# Example: upload to huggingface"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":292},"executionInfo":{"elapsed":5873,"status":"ok","timestamp":1731311746054,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"u36PC3MdDT5D","outputId":"5c704375-d58b-4350-c76d-1162471acf01"},"outputs":[{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"26432447ae53469895afc04ffd009346","version_major":2,"version_minor":0},"text/plain":["Generating train split: 0 examples [00:00, ? examples/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"36b9df2f161c41a3926d2389a8a17ae8","version_major":2,"version_minor":0},"text/plain":["Uploading the dataset shards: 0%| | 0/1 [00:00\u003c?, ?it/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"45f99d0efc6f49549d0b7c69278265c5","version_major":2,"version_minor":0},"text/plain":["Creating parquet from Arrow format: 0%| | 0/1 [00:00\u003c?, ?ba/s]"]},"metadata":{},"output_type":"display_data"},{"data":{"application/vnd.jupyter.widget-view+json":{"model_id":"db4d1925e07640ffaa551f0a59046d49","version_major":2,"version_minor":0},"text/plain":["README.md: 0%| | 0.00/310 [00:00\u003c?, ?B/s]"]},"metadata":{},"output_type":"display_data"},{"name":"stderr","output_type":"stream","text":["No files have been modified since last commit. Skipping to prevent empty commit.\n","WARNING:huggingface_hub.hf_api:No files have been modified since last commit. Skipping to prevent empty commit.\n"]},{"data":{"application/vnd.google.colaboratory.intrinsic+json":{"type":"string"},"text/plain":["CommitInfo(commit_url='https://huggingface.co/datasets/Aananda-giri/tokenized_dataset_parquet/commit/677a7569e167fdce921e3a2150342fb407025f3e', commit_message='Upload dataset', commit_description='', oid='677a7569e167fdce921e3a2150342fb407025f3e', pr_url=None, pr_revision=None, pr_num=None)"]},"execution_count":56,"metadata":{},"output_type":"execute_result"}],"source":["from datasets import load_dataset\n","from google.colab import userdata\n","# Load Parquet file as a Dataset\n","dataset = load_dataset(\"parquet\", data_files=\"*.parquet\")\n","\n","# Push to Hugging Face Hub\n","dataset.push_to_hub(\"Aananda-giri/tokenized_dataset_parquet\", token=userdata.get('HUGGING_FACE_BEARER'))\n"]},{"cell_type":"markdown","metadata":{"id":"C56FQLi_EvS5"},"source":[" # Example: load from huggingface"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":54},"executionInfo":{"elapsed":2699,"status":"ok","timestamp":1731311851804,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"V4wlCSvJEyT6","outputId":"bd1d8b44-5e22-4574-a5cb-b30640f74d65"},"outputs":[{"data":{"application/vnd.google.colaboratory.intrinsic+json":{"type":"string"},"text/plain":["\"\\nDatasetDict({\\n train: Dataset({\\n features: ['input_ids', 'target_ids'],\\n num_rows: 3\\n })\\n})\\n\""]},"execution_count":60,"metadata":{},"output_type":"execute_result"}],"source":["from datasets import load_dataset\n","\n","ds = load_dataset(\"Aananda-giri/tokenized_dataset_parquet\")\n","ds\n","'''\n","DatasetDict({\n"," train: Dataset({\n"," features: ['input_ids', 'target_ids'],\n"," num_rows: 3\n"," })\n","})\n","'''"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":118,"status":"ok","timestamp":1731311851806,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"OO3YP4PhFVWv","outputId":"30fd32c3-fb0b-4b02-b701-16ca388689b4"},"outputs":[{"name":"stdout","output_type":"stream","text":["{'input_ids': [84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, 110, 32, 102, 111], 'target_ids': [85, 105, 102, 33, 114, 118, 106, 100, 108, 33, 99, 115, 112, 120, 111, 33, 103, 112]}\n","{'input_ids': [106, 117, 109, 112, 115, 32, 111, 118, 101, 114, 32, 116, 104, 101, 32, 108, 97, 122], 'target_ids': [107, 118, 110, 113, 116, 33, 112, 119, 102, 115, 33, 117, 105, 102, 33, 109, 98, 123]}\n","{'input_ids': [97, 110, 100, 32, 114, 117, 110, 115, 32, 97, 119, 97, 121, 32, 113, 117, 105, 99], 'target_ids': [98, 111, 101, 33, 115, 118, 111, 116, 33, 98, 120, 98, 122, 33, 114, 118, 106, 100]}\n","{'input_ids': [84, 104, 101, 32, 115, 117, 110, 32, 115, 101, 116, 115, 32, 98, 101, 104, 105, 110], 'target_ids': [85, 105, 102, 33, 116, 118, 111, 33, 116, 102, 117, 116, 33, 99, 102, 105, 106, 111]}\n","{'input_ids': [65, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119, 110, 32, 100, 111, 103, 32], 'target_ids': [66, 33, 114, 118, 106, 100, 108, 33, 99, 115, 112, 120, 111, 33, 101, 112, 104, 33]}\n"]}],"source":["for data in ds['train']:\n"," print(data)"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":617,"status":"ok","timestamp":1731311870239,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"YOgWCteSOmFQ","outputId":"4f0b5ab7-88a0-4b12-f799-b71593ac7dec"},"outputs":[{"name":"stdout","output_type":"stream","text":["18 18\n","18 18\n","18 18\n","18 18\n","18 18\n"]}],"source":["for data in ds['train']:\n"," print(len(data['input_ids']), len(data['target_ids']))\n"," # print(data)"]},{"cell_type":"markdown","metadata":{"id":"mepgfJGyH8rx"},"source":["# Example: Our dataloader with huggingface datasets"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":2584,"status":"ok","timestamp":1731311778025,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"D5ZIHHIqIBlL","outputId":"e9eeae4c-e184-42a2-e31d-c702f5db4206"},"outputs":[{"name":"stdout","output_type":"stream","text":["[tensor([[106, 117, 109, 112, 115, 32, 111, 118, 101, 114, 32, 116, 104, 101,\n"," 32, 108, 97, 122],\n"," [ 97, 110, 100, 32, 114, 117, 110, 115, 32, 97, 119, 97, 121, 32,\n"," 113, 117, 105, 99],\n"," [ 84, 104, 101, 32, 115, 117, 110, 32, 115, 101, 116, 115, 32, 98,\n"," 101, 104, 105, 110],\n"," [ 84, 104, 101, 32, 113, 117, 105, 99, 107, 32, 98, 114, 111, 119,\n"," 110, 32, 102, 111]]), tensor([[107, 118, 110, 113, 116, 33, 112, 119, 102, 115, 33, 117, 105, 102,\n"," 33, 109, 98, 123],\n"," [ 98, 111, 101, 33, 115, 118, 111, 116, 33, 98, 120, 98, 122, 33,\n"," 114, 118, 106, 100],\n"," [ 85, 105, 102, 33, 116, 118, 111, 33, 116, 102, 117, 116, 33, 99,\n"," 102, 105, 106, 111],\n"," [ 85, 105, 102, 33, 114, 118, 106, 100, 108, 33, 99, 115, 112, 120,\n"," 111, 33, 103, 112]])]\n"]}],"source":["from torch.utils.data import DataLoader\n","from datasets import load_dataset\n","import torch\n","\n","# Load the dataset from Hugging Face\n","ds = load_dataset(\"Aananda-giri/tokenized_dataset_parquet\")\n","\n","# Define the custom collate_fn function\n","def collate_fn(batch):\n"," # Extract the 'input_ids' and 'target_ids' from the batch and return them as a list of tensors\n"," input_ids = [item['input_ids'] for item in batch]\n"," target_ids = [item['target_ids'] for item in batch]\n","\n"," # Convert to tensors (if not already)\n"," input_ids_tensor = torch.stack(input_ids)\n"," target_ids_tensor = torch.stack(target_ids)\n","\n"," return [input_ids_tensor, target_ids_tensor]\n","\n","# Convert Hugging Face Dataset to PyTorch tensors (we can directly use the dataset as it is already in the correct format)\n","ds.set_format(type=\"torch\", columns=[\"input_ids\", \"target_ids\"]) # Directly set columns to torch tensors\n","\n","# Creating the DataLoader for the 'train' split of the dataset with the custom collate_fn\n","dataloader = DataLoader(\n"," ds[\"train\"],\n"," batch_size=4,\n"," shuffle=True,\n"," drop_last=True,\n"," num_workers=0,\n"," collate_fn=collate_fn\n",")\n","\n","# Example of accessing one batch\n","for batch in dataloader:\n"," print(batch)\n"," break\n"]},{"cell_type":"markdown","metadata":{"id":"hW0jCbPcLBAb"},"source":[]}],"metadata":{"colab":{"authorship_tag":"ABX9TyNId2OQsjg2JPmQ2H/h91Y8","collapsed_sections":["WUtyTCCIOw1y","53UCcTChEFLK","C56FQLi_EvS5","mepgfJGyH8rx"],"mount_file_id":"1R25oQUoAWqgN2418PiMJxcX7EHrVEi6R","name":"","version":""},"kernelspec":{"display_name":"Python 3","name":"python3"},"language_info":{"name":"python"},"widgets":{"application/vnd.jupyter.widget-state+json":{"00e61ae2e2854730adebe28d256f949e":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"06b9765683c642f68eeb26b1e060af9c":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_c14c6a1dbdbf4159a84634fa547ff525","IPY_MODEL_2aea3d04aff3459ba96c5448d7387d52","IPY_MODEL_e2da47d51bd5424ca70e464ca0b8d99f"],"layout":"IPY_MODEL_aa1993f3e7004c209d99f604ed8b9f6a"}},"0e26f827712849a996c998774dd1d3d9":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_f53979f869c543168012118f0e8e473b","max":46,"min":0,"orientation":"horizontal","style":"IPY_MODEL_f85a5deb5a604feabc9ee4f6fa5f3174","value":46}},"104e6cdd4aec42e7b4d16090b64d6a37":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"113d9215785e4e87adf127660445e780":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"11993e12cf45444db680b260152c73aa":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"124a7b0d9f674c94a25e8450fec1b2d2":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_b09bbacc69fc44f28935c35fc5078d5a","placeholder":"​","style":"IPY_MODEL_d094462d9f40417690a1e55363f4b0b3","value":"Resolving data files: 100%"}},"13d56acbbee640f0936eac43bb6ee2c7":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"13e632f8ce87454582906ceeb38501e8":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_f4e61e9b753443bea821fddf73262943","placeholder":"​","style":"IPY_MODEL_2ab8491afcf7463c896cd3c5a345f4f7","value":"Resolving data files: 100%"}},"14f32efecb0446ee9cdb497f24309acb":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_00e61ae2e2854730adebe28d256f949e","max":184,"min":0,"orientation":"horizontal","style":"IPY_MODEL_7bc90edb7f254345bdadadd11778f294","value":184}},"17ef29defe1b410dbf2d15e4237658bb":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":"20px"}},"18e8728fd0b24be6ad809f23a4c1c1e0":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_f034a03fb67c463e8590134182bd8bb1","placeholder":"​","style":"IPY_MODEL_ab02d18a738541629d2586da01e4d415","value":" 184/184 [00:00\u0026lt;00:00, 19.34it/s]"}},"19fbf459c2814e269be66c6fb9658c74":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"1a795cfdb2524f539ae4bd610f510936":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_e777a730623843e3b6b3a9f920a403d7","placeholder":"​","style":"IPY_MODEL_2539b9130f4140a286864d0fc1a74ba2","value":"Loading dataset shards: 100%"}},"1b34fcb493c44b9584731126eecfa2af":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_ac7e51f25e3c4127a7977e67609b3505","placeholder":"​","style":"IPY_MODEL_b3073b7664494c9b843d4a2035222fb1","value":" 184/184 [00:00\u0026lt;00:00, 3358.19it/s]"}},"22eea47c0fb24692a8e94dbf3423748e":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"230e33a839af4ecca3a14627cfdef3b0":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"234bf24920fe4fb687f2d3e294de09a7":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"244741cb4e6a4da0967962f0cc7d7ced":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"24a8588bb7e7404998a164f0749b33d7":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_17ef29defe1b410dbf2d15e4237658bb","max":1,"min":0,"orientation":"horizontal","style":"IPY_MODEL_e31b368a79d044468bb1477b0f419206","value":1}},"2539b9130f4140a286864d0fc1a74ba2":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"27450725a6764777a6bd1b13126b975e":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"282cf174004746d3beb1c544803edaa4":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"28936b3277e4423ba78fe9b1289ab37f":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"290332c0fde94f8da352429eebbf863b":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_ef95777adfc14f099eaa4a166df08eed","IPY_MODEL_4d4dc624abf447ebaf895b95345de52c","IPY_MODEL_a6fc17672ef5429d8c41a19c294afd71"],"layout":"IPY_MODEL_76120e07c01840c59f07ef6d7d6a852a"}},"2ab8491afcf7463c896cd3c5a345f4f7":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"2aea3d04aff3459ba96c5448d7387d52":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_d5a96ee212e445878908eee3d29a9734","max":184,"min":0,"orientation":"horizontal","style":"IPY_MODEL_a90f621505ed4883ad2154ec8ff4d217","value":184}},"2c2ac14f8c964eb0b13cd81026955d5f":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_63b4accd10c6466cac11263f1e79c637","max":46,"min":0,"orientation":"horizontal","style":"IPY_MODEL_f1902f43d07b4fc6baf9723d134b1526","value":46}},"2cb908e590b64270a1c10f784dc3f67f":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_617c58b5729b4ec8aca5e8bbb7b01784","placeholder":"​","style":"IPY_MODEL_8814d1992dfb4344b691414fc89a190c","value":"Resolving data files: 100%"}},"2d1965e97c104769bfe8d69da14a807a":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"2e469904501a40199ab2b186f4743008":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"2f792e6d76c146cbb153c65e65e59bdc":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"2f9e30974a9347eea3d7f5b068629ee4":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"2fe0bd31d2bf40e3bfc611728097be26":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"30b7db0dc0a744d48c202a70ddb3c9f0":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"30cc2d4225364ceeafb435bb0a7e4c5f":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3514ac5bcb3c43d19cdf5410e243011c":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"358275745e584601a2f7c31227c63a5f":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_9b05f2480dc242b48e6db83d9d065dff","placeholder":"​","style":"IPY_MODEL_4dffa03fc99b46c0814bccc293907aec","value":"README.md: 100%"}},"36424d418dba452db968115f95f0e226":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"3977e625a173494c8fd5692f999a6008":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_8bb6dbdd43b94a608d9a3be1b23c7b9b","IPY_MODEL_db129f3d4963426dad8b8316aaa52281","IPY_MODEL_4046c3604add40e7a0fd939c99b88afd"],"layout":"IPY_MODEL_d4c73efd4eef49b981a4642cd1d1624c"}},"39abf20c2c6c4727b668c16754c1f651":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"39af5e733d784c1cb55428a60c21d619":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"3a5a1ffb4b1940fdb0f98b42491a7e78":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3b819652ed644641b1ebc005fbf8031b":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3c0edd3c6dcf42ba9c69147ea69f9ab4":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3d41c6756d884a1d86554ab80b75d1de":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_d9b55352064a467ba22d803547b7fce4","placeholder":"​","style":"IPY_MODEL_e4acacc2f2394a7cbc0f1658f14089a0","value":" 46/46 [00:00\u0026lt;00:00,  8.49it/s]"}},"3d4a2ac5385340119b73250efca5e086":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"3f0fa6e2802d4b459a908cda9a0dc745":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"4046c3604add40e7a0fd939c99b88afd":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_b0271bb5a9aa46e1ab08d9e425da9d1e","placeholder":"​","style":"IPY_MODEL_d2f97b4dad0e4679a638531804ee9fa8","value":" 19/19 [00:02\u0026lt;00:00, 11.35it/s]"}},"4080559ab909412cbd9732880f648166":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_30cc2d4225364ceeafb435bb0a7e4c5f","placeholder":"​","style":"IPY_MODEL_104e6cdd4aec42e7b4d16090b64d6a37","value":"Creating parquet from Arrow format: 100%"}},"42c67b49fad5456581f4007f9ad4050f":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"444b3254fec14166a846eca4653ee571":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"4451d916f4dd411ca2f3bc6259a83f98":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"4569ee37bfbc42ca9499de3f8ea4f834":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_e61e9b0cc2284923a7df3373d341db65","placeholder":"​","style":"IPY_MODEL_e7c4fa1705bf47368c38e85fed024362","value":"Creating parquet from Arrow format:   4%"}},"4661fcb6c65f4b2ea95d533644a45288":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_8f13ebdd8af445f3b86d31193d3a0e11","placeholder":"​","style":"IPY_MODEL_605de4d03209443d91d65856c95bb887","value":" 778572/0 [02:11\u0026lt;00:00, 10201.29 examples/s]"}},"4996f66ed61341d8b85e36efa4042c54":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_d360aa81ab4149d8ae1cbb308270d96c","max":46,"min":0,"orientation":"horizontal","style":"IPY_MODEL_13d56acbbee640f0936eac43bb6ee2c7","value":46}},"4d4dc624abf447ebaf895b95345de52c":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_444b3254fec14166a846eca4653ee571","max":46,"min":0,"orientation":"horizontal","style":"IPY_MODEL_bff16f61acba400b92ebd3034aeb5496","value":46}},"4dffa03fc99b46c0814bccc293907aec":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"4e68e6d192154a7faa067476d72d79a0":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"4fbe8017df4f4359a39fcda288462611":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"51d088fdaab849418974c7210f019062":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"55ad6a5211a04c85b08793ed7ab7c4c6":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_a382602b27b14ff6b233f3746e998ed7","placeholder":"​","style":"IPY_MODEL_2f792e6d76c146cbb153c65e65e59bdc","value":" 184/184 [00:00\u0026lt;00:00, 2751.56it/s]"}},"55ec75b8bf28437281e2e5ac651d5532":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"56fbbcf5777541f2ad41b9564eda8cfd":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"57bc624dec9542cd819553ef2ef159dd":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"5820075e22004cb89f46261d041a2334":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_f9db9b489259480095e2ce89fe8e48cf","placeholder":"​","style":"IPY_MODEL_4451d916f4dd411ca2f3bc6259a83f98","value":"Resolving data files: 100%"}},"5830e2b499ec42fb9870bb3bc93bf2e8":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"58d912802af84b62938da57ca65f695d":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"5bf2b3e39e8b4c2f8caa70f210296b1d":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"5ee4e9fca5ec404a9fd9475c1df373e5":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_7551ebd603094f119ba9292456006755","IPY_MODEL_4996f66ed61341d8b85e36efa4042c54","IPY_MODEL_60d719b65e7741d68268b5cbf11cc2d5"],"layout":"IPY_MODEL_3c0edd3c6dcf42ba9c69147ea69f9ab4"}},"605de4d03209443d91d65856c95bb887":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"60d719b65e7741d68268b5cbf11cc2d5":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_3b819652ed644641b1ebc005fbf8031b","placeholder":"​","style":"IPY_MODEL_39af5e733d784c1cb55428a60c21d619","value":" 46/46 [00:00\u0026lt;00:00, 1490.02it/s]"}},"617c58b5729b4ec8aca5e8bbb7b01784":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"61ca8b716bd54661b5aa159a76e4f968":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"61e18d7159b34cd3bf64c00a6aca8de7":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_9c01f740c44e450d822ebb103b547662","placeholder":"​","style":"IPY_MODEL_244741cb4e6a4da0967962f0cc7d7ced","value":" 3/78 [00:09\u0026lt;03:46,  3.02s/ba]"}},"61e93c25168b4dfcbee5b10173821e57":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"63b4accd10c6466cac11263f1e79c637":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"669c162faf3244c4b848bdd41527be82":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_55ec75b8bf28437281e2e5ac651d5532","max":701,"min":0,"orientation":"horizontal","style":"IPY_MODEL_2f9e30974a9347eea3d7f5b068629ee4","value":701}},"697b8ff8aed340ee82cb1a28e7362b02":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_11993e12cf45444db680b260152c73aa","placeholder":"​","style":"IPY_MODEL_aedd3a3d9d1644dca3c0f69e5e85b07d","value":" 184/184 [00:00\u0026lt;00:00, 7315.53it/s]"}},"69bf3d9863e447bb8264fdfed336d95c":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"6a5ff47303c54d2bab7a6a0a59312c53":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_358275745e584601a2f7c31227c63a5f","IPY_MODEL_f0e1d0340b554698bdffc8ac653ebcc8","IPY_MODEL_766b67d74cb447c0bb7d837f257b1c2e"],"layout":"IPY_MODEL_c5731d8e42e349e9b01107da68b6a546"}},"6ae25500c53e489b96c4adae0ef9cd6c":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_61e93c25168b4dfcbee5b10173821e57","placeholder":"​","style":"IPY_MODEL_2fe0bd31d2bf40e3bfc611728097be26","value":"Resolving data files: 100%"}},"6bed2afdbe1a425190e62d78229e1482":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"6de68cb036b04107b05b34276a53a10b":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"7551ebd603094f119ba9292456006755":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_19fbf459c2814e269be66c6fb9658c74","placeholder":"​","style":"IPY_MODEL_bad9171f9d26424990b046c84b5c4976","value":"Resolving data files: 100%"}},"76120e07c01840c59f07ef6d7d6a852a":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"766b67d74cb447c0bb7d837f257b1c2e":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_42c67b49fad5456581f4007f9ad4050f","placeholder":"​","style":"IPY_MODEL_282cf174004746d3beb1c544803edaa4","value":" 13.7k/13.7k [00:00\u0026lt;00:00, 177kB/s]"}},"7bc90edb7f254345bdadadd11778f294":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"7d76db0b82e44fcd91bb2b4aeec0e830":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_2d1965e97c104769bfe8d69da14a807a","max":184,"min":0,"orientation":"horizontal","style":"IPY_MODEL_8ca079549539479489e8b1e156ffcdfc","value":184}},"7d76e99418c04aa38c83826aeddbabcb":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"7f80872aef2745e6850c0cca061888ae":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"803bef8663fa41deb2aa4b6c364b1900":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"80d9f1adad964a6c8ad75f0e980a26c3":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"8317286939da43c7b95979b5c8dd9da9":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"84975c1bee1040659f5b36e0cd9d6b50":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"87215a219a644abcbcd13661d2ef5b89":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_b0316a2a0a494ade8e9f4191cffa2942","placeholder":"​","style":"IPY_MODEL_9b3fd8f71e9a43cda24b938327d59fa9","value":"Resolving data files: 100%"}},"8814d1992dfb4344b691414fc89a190c":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"8827e978cf444c1ea5f44e2eaab18d60":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"88b35ca71ebe4c519a9309737b621b1b":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_1a795cfdb2524f539ae4bd610f510936","IPY_MODEL_f8b45ddf701348a8ac47abc91f2ded5a","IPY_MODEL_d406367022054f3b8e9686d306b23cbb"],"layout":"IPY_MODEL_eea87849086149c7abb73aade58282a0"}},"88ecb7e1042b4289b1e26d1f6655fb95":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_803bef8663fa41deb2aa4b6c364b1900","placeholder":"​","style":"IPY_MODEL_c1af6d9e0d5e4d89a5ed4b06687b48f1","value":"Generating train split: "}},"8bb6dbdd43b94a608d9a3be1b23c7b9b":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_30b7db0dc0a744d48c202a70ddb3c9f0","placeholder":"​","style":"IPY_MODEL_e080f015a1774447a61f65bd0dc0741c","value":"Loading dataset shards: 100%"}},"8ca079549539479489e8b1e156ffcdfc":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"8f13ebdd8af445f3b86d31193d3a0e11":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"90254f0577f848fc966c911d0d779ac5":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_13e632f8ce87454582906ceeb38501e8","IPY_MODEL_fd8b67762692424580a27469017e7a80","IPY_MODEL_55ad6a5211a04c85b08793ed7ab7c4c6"],"layout":"IPY_MODEL_6bed2afdbe1a425190e62d78229e1482"}},"95b06afe55ce4e46b8785c5a02703ebb":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"990a38d46a264ed8a38aa79f374e7e07":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_80d9f1adad964a6c8ad75f0e980a26c3","max":184,"min":0,"orientation":"horizontal","style":"IPY_MODEL_69bf3d9863e447bb8264fdfed336d95c","value":184}},"9966563a362d40dd9893f96013229c94":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_4569ee37bfbc42ca9499de3f8ea4f834","IPY_MODEL_c048fcf8897343649c7984c36da71af0","IPY_MODEL_61e18d7159b34cd3bf64c00a6aca8de7"],"layout":"IPY_MODEL_8317286939da43c7b95979b5c8dd9da9"}},"9b05f2480dc242b48e6db83d9d065dff":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"9b3fd8f71e9a43cda24b938327d59fa9":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"9b7dc714600840c68a4dfd2b5de565a2":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"9c01f740c44e450d822ebb103b547662":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"9d793f876d8c401e8d6b762512350e40":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"9dd687e990104634a5afec6459b28075":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"a2ac631e25884b419355c2773c6ec654":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_57bc624dec9542cd819553ef2ef159dd","placeholder":"​","style":"IPY_MODEL_56fbbcf5777541f2ad41b9564eda8cfd","value":"Resolving data files: 100%"}},"a382602b27b14ff6b233f3746e998ed7":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"a673d27cf4bf4d3fb847d4badcbe8431":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_a2ac631e25884b419355c2773c6ec654","IPY_MODEL_7d76db0b82e44fcd91bb2b4aeec0e830","IPY_MODEL_1b34fcb493c44b9584731126eecfa2af"],"layout":"IPY_MODEL_7f80872aef2745e6850c0cca061888ae"}},"a6fc17672ef5429d8c41a19c294afd71":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_9b7dc714600840c68a4dfd2b5de565a2","placeholder":"​","style":"IPY_MODEL_bc073a19673041458330a1ecc37dbf55","value":" 46/46 [00:00\u0026lt;00:00, 2418.28it/s]"}},"a90f621505ed4883ad2154ec8ff4d217":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"a95069f1ca2841ae83816719ef5638d1":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_124a7b0d9f674c94a25e8450fec1b2d2","IPY_MODEL_990a38d46a264ed8a38aa79f374e7e07","IPY_MODEL_18e8728fd0b24be6ad809f23a4c1c1e0"],"layout":"IPY_MODEL_230e33a839af4ecca3a14627cfdef3b0"}},"aa1993f3e7004c209d99f604ed8b9f6a":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"ab02d18a738541629d2586da01e4d415":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"ab493e66a6b44dd085bc1da4385562d4":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"ac7e51f25e3c4127a7977e67609b3505":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"aedd3a3d9d1644dca3c0f69e5e85b07d":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"b0271bb5a9aa46e1ab08d9e425da9d1e":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"b0316a2a0a494ade8e9f4191cffa2942":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"b09bbacc69fc44f28935c35fc5078d5a":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"b3073b7664494c9b843d4a2035222fb1":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"b67aa45012e443a79e7b22d1a3f5b949":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_2cb908e590b64270a1c10f784dc3f67f","IPY_MODEL_0e26f827712849a996c998774dd1d3d9","IPY_MODEL_faa4062de5754135a6b0acc0adc95541"],"layout":"IPY_MODEL_3f0fa6e2802d4b459a908cda9a0dc745"}},"bad9171f9d26424990b046c84b5c4976":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"bc073a19673041458330a1ecc37dbf55":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"bed92d5aa2664430a05d6a275918f30f":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_4080559ab909412cbd9732880f648166","IPY_MODEL_669c162faf3244c4b848bdd41527be82","IPY_MODEL_d704606b850c4a00b5431ad7272d9d16"],"layout":"IPY_MODEL_51d088fdaab849418974c7210f019062"}},"bff16f61acba400b92ebd3034aeb5496":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"c048fcf8897343649c7984c36da71af0":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"","description":"","description_tooltip":null,"layout":"IPY_MODEL_113d9215785e4e87adf127660445e780","max":78,"min":0,"orientation":"horizontal","style":"IPY_MODEL_95b06afe55ce4e46b8785c5a02703ebb","value":3}},"c14c6a1dbdbf4159a84634fa547ff525":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_5bf2b3e39e8b4c2f8caa70f210296b1d","placeholder":"​","style":"IPY_MODEL_36424d418dba452db968115f95f0e226","value":"Resolving data files: 100%"}},"c1af6d9e0d5e4d89a5ed4b06687b48f1":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"c5731d8e42e349e9b01107da68b6a546":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"cf2a315a3f904be8ab0b79e706bbbd7f":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d094462d9f40417690a1e55363f4b0b3":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"d2f97b4dad0e4679a638531804ee9fa8":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"d360aa81ab4149d8ae1cbb308270d96c":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d3bd79e723774ebd84c57587e516c97d":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_28936b3277e4423ba78fe9b1289ab37f","max":46,"min":0,"orientation":"horizontal","style":"IPY_MODEL_f4d4e2a93bfc458f8ec52c5b8f4c4bce","value":46}},"d406367022054f3b8e9686d306b23cbb":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_6de68cb036b04107b05b34276a53a10b","placeholder":"​","style":"IPY_MODEL_61ca8b716bd54661b5aa159a76e4f968","value":" 26/26 [00:06\u0026lt;00:00,  3.40it/s]"}},"d4c73efd4eef49b981a4642cd1d1624c":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d5a96ee212e445878908eee3d29a9734":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d5f827c83e93400b997417cfad281195":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d704606b850c4a00b5431ad7272d9d16":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_84975c1bee1040659f5b36e0cd9d6b50","placeholder":"​","style":"IPY_MODEL_22eea47c0fb24692a8e94dbf3423748e","value":" 701/701 [35:30\u0026lt;00:00,  2.75s/ba]"}},"d9b55352064a467ba22d803547b7fce4":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"db129f3d4963426dad8b8316aaa52281":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_d5f827c83e93400b997417cfad281195","max":19,"min":0,"orientation":"horizontal","style":"IPY_MODEL_7d76e99418c04aa38c83826aeddbabcb","value":19}},"dcc435a1353448d6809a68e234cf4a84":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"df5057c12fc8437d9f69083b29523ff8":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_88ecb7e1042b4289b1e26d1f6655fb95","IPY_MODEL_24a8588bb7e7404998a164f0749b33d7","IPY_MODEL_4661fcb6c65f4b2ea95d533644a45288"],"layout":"IPY_MODEL_ab493e66a6b44dd085bc1da4385562d4"}},"e080f015a1774447a61f65bd0dc0741c":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"e132fd5294594e29bc37a07e04520057":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_6ae25500c53e489b96c4adae0ef9cd6c","IPY_MODEL_d3bd79e723774ebd84c57587e516c97d","IPY_MODEL_3d41c6756d884a1d86554ab80b75d1de"],"layout":"IPY_MODEL_4fbe8017df4f4359a39fcda288462611"}},"e232e28ccaae40f6b1bbb61c111a856a":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_3514ac5bcb3c43d19cdf5410e243011c","placeholder":"​","style":"IPY_MODEL_2e469904501a40199ab2b186f4743008","value":" 46/46 [00:00\u0026lt;00:00, 854.01it/s]"}},"e2da47d51bd5424ca70e464ca0b8d99f":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_58d912802af84b62938da57ca65f695d","placeholder":"​","style":"IPY_MODEL_27450725a6764777a6bd1b13126b975e","value":" 184/184 [00:00\u0026lt;00:00, 11.12it/s]"}},"e31b368a79d044468bb1477b0f419206":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"e4acacc2f2394a7cbc0f1658f14089a0":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"e61e9b0cc2284923a7df3373d341db65":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"e777a730623843e3b6b3a9f920a403d7":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"e7c4fa1705bf47368c38e85fed024362":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"DescriptionStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"ed6a24157b66400dbbef71a244e92647":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_87215a219a644abcbcd13661d2ef5b89","IPY_MODEL_14f32efecb0446ee9cdb497f24309acb","IPY_MODEL_697b8ff8aed340ee82cb1a28e7362b02"],"layout":"IPY_MODEL_5830e2b499ec42fb9870bb3bc93bf2e8"}},"eea87849086149c7abb73aade58282a0":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"ef00c645ea2b43e59e45f18b4ce3ae98":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"ef95777adfc14f099eaa4a166df08eed":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_9dd687e990104634a5afec6459b28075","placeholder":"​","style":"IPY_MODEL_8827e978cf444c1ea5f44e2eaab18d60","value":"Resolving data files: 100%"}},"f034a03fb67c463e8590134182bd8bb1":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f0e1d0340b554698bdffc8ac653ebcc8":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_cf2a315a3f904be8ab0b79e706bbbd7f","max":13655,"min":0,"orientation":"horizontal","style":"IPY_MODEL_ef00c645ea2b43e59e45f18b4ce3ae98","value":13655}},"f1902f43d07b4fc6baf9723d134b1526":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"f4d4e2a93bfc458f8ec52c5b8f4c4bce":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"f4e61e9b753443bea821fddf73262943":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f53979f869c543168012118f0e8e473b":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f85a5deb5a604feabc9ee4f6fa5f3174":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"ProgressStyleModel","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"f8b45ddf701348a8ac47abc91f2ded5a":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_9d793f876d8c401e8d6b762512350e40","max":26,"min":0,"orientation":"horizontal","style":"IPY_MODEL_3d4a2ac5385340119b73250efca5e086","value":26}},"f9db9b489259480095e2ce89fe8e48cf":{"model_module":"@jupyter-widgets/base","model_module_version":"1.2.0","model_name":"LayoutModel","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"faa4062de5754135a6b0acc0adc95541":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HTMLModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_4e68e6d192154a7faa067476d72d79a0","placeholder":"​","style":"IPY_MODEL_39abf20c2c6c4727b668c16754c1f651","value":" 46/46 [00:00\u0026lt;00:00,  5.71it/s]"}},"fcff776e4f3746f3b4283a5165c52367":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"HBoxModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_5820075e22004cb89f46261d041a2334","IPY_MODEL_2c2ac14f8c964eb0b13cd81026955d5f","IPY_MODEL_e232e28ccaae40f6b1bbb61c111a856a"],"layout":"IPY_MODEL_dcc435a1353448d6809a68e234cf4a84"}},"fd8b67762692424580a27469017e7a80":{"model_module":"@jupyter-widgets/controls","model_module_version":"1.5.0","model_name":"FloatProgressModel","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_3a5a1ffb4b1940fdb0f98b42491a7e78","max":184,"min":0,"orientation":"horizontal","style":"IPY_MODEL_234bf24920fe4fb687f2d3e294de09a7","value":184}}}}},"nbformat":4,"nbformat_minor":0} \ No newline at end of file +{"cells":[{"cell_type":"code","execution_count":1,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"elapsed":1365,"status":"ok","timestamp":1731500607553,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"hDoDQOpWUu_8","outputId":"f132b64d-da0a-464b-816a-75a484d46541"},"outputs":[{"output_type":"stream","name":"stdout","text":["/content/drive/MyDrive/Research/datasets/hf_datasets\n"]}],"source":["%cd /content/drive/MyDrive/Research/datasets/hf_datasets/"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"vfKgZNKh0bcw","colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"status":"ok","timestamp":1731373007922,"user_tz":-345,"elapsed":17273,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"}},"outputId":"4f4e86be-f12a-476c-af3d-f0619689ea14"},"outputs":[{"output_type":"stream","name":"stdout","text":["\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/480.6 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m \u001b[32m471.0/480.6 kB\u001b[0m \u001b[31m16.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m480.6/480.6 kB\u001b[0m \u001b[31m7.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/116.3 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m116.3/116.3 kB\u001b[0m \u001b[31m3.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m179.3/179.3 kB\u001b[0m \u001b[31m7.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m3.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.1/194.1 kB\u001b[0m \u001b[31m6.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n","gcsfs 2024.10.0 requires fsspec==2024.10.0, but you have fsspec 2024.9.0 which is incompatible.\u001b[0m\u001b[31m\n","\u001b[0m"]}],"source":["!pip install datasets --quiet"]},{"cell_type":"markdown","metadata":{"id":"kEPBGuHzEkJV"},"source":["## Load dataset"]},{"cell_type":"code","source":["# it loads entire dataset first\n","from datasets import load_dataset\n","from google.colab import userdata\n","token=userdata.get('HUGGING_FACE_BEARER')\n","\n","# Load nepberta configuration\n","nepberta_data = load_dataset(\"Aananda-giri/nepali_llm_datasets\", name=\"nepberta\", token=token)"],"metadata":{"id":"0TNAwL6ofKP0"},"execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"Jgu2vyEmEh7J"},"source":["## Tokenize"]},{"cell_type":"code","execution_count":null,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"_qvWzkow3MuH","outputId":"8e6b9932-9b71-4ef0-c890-eb86657b10b2","executionInfo":{"status":"ok","timestamp":1731394491039,"user_tz":-345,"elapsed":2070680,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["185... tokenized... df created:...saved!\n","186... tokenized... df created:...saved!\n","187... tokenized... df created:...saved!\n","188... tokenized... df created:...saved!\n","189... tokenized... df created:...saved!\n","190... tokenized... df created:...saved!\n","191... tokenized... df created:...saved!\n","192... tokenized... df created:...saved!\n","193... tokenized... df created:...saved!\n","194... tokenized... df created:...saved!\n","195... tokenized... df created:...saved!\n","196... tokenized... df created:...saved!\n","197... tokenized... df created:...saved!\n","198... tokenized... df created:...saved!\n","199... tokenized... df created:...saved!\n","200... tokenized... df created:...saved!\n","201... tokenized... df created:...saved!\n","202... tokenized... df created:...saved!\n","203... tokenized... df created:...saved!\n","204... tokenized... df created:...saved!\n","205... tokenized... df created:...saved!\n","206... tokenized... df created:...saved!\n","207... tokenized... df created:...saved!\n","208... tokenized... df created:...saved!\n","209... tokenized... df created:...saved!\n","210... tokenized... df created:...saved!\n","211... tokenized... df created:...saved!\n","212... tokenized... df created:...saved!\n","213... tokenized... df created:...saved!\n","214... tokenized... df created:...saved!\n","215... tokenized... df created:...saved!\n","216... tokenized... df created:...saved!\n","217... tokenized... df created:...saved!\n","218... tokenized... df created:...saved!\n","219... tokenized... df created:...saved!\n","220... tokenized... df created:...saved!\n","221... tokenized... df created:...saved!\n","222... tokenized... df created:...saved!\n","223... tokenized... df created:...saved!\n","224... tokenized... df created:...saved!\n","225... tokenized... df created:...saved!\n","226... tokenized... df created:...saved!\n","227... tokenized... df created:...saved!\n","228... tokenized... df created:...saved!\n","229... tokenized... df created:...saved!\n","230... tokenized... df created:...saved!\n"]}],"source":["import pandas as pd\n","import pyarrow as pa\n","from transformers import PreTrainedTokenizerFast\n","\n","# Load the tokenizer\n","tokenizer = PreTrainedTokenizerFast.from_pretrained(\"Aananda-giri/NepaliBPE\")\n","\n","train_data = nepberta_data['train']\n","test_data = nepberta_data['test']\n","\n","# Initialize lists to collect input_ids and target_ids\n","input_ids_list = []\n","target_ids_list = []\n","\n","import pyarrow.parquet as pq\n","import pandas as pd\n","\n","\n","import pyarrow.parquet as pq\n","import pandas as pd\n","import pyarrow as pa\n","\n","def prepare_dataset(txt, tokenizer, max_length, stride, index):\n"," input_ids = []\n"," target_ids = []\n"," save_file = f\"pre_tokenized/nepberta_data_{index}.parquet\"\n"," token_ids = tokenizer.encode(txt)\n","\n"," for i in range(0, len(token_ids) - max_length, stride):\n"," input_chunk = token_ids[i:i + max_length]\n"," target_chunk = token_ids[i + 1: i + max_length + 1]\n","\n"," input_ids.append(input_chunk)\n"," target_ids.append(target_chunk)\n","\n"," print('... tokenized', end='')\n"," df = pd.DataFrame({\n"," \"input_ids\": input_ids,\n"," \"target_ids\": target_ids\n"," })\n"," print('... df created', end='')\n","\n"," # Convert DataFrame to pyarrow Table\n"," table = pa.Table.from_pandas(df)\n","\n"," # # Try to read existing Parquet file\n"," # try:\n"," # existing_table = pq.read_table(save_file)\n"," # # Concatenate existing table with new table\n"," # table = pa.concat_tables([existing_table, table])\n"," # except FileNotFoundError:\n"," # print('file not found') # File does not exist, so just write the new table\n","\n"," # Write table to Parquet file\n"," pq.write_table(table, save_file, compression='snappy')\n"," print(':...saved!')\n","\n","# Writing each batch to the Parquet file\n","# i=0\n","# for data in train_data:\n","# # combine two chunks\n","# i+=1;print(i, end='')\n","# prepare_dataset(data['text'], tokenizer, max_length=1024, stride=1024, index=i)\n","i=len(train_data)\n","for data in test_data:\n"," # combine two chunks\n"," i+=1;print(i, end='')\n"," prepare_dataset(data['text'], tokenizer, max_length=1024, stride=1024, index=i)"]},{"cell_type":"code","source":["len(train_data) + len(test_data)"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"xJVZWDjXB2sF","executionInfo":{"status":"ok","timestamp":1731395569536,"user_tz":-345,"elapsed":396,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"}},"outputId":"d9dbd062-b168-45ff-c969-9b0c120ab562"},"execution_count":null,"outputs":[{"output_type":"execute_result","data":{"text/plain":["230"]},"metadata":{},"execution_count":10}]},{"cell_type":"code","source":["# Merge the .parquet files generated\n","import pyarrow.parquet as pq\n","import glob\n","import pyarrow as pa\n","\n","# Specify the input folder and output file\n","input_folder = 'pre_tokenized'\n","output_file = 'nepberta.parquet'\n","\n","# Get a list of all Parquet files in the input folder\n","parquet_files = glob.glob(f'{input_folder}/*.parquet')\n","print(len(parquet_files))\n","\n","# Write each file to the output file one at a time\n","writer = None\n","i=0\n","for file in parquet_files:\n"," i+=1;print(i)\n"," table = pq.read_table(file)\n"," if writer is None:\n"," # Initialize the writer with the schema of the first file\n"," writer = pq.ParquetWriter(output_file, table.schema)\n"," writer.write_table(table)\n","\n","# Close the writer\n","if writer:\n"," writer.close()\n"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"WMsVPT7uQECp","outputId":"e06b6eed-dd01-413b-bccc-fed9856ddc09"},"execution_count":null,"outputs":[{"output_type":"stream","name":"stdout","text":["1\n","1\n"]}]},{"cell_type":"code","source":["# Delete the original files (after merging)\n","import os\n","for file in parquet_files:\n"," try:\n"," os.remove(file)\n"," print(f\"Deleted file: {file}\")\n"," except OSError as e:\n"," print(f\"Error deleting file: {file} - {e.strerror}\")"],"metadata":{"id":"cL6mGBtuXrY4"},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":["## load dataset"],"metadata":{"id":"8IIceh5Xju38"}},{"cell_type":"code","source":["!ls pre_tokenized"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"KjoHP0J-isVA","executionInfo":{"status":"ok","timestamp":1731401019250,"user_tz":-345,"elapsed":430,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"}},"outputId":"c0a215ed-e592-4e93-fed7-60af75afc866"},"execution_count":null,"outputs":[{"output_type":"stream","name":"stdout","text":["nepberta.parquet pre-tokenize.ipynb\n"]}]},{"cell_type":"markdown","source":["### problem\n","this code works but uploading same file to huggingface and loading using below code is giving error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 7: invalid continuation byte\n","\n","```\n","%cd /content/drive/MyDrive/Research/datasets/hf_datasets/\n","!pip install datasets --quiet\n","\n","from datasets import load_dataset\n","ds = load_dataset('parquet', data_files = 'nepberta.parquet')\n","```\n","\n","### Solution1 (works): Save this dataset to huggingface and try loading that instead"],"metadata":{"id":"W_iPD0fSJWia"}},{"cell_type":"code","execution_count":16,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":99,"referenced_widgets":["9d705e140065412b8d9da4e750d97f8b","8bc1e2ec69a24281addf3ca221ff7229","193f1640551b45888fa01b883ebd6e9c","09a766b09f044741b0bc46d0da218665","d8efd4a11f98451388b23e298f001870","c5256180f643417aa7a621e702c94137","67de913d72774f558fd19487902ba9f6","f8420f2f8db241829817de89aee57afc","5bdf42e14e444a7a83f8ef74bd475691","4edae436e8f040f4af19c3feb8bbba52","d08373b220a44d8abc68e5ceae532923","fdf78e573ca142ce82c9d8073a737b03","618dda0f436348fbba7218d23239471c","8e038037bed1435eb029d1bce9b7c071","8faae7e60ea14bfb935c1704053ee3e6","f327c08699084bd487eccf12bce9daf4","daf58dde6d2f48d4b8caa2d642733f4b","9ca3c27caf4c4a828d48244642885aa8","57c3445330634a37b77494d37ad86f79","cdb4397ce5e247d19c5ff735201ea662","c427a893a4ae4d6da1c173d49f642bc8","712034cd45e7411e80278ac399a300c0"]},"executionInfo":{"elapsed":152215,"status":"ok","timestamp":1731501587646,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"},"user_tz":-345},"id":"KijVIkUcBVmv","outputId":"6988a81e-fac2-4156-e770-f52f9e3500fc"},"outputs":[{"output_type":"stream","name":"stdout","text":["/content/drive/MyDrive/Research/datasets/hf_datasets\n"]},{"output_type":"display_data","data":{"text/plain":["Generating train split: 0 examples [00:00, ? examples/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"9d705e140065412b8d9da4e750d97f8b"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["Loading dataset shards: 0%| | 0/26 [00:00 1854\u001b[0;31m \u001b[0;32mfor\u001b[0m \u001b[0m_\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtable\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mgenerator\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 1855\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mmax_shard_size\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mwriter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_num_bytes\u001b[0m \u001b[0;34m>\u001b[0m \u001b[0mmax_shard_size\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/packaged_modules/text/text.py\u001b[0m in \u001b[0;36m_generate_tables\u001b[0;34m(self, files)\u001b[0m\n\u001b[1;32m 72\u001b[0m \u001b[0;32mwhile\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 73\u001b[0;31m \u001b[0mbatch\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconfig\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mchunksize\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 74\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mbatch\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/lib/python3.10/codecs.py\u001b[0m in \u001b[0;36mdecode\u001b[0;34m(self, input, final)\u001b[0m\n\u001b[1;32m 321\u001b[0m \u001b[0mdata\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbuffer\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0minput\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 322\u001b[0;31m \u001b[0;34m(\u001b[0m\u001b[0mresult\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mconsumed\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_buffer_decode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0merrors\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfinal\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 323\u001b[0m \u001b[0;31m# keep undecoded input until the next call\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;31mUnicodeDecodeError\u001b[0m: 'utf-8' codec can't decode byte 0x90 in position 7: invalid start byte","\nThe above exception was the direct cause of the following exception:\n","\u001b[0;31mDatasetGenerationError\u001b[0m Traceback (most recent call last)","\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;31m# Load dataset with the configuration name and data_files specified in README.md\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 5\u001b[0;31m \u001b[0mdataset\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mload_dataset\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"aananda-giri/nepali_llm_datasets\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mname\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"pre_tokenized\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtoken\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mtoken\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 6\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 7\u001b[0m \u001b[0;31m# # Split the dataset (80% train, 20% test)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/load.py\u001b[0m in \u001b[0;36mload_dataset\u001b[0;34m(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, keep_in_memory, save_infos, revision, token, streaming, num_proc, storage_options, trust_remote_code, **config_kwargs)\u001b[0m\n\u001b[1;32m 2152\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2153\u001b[0m \u001b[0;31m# Download and prepare data\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 2154\u001b[0;31m builder_instance.download_and_prepare(\n\u001b[0m\u001b[1;32m 2155\u001b[0m \u001b[0mdownload_config\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdownload_config\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2156\u001b[0m \u001b[0mdownload_mode\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdownload_mode\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/builder.py\u001b[0m in \u001b[0;36mdownload_and_prepare\u001b[0;34m(self, output_dir, download_config, download_mode, verification_mode, dl_manager, base_path, file_format, max_shard_size, num_proc, storage_options, **download_and_prepare_kwargs)\u001b[0m\n\u001b[1;32m 922\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mnum_proc\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 923\u001b[0m \u001b[0mprepare_split_kwargs\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"num_proc\"\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mnum_proc\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 924\u001b[0;31m self._download_and_prepare(\n\u001b[0m\u001b[1;32m 925\u001b[0m \u001b[0mdl_manager\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mdl_manager\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 926\u001b[0m \u001b[0mverification_mode\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mverification_mode\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/builder.py\u001b[0m in \u001b[0;36m_download_and_prepare\u001b[0;34m(self, dl_manager, verification_mode, **prepare_split_kwargs)\u001b[0m\n\u001b[1;32m 998\u001b[0m \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 999\u001b[0m \u001b[0;31m# Prepare split will record examples associated to the split\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1000\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_prepare_split\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msplit_generator\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mprepare_split_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 1001\u001b[0m \u001b[0;32mexcept\u001b[0m \u001b[0mOSError\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0me\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1002\u001b[0m raise OSError(\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/builder.py\u001b[0m in \u001b[0;36m_prepare_split\u001b[0;34m(self, split_generator, file_format, num_proc, max_shard_size)\u001b[0m\n\u001b[1;32m 1739\u001b[0m \u001b[0mjob_id\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1740\u001b[0m \u001b[0;32mwith\u001b[0m \u001b[0mpbar\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1741\u001b[0;31m for job_id, done, content in self._prepare_split_single(\n\u001b[0m\u001b[1;32m 1742\u001b[0m \u001b[0mgen_kwargs\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mgen_kwargs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mjob_id\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mjob_id\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0m_prepare_split_args\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1743\u001b[0m ):\n","\u001b[0;32m/usr/local/lib/python3.10/dist-packages/datasets/builder.py\u001b[0m in \u001b[0;36m_prepare_split_single\u001b[0;34m(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)\u001b[0m\n\u001b[1;32m 1895\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0misinstance\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mDatasetGenerationError\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1896\u001b[0m \u001b[0;32mraise\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1897\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mDatasetGenerationError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"An error occurred while generating the dataset\"\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0me\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 1898\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 1899\u001b[0m \u001b[0;32myield\u001b[0m \u001b[0mjob_id\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mtotal_num_examples\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtotal_num_bytes\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mwriter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_features\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mnum_shards\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mshard_lengths\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n","\u001b[0;31mDatasetGenerationError\u001b[0m: An error occurred while generating the dataset"]}]},{"cell_type":"code","source":["from datasets import get_dataset_config_names\n","\n","configs = get_dataset_config_names(\"aananda-giri/nepali_llm_datasets\")\n","print(configs)"],"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":99,"referenced_widgets":["90254f0577f848fc966c911d0d779ac5","13e632f8ce87454582906ceeb38501e8","fd8b67762692424580a27469017e7a80","55ad6a5211a04c85b08793ed7ab7c4c6","6bed2afdbe1a425190e62d78229e1482","f4e61e9b753443bea821fddf73262943","2ab8491afcf7463c896cd3c5a345f4f7","3a5a1ffb4b1940fdb0f98b42491a7e78","234bf24920fe4fb687f2d3e294de09a7","a382602b27b14ff6b233f3746e998ed7","2f792e6d76c146cbb153c65e65e59bdc","5ee4e9fca5ec404a9fd9475c1df373e5","7551ebd603094f119ba9292456006755","4996f66ed61341d8b85e36efa4042c54","60d719b65e7741d68268b5cbf11cc2d5","3c0edd3c6dcf42ba9c69147ea69f9ab4","19fbf459c2814e269be66c6fb9658c74","bad9171f9d26424990b046c84b5c4976","d360aa81ab4149d8ae1cbb308270d96c","13d56acbbee640f0936eac43bb6ee2c7","3b819652ed644641b1ebc005fbf8031b","39af5e733d784c1cb55428a60c21d619"]},"id":"u6IZNZnkaxid","executionInfo":{"status":"ok","timestamp":1731398951474,"user_tz":-345,"elapsed":1091,"user":{"displayName":"Aananda Giri","userId":"10248715758347187876"}},"outputId":"fcad237b-5755-4cca-dca8-7bd49dd11094"},"execution_count":null,"outputs":[{"output_type":"display_data","data":{"text/plain":["Resolving data files: 0%| | 0/184 [00:00