{ "cells": [ { "cell_type": "code", "execution_count": 3, "id": "7821c501-8c5d-4af6-81cd-caa6ad0bd58c", "metadata": { "id": "7821c501-8c5d-4af6-81cd-caa6ad0bd58c" }, "outputs": [], "source": [ "from datasets import load_dataset, DatasetDict\n", "from datasets import concatenate_datasets\n", "from IPython.display import HTML\n", "\n", "from tqdm import tqdm\n", "import re \n", "import numpy as np\n", "from markdownify import markdownify as md" ] }, { "cell_type": "code", "execution_count": 4, "id": "dc821970-efdb-407f-bd79-59da09323280", "metadata": { "id": "dc821970-efdb-407f-bd79-59da09323280", "outputId": "1d5d26b7-7f51-4798-c572-c1e689f139d6", "scrolled": true, "tags": [] }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "Downloading readme: 100%|██████████| 8.76k/8.76k [00:00<00:00, 4.35MB/s]\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Downloading and preparing dataset parquet/HuggingFaceH4--stack-exchange-preferences to /Users/armelzebaze/.cache/huggingface/datasets/HuggingFaceH4___parquet/HuggingFaceH4--stack-exchange-preferences-1d2bff9ecb5ffe2a/0.0.0/2a3b91fbd88a2c90d1dbbb32b460cf621d31bd5b05b934492fdef7d8d6f236ec...\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "Downloading data: 100%|██████████| 191k/191k [00:00<00:00, 703kB/s] \n", "Downloading data: 100%|██████████| 4.66M/4.66M [00:00<00:00, 6.80MB/s]\n", "Downloading data: 100%|██████████| 77.4M/77.4M [00:02<00:00, 33.2MB/s]\n", "Downloading data: 100%|██████████| 62.4M/62.4M [00:02<00:00, 30.4MB/s]\n", "Downloading data: 100%|██████████| 60.5M/60.5M [00:02<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 55.6M/55.6M [00:02<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 53.4M/53.4M [00:01<00:00, 27.3MB/s]\n", "Downloading data: 100%|██████████| 51.8M/51.8M [00:01<00:00, 29.5MB/s]\n", "Downloading data: 100%|██████████| 51.9M/51.9M [00:01<00:00, 30.0MB/s]\n", "Downloading data: 100%|██████████| 48.9M/48.9M [00:01<00:00, 28.3MB/s]\n", "Downloading data: 100%|██████████| 48.3M/48.3M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 47.3M/47.3M [00:01<00:00, 28.4MB/s]\n", "Downloading data: 100%|██████████| 46.6M/46.6M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 45.9M/45.9M [00:02<00:00, 22.2MB/s]\n", "Downloading data: 100%|██████████| 46.6M/46.6M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 46.5M/46.5M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 45.8M/45.8M [00:01<00:00, 27.5MB/s]\n", "Downloading data: 100%|██████████| 44.6M/44.6M [00:02<00:00, 20.2MB/s]\n", "Downloading data: 100%|██████████| 44.1M/44.1M [00:01<00:00, 28.6MB/s]\n", "Downloading data: 100%|██████████| 44.5M/44.5M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 43.4M/43.4M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 43.0M/43.0M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 42.6M/42.6M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 42.8M/42.8M [00:01<00:00, 22.7MB/s]\n", "Downloading data: 100%|██████████| 42.7M/42.7M [00:08<00:00, 5.31MB/s]\n", "Downloading data: 100%|██████████| 42.5M/42.5M [00:01<00:00, 22.2MB/s]\n", "Downloading data: 100%|██████████| 42.2M/42.2M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 42.2M/42.2M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 41.8M/41.8M [00:01<00:00, 23.8MB/s]\n", "Downloading data: 100%|██████████| 41.8M/41.8M [00:01<00:00, 37.4MB/s]\n", "Downloading data: 100%|██████████| 41.5M/41.5M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 41.1M/41.1M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 41.7M/41.7M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 41.3M/41.3M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 27.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:02<00:00, 13.6MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:02<00:00, 17.5MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 27.5MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:05<00:00, 6.93MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 27.9MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 24.7MB/s]\n", "Downloading data: 100%|██████████| 39.1M/39.1M [00:01<00:00, 27.5MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 27.6MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:02<00:00, 13.8MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 23.8MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 24.4MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 24.7MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 24.8MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 27.6MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 23.5MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 27.2MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 41.0M/41.0M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 29.7MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 24.0MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 21.3MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:04<00:00, 9.92MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:04<00:00, 9.91MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:02<00:00, 17.7MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:02<00:00, 14.6MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:10<00:00, 3.75MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:03<00:00, 13.2MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:04<00:00, 9.40MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:04<00:00, 9.16MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:02<00:00, 14.9MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:02<00:00, 13.7MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:06<00:00, 6.04MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 28.1MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 39.2M/39.2M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 24.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 39.3M/39.3M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 38.4M/38.4M [00:06<00:00, 5.57MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 38.5M/38.5M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 38.5M/38.5M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 38.4M/38.4M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 38.2M/38.2M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 38.1M/38.1M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 38.0M/38.0M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 38.1M/38.1M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 38.3M/38.3M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 38.9M/38.9M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 39.3M/39.3M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 21.4MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 35.0MB/s]\n", "Downloading data: 100%|██████████| 39.2M/39.2M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 39.2M/39.2M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 39.3M/39.3M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 39.2M/39.2M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 38.5M/38.5M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 41.0M/41.0M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 20.8MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 38.9M/38.9M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 39.3M/39.3M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 39.0M/39.0M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 41.2M/41.2M [00:01<00:00, 21.3MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 24.9MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 28.5MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:02<00:00, 19.0MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 24.3MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 24.3MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:07<00:00, 5.33MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:08<00:00, 4.67MB/s]\n", "Downloading data: 100%|██████████| 42.0M/42.0M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 21.2MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:08<00:00, 5.02MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:02<00:00, 16.5MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 29.7MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 24.0MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 21.5MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 23.5MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 24.8MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 28.7MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:02<00:00, 15.5MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 41.9M/41.9M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:02<00:00, 18.8MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 24.0MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:02<00:00, 18.6MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 27.9MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:07<00:00, 5.26MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:02<00:00, 18.4MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:02<00:00, 15.2MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 28.2MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 24.3MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 24.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 27.5MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 24.5MB/s]\n", "Downloading data: 100%|██████████| 41.4M/41.4M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 28.4MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 28.2MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:01<00:00, 28.7MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:02<00:00, 15.8MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 28.2MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 40.8M/40.8M [00:01<00:00, 24.9MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 20.3MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 41.2M/41.2M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 41.6M/41.6M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 41.0M/41.0M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 40.9M/40.9M [00:06<00:00, 6.05MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 40.5M/40.5M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 24.8MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 39.3M/39.3M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 39.9M/39.9M [00:01<00:00, 27.3MB/s]\n", "Downloading data: 100%|██████████| 39.2M/39.2M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 41.0M/41.0M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 40.3M/40.3M [00:01<00:00, 28.6MB/s]\n", "Downloading data: 100%|██████████| 40.4M/40.4M [00:02<00:00, 18.9MB/s]\n", "Downloading data: 100%|██████████| 39.7M/39.7M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 23.9MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 27.1MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 22.8MB/s]\n", "Downloading data: 100%|██████████| 38.1M/38.1M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 38.9M/38.9M [00:01<00:00, 26.8MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 38.9M/38.9M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 39.1M/39.1M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 23.8MB/s]\n", "Downloading data: 100%|██████████| 40.1M/40.1M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:06<00:00, 6.56MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 38.0M/38.0M [00:01<00:00, 23.3MB/s]\n", "Downloading data: 100%|██████████| 38.2M/38.2M [00:01<00:00, 23.4MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 24.5MB/s]\n", "Downloading data: 100%|██████████| 40.2M/40.2M [00:02<00:00, 17.0MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 24.9MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 38.3M/38.3M [00:01<00:00, 23.2MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 24.2MB/s]\n", "Downloading data: 100%|██████████| 38.0M/38.0M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 38.3M/38.3M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 37.8M/37.8M [00:01<00:00, 27.2MB/s]\n", "Downloading data: 100%|██████████| 38.2M/38.2M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 38.4M/38.4M [00:01<00:00, 32.1MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 38.3M/38.3M [00:01<00:00, 23.0MB/s]\n", "Downloading data: 100%|██████████| 37.9M/37.9M [00:01<00:00, 26.3MB/s]\n", "Downloading data: 100%|██████████| 39.3M/39.3M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 38.7M/38.7M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 37.5M/37.5M [00:05<00:00, 6.30MB/s]\n", "Downloading data: 100%|██████████| 37.5M/37.5M [00:07<00:00, 5.20MB/s]\n", "Downloading data: 100%|██████████| 37.4M/37.4M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 37.2M/37.2M [00:07<00:00, 4.74MB/s]\n", "Downloading data: 100%|██████████| 37.7M/37.7M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 36.9M/36.9M [00:01<00:00, 24.2MB/s]\n", "Downloading data: 100%|██████████| 37.2M/37.2M [00:01<00:00, 24.6MB/s]\n", "Downloading data: 100%|██████████| 36.5M/36.5M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 35.4M/35.4M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 1.61M/1.61M [00:00<00:00, 2.90MB/s]\n", "Downloading data: 100%|██████████| 35.6M/35.6M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 36.3M/36.3M [00:01<00:00, 24.4MB/s]\n", "Downloading data: 100%|██████████| 255k/255k [00:00<00:00, 1.38MB/s]\n", "Downloading data: 100%|██████████| 5.35M/5.35M [00:00<00:00, 10.2MB/s]\n", "Downloading data: 100%|██████████| 596k/596k [00:00<00:00, 1.58MB/s]\n", "Downloading data: 100%|██████████| 20.5M/20.5M [00:01<00:00, 19.2MB/s]\n", "Downloading data: 100%|██████████| 1.24M/1.24M [00:00<00:00, 2.67MB/s]\n", "Downloading data: 100%|██████████| 9.12M/9.12M [00:00<00:00, 11.6MB/s]\n", "Downloading data: 100%|██████████| 979k/979k [00:00<00:00, 2.09MB/s]\n", "Downloading data: 100%|██████████| 33.2M/33.2M [00:01<00:00, 23.9MB/s]\n", "Downloading data: 100%|██████████| 33.8M/33.8M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 311k/311k [00:00<00:00, 861kB/s]\n", "Downloading data: 100%|██████████| 16.8M/16.8M [00:00<00:00, 18.2MB/s]\n", "Downloading data: 100%|██████████| 37.9M/37.9M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 35.2M/35.2M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 34.3M/34.3M [00:01<00:00, 23.3MB/s]\n", "Downloading data: 100%|██████████| 37.0M/37.0M [00:01<00:00, 24.7MB/s]\n", "Downloading data: 100%|██████████| 38.2M/38.2M [00:01<00:00, 21.4MB/s]\n", "Downloading data: 100%|██████████| 260k/260k [00:00<00:00, 1.15MB/s]\n", "Downloading data: 100%|██████████| 12.2M/12.2M [00:00<00:00, 15.7MB/s]\n", "Downloading data: 100%|██████████| 832k/832k [00:00<00:00, 1.88MB/s]\n", "Downloading data: 100%|██████████| 32.9M/32.9M [00:01<00:00, 24.6MB/s]\n", "Downloading data: 100%|██████████| 160k/160k [00:00<00:00, 590kB/s] \n", "Downloading data: 100%|██████████| 4.06M/4.06M [00:00<00:00, 6.29MB/s]\n", "Downloading data: 100%|██████████| 81.6k/81.6k [00:00<00:00, 483kB/s]\n", "Downloading data: 100%|██████████| 1.38M/1.38M [00:00<00:00, 2.57MB/s]\n", "Downloading data: 100%|██████████| 555k/555k [00:00<00:00, 1.46MB/s]\n", "Downloading data: 100%|██████████| 29.0M/29.0M [00:01<00:00, 20.8MB/s]\n", "Downloading data: 100%|██████████| 127k/127k [00:00<00:00, 681kB/s] \n", "Downloading data: 100%|██████████| 3.33M/3.33M [00:00<00:00, 5.20MB/s]\n", "Downloading data: 100%|██████████| 906k/906k [00:00<00:00, 1.50MB/s]\n", "Downloading data: 100%|██████████| 16.2M/16.2M [00:00<00:00, 17.2MB/s]\n", "Downloading data: 100%|██████████| 263k/263k [00:00<00:00, 939kB/s] \n", "Downloading data: 100%|██████████| 15.5M/15.5M [00:00<00:00, 17.5MB/s]\n", "Downloading data: 100%|██████████| 629k/629k [00:00<00:00, 1.57MB/s]\n", "Downloading data: 100%|██████████| 25.5M/25.5M [00:01<00:00, 21.9MB/s]\n", "Downloading data: 100%|██████████| 726k/726k [00:00<00:00, 1.62MB/s]\n", "Downloading data: 100%|██████████| 13.7M/13.7M [00:00<00:00, 15.8MB/s]\n", "Downloading data: 100%|██████████| 173k/173k [00:00<00:00, 631kB/s] \n", "Downloading data: 100%|██████████| 2.61M/2.61M [00:00<00:00, 4.88MB/s]\n", "Downloading data: 100%|██████████| 786k/786k [00:00<00:00, 1.70MB/s]\n", "Downloading data: 100%|██████████| 28.8M/28.8M [00:01<00:00, 23.7MB/s]\n", "Downloading data: 100%|██████████| 42.5k/42.5k [00:00<00:00, 483kB/s]\n", "Downloading data: 100%|██████████| 1.18M/1.18M [00:00<00:00, 2.47MB/s]\n", "Downloading data: 100%|██████████| 1.50M/1.50M [00:00<00:00, 2.68MB/s]\n", "Downloading data: 100%|██████████| 24.2M/24.2M [00:01<00:00, 21.0MB/s]\n", "Downloading data: 100%|██████████| 237k/237k [00:00<00:00, 893kB/s]\n", "Downloading data: 100%|██████████| 13.0M/13.0M [00:00<00:00, 13.8MB/s]\n", "Downloading data: 100%|██████████| 348k/348k [00:00<00:00, 1.22MB/s]\n", "Downloading data: 100%|██████████| 13.7M/13.7M [00:00<00:00, 14.9MB/s]\n", "Downloading data: 100%|██████████| 2.73M/2.73M [00:00<00:00, 4.43MB/s]\n", "Downloading data: 100%|██████████| 50.2M/50.2M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 51.1k/51.1k [00:00<00:00, 589kB/s]\n", "Downloading data: 100%|██████████| 5.19M/5.19M [00:00<00:00, 9.13MB/s]\n", "Downloading data: 100%|██████████| 8.43M/8.43M [00:00<00:00, 10.1MB/s]\n", "Downloading data: 100%|██████████| 31.9M/31.9M [00:01<00:00, 22.2MB/s]\n", "Downloading data: 100%|██████████| 48.0M/48.0M [00:01<00:00, 27.4MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 39.5M/39.5M [00:01<00:00, 27.3MB/s]\n", "Downloading data: 100%|██████████| 2.84M/2.84M [00:00<00:00, 4.51MB/s]\n", "Downloading data: 100%|██████████| 29.2M/29.2M [00:01<00:00, 25.5MB/s]\n", "Downloading data: 100%|██████████| 33.9M/33.9M [00:07<00:00, 4.41MB/s]\n", "Downloading data: 100%|██████████| 35.0M/35.0M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 39.6M/39.6M [00:01<00:00, 26.2MB/s]\n", "Downloading data: 100%|██████████| 94.8k/94.8k [00:00<00:00, 527kB/s]\n", "Downloading data: 100%|██████████| 1.55M/1.55M [00:00<00:00, 3.21MB/s]\n", "Downloading data: 100%|██████████| 685k/685k [00:00<00:00, 1.53MB/s]\n", "Downloading data: 100%|██████████| 5.70M/5.70M [00:00<00:00, 7.65MB/s]\n", "Downloading data: 100%|██████████| 85.4k/85.4k [00:00<00:00, 577kB/s]\n", "Downloading data: 100%|██████████| 1.87M/1.87M [00:00<00:00, 3.27MB/s]\n", "Downloading data: 100%|██████████| 82.8k/82.8k [00:00<00:00, 450kB/s]\n", "Downloading data: 100%|██████████| 814k/814k [00:00<00:00, 1.80MB/s]\n", "Downloading data: 100%|██████████| 1.06M/1.06M [00:00<00:00, 2.33MB/s]\n", "Downloading data: 100%|██████████| 30.6M/30.6M [00:01<00:00, 22.1MB/s]\n", "Downloading data: 100%|██████████| 57.7k/57.7k [00:00<00:00, 583kB/s]\n", "Downloading data: 100%|██████████| 3.98M/3.98M [00:00<00:00, 5.83MB/s]\n", "Downloading data: 100%|██████████| 220k/220k [00:00<00:00, 818kB/s] \n", "Downloading data: 100%|██████████| 2.59M/2.59M [00:00<00:00, 4.09MB/s]\n", "Downloading data: 100%|██████████| 568k/568k [00:00<00:00, 1.53MB/s]\n", "Downloading data: 100%|██████████| 21.0M/21.0M [00:00<00:00, 21.4MB/s]\n", "Downloading data: 100%|██████████| 659k/659k [00:00<00:00, 1.46MB/s]\n", "Downloading data: 100%|██████████| 24.2M/24.2M [00:01<00:00, 21.0MB/s]\n", "Downloading data: 100%|██████████| 294k/294k [00:00<00:00, 1.04MB/s]\n", "Downloading data: 100%|██████████| 4.88M/4.88M [00:00<00:00, 7.18MB/s]\n", "Downloading data: 100%|██████████| 684k/684k [00:00<00:00, 1.53MB/s]\n", "Downloading data: 100%|██████████| 9.55M/9.55M [00:00<00:00, 11.8MB/s]\n", "Downloading data: 100%|██████████| 209k/209k [00:00<00:00, 771kB/s] \n", "Downloading data: 100%|██████████| 14.9M/14.9M [00:00<00:00, 15.8MB/s]\n", "Downloading data: 100%|██████████| 780k/780k [00:00<00:00, 1.90MB/s]\n", "Downloading data: 100%|██████████| 33.8M/33.8M [00:05<00:00, 6.29MB/s]\n", "Downloading data: 100%|██████████| 34.3M/34.3M [00:02<00:00, 15.8MB/s]\n", "Downloading data: 100%|██████████| 103k/103k [00:00<00:00, 580kB/s] \n", "Downloading data: 100%|██████████| 3.03M/3.03M [00:00<00:00, 4.71MB/s]\n", "Downloading data: 100%|██████████| 432k/432k [00:00<00:00, 1.15MB/s]\n", "Downloading data: 100%|██████████| 30.4M/30.4M [00:01<00:00, 23.2MB/s]\n", "Downloading data: 100%|██████████| 31.4M/31.4M [00:01<00:00, 23.0MB/s]\n", "Downloading data: 100%|██████████| 96.5k/96.5k [00:00<00:00, 529kB/s]\n", "Downloading data: 100%|██████████| 664k/664k [00:00<00:00, 1.48MB/s]\n", "Downloading data: 100%|██████████| 567k/567k [00:00<00:00, 1.55MB/s]\n", "Downloading data: 100%|██████████| 34.8M/34.8M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 207k/207k [00:00<00:00, 756kB/s] \n", "Downloading data: 100%|██████████| 17.4M/17.4M [00:01<00:00, 16.7MB/s]\n", "Downloading data: 100%|██████████| 320k/320k [00:00<00:00, 1.04MB/s]\n", "Downloading data: 100%|██████████| 5.32M/5.32M [00:00<00:00, 8.06MB/s]\n", "Downloading data: 100%|██████████| 94.5k/94.5k [00:00<00:00, 529kB/s]\n", "Downloading data: 100%|██████████| 1.04M/1.04M [00:00<00:00, 1.05MB/s]\n", "Downloading data: 100%|██████████| 396k/396k [00:00<00:00, 1.08MB/s]\n", "Downloading data: 100%|██████████| 9.88M/9.88M [00:00<00:00, 12.2MB/s]\n", "Downloading data: 100%|██████████| 1.99M/1.99M [00:00<00:00, 3.55MB/s]\n", "Downloading data: 100%|██████████| 46.4M/46.4M [00:01<00:00, 28.5MB/s]\n", "Downloading data: 100%|██████████| 41.5M/41.5M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 41.4M/41.4M [00:01<00:00, 26.4MB/s]\n", "Downloading data: 100%|██████████| 43.1M/43.1M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 67.7k/67.7k [00:00<00:00, 407kB/s]\n", "Downloading data: 100%|██████████| 2.46M/2.46M [00:00<00:00, 4.29MB/s]\n", "Downloading data: 100%|██████████| 1.65M/1.65M [00:00<00:00, 2.98MB/s]\n", "Downloading data: 100%|██████████| 30.5M/30.5M [00:01<00:00, 23.3MB/s]\n", "Downloading data: 100%|██████████| 25.0M/25.0M [00:01<00:00, 21.7MB/s]\n", "Downloading data: 100%|██████████| 266k/266k [00:00<00:00, 981kB/s] \n", "Downloading data: 100%|██████████| 10.3M/10.3M [00:00<00:00, 14.2MB/s]\n", "Downloading data: 100%|██████████| 316k/316k [00:00<00:00, 884kB/s] \n", "Downloading data: 100%|██████████| 9.98M/9.98M [00:00<00:00, 12.8MB/s]\n", "Downloading data: 100%|██████████| 5.06M/5.06M [00:00<00:00, 7.66MB/s]\n", "Downloading data: 100%|██████████| 45.3M/45.3M [00:01<00:00, 27.9MB/s]\n", "Downloading data: 100%|██████████| 45.9M/45.9M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 47.8M/47.8M [00:01<00:00, 28.5MB/s]\n", "Downloading data: 100%|██████████| 24.5k/24.5k [00:00<00:00, 283kB/s]\n", "Downloading data: 100%|██████████| 712k/712k [00:01<00:00, 521kB/s]\n", "Downloading data: 100%|██████████| 78.2k/78.2k [00:00<00:00, 536kB/s]\n", "Downloading data: 100%|██████████| 1.82M/1.82M [00:00<00:00, 3.32MB/s]\n", "Downloading data: 100%|██████████| 199k/199k [00:00<00:00, 738kB/s] \n", "Downloading data: 100%|██████████| 16.3M/16.3M [00:00<00:00, 18.1MB/s]\n", "Downloading data: 100%|██████████| 163k/163k [00:00<00:00, 603kB/s] \n", "Downloading data: 100%|██████████| 2.74M/2.74M [00:00<00:00, 5.06MB/s]\n", "Downloading data: 100%|██████████| 130k/130k [00:00<00:00, 733kB/s] \n", "Downloading data: 100%|██████████| 4.58M/4.58M [00:03<00:00, 1.41MB/s]\n", "Downloading data: 100%|██████████| 274k/274k [00:00<00:00, 376kB/s]\n", "Downloading data: 100%|██████████| 12.4M/12.4M [00:05<00:00, 2.48MB/s]\n", "Downloading data: 100%|██████████| 124k/124k [00:00<00:00, 688kB/s] \n", "Downloading data: 100%|██████████| 3.37M/3.37M [00:00<00:00, 5.34MB/s]\n", "Downloading data: 100%|██████████| 419k/419k [00:00<00:00, 1.54MB/s]\n", "Downloading data: 100%|██████████| 15.4M/15.4M [00:00<00:00, 16.3MB/s]\n", "Downloading data: 100%|██████████| 981k/981k [00:00<00:00, 2.18MB/s]\n", "Downloading data: 100%|██████████| 43.9M/43.9M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 4.38M/4.38M [00:00<00:00, 6.64MB/s]\n", "Downloading data: 100%|██████████| 31.6M/31.6M [00:01<00:00, 23.6MB/s]\n", "Downloading data: 100%|██████████| 27.5M/27.5M [00:01<00:00, 22.5MB/s]\n", "Downloading data: 100%|██████████| 297k/297k [00:00<00:00, 1.04MB/s]\n", "Downloading data: 100%|██████████| 11.2M/11.2M [00:00<00:00, 11.4MB/s]\n", "Downloading data: 100%|██████████| 764k/764k [00:00<00:00, 1.67MB/s]\n", "Downloading data: 100%|██████████| 4.30M/4.30M [00:00<00:00, 6.32MB/s]\n", "Downloading data: 100%|██████████| 848k/848k [00:00<00:00, 1.85MB/s]\n", "Downloading data: 100%|██████████| 22.1M/22.1M [00:01<00:00, 20.6MB/s]\n", "Downloading data: 100%|██████████| 999k/999k [00:00<00:00, 2.16MB/s]\n", "Downloading data: 100%|██████████| 31.5M/31.5M [00:01<00:00, 24.6MB/s]\n", "Downloading data: 100%|██████████| 29.5M/29.5M [00:01<00:00, 22.6MB/s]\n", "Downloading data: 100%|██████████| 1.18M/1.18M [00:00<00:00, 2.40MB/s]\n", "Downloading data: 100%|██████████| 28.6M/28.6M [00:03<00:00, 7.45MB/s]\n", "Downloading data: 100%|██████████| 217k/217k [00:00<00:00, 790kB/s]\n", "Downloading data: 100%|██████████| 6.01M/6.01M [00:00<00:00, 8.22MB/s]\n", "Downloading data: 100%|██████████| 279k/279k [00:00<00:00, 1.07MB/s]\n", "Downloading data: 100%|██████████| 1.66M/1.66M [00:00<00:00, 3.04MB/s]\n", "Downloading data: 100%|██████████| 565k/565k [00:00<00:00, 1.53MB/s]\n", "Downloading data: 100%|██████████| 3.27M/3.27M [00:00<00:00, 5.37MB/s]\n", "Downloading data: 100%|██████████| 1.07M/1.07M [00:00<00:00, 2.18MB/s]\n", "Downloading data: 100%|██████████| 31.3M/31.3M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 24.7M/24.7M [00:07<00:00, 3.50MB/s]\n", "Downloading data: 100%|██████████| 889k/889k [00:00<00:00, 2.08MB/s]\n", "Downloading data: 100%|██████████| 19.6M/19.6M [00:01<00:00, 18.9MB/s]\n", "Downloading data: 100%|██████████| 1.18M/1.18M [00:00<00:00, 2.64MB/s]\n", "Downloading data: 100%|██████████| 30.6M/30.6M [00:01<00:00, 23.3MB/s]\n", "Downloading data: 100%|██████████| 118k/118k [00:00<00:00, 655kB/s] \n", "Downloading data: 100%|██████████| 6.38M/6.38M [00:00<00:00, 8.60MB/s]\n", "Downloading data: 100%|██████████| 155k/155k [00:00<00:00, 568kB/s] \n", "Downloading data: 100%|██████████| 4.13M/4.13M [00:00<00:00, 6.11MB/s]\n", "Downloading data: 100%|██████████| 2.11M/2.11M [00:00<00:00, 3.71MB/s]\n", "Downloading data: 100%|██████████| 17.2M/17.2M [00:00<00:00, 18.0MB/s]\n", "Downloading data: 100%|██████████| 175k/175k [00:00<00:00, 659kB/s] \n", "Downloading data: 100%|██████████| 1.43M/1.43M [00:00<00:00, 2.64MB/s]\n", "Downloading data: 100%|██████████| 40.7k/40.7k [00:00<00:00, 449kB/s]\n", "Downloading data: 100%|██████████| 375k/375k [00:00<00:00, 392kB/s]\n", "Downloading data: 100%|██████████| 964k/964k [00:00<00:00, 1.39MB/s]\n", "Downloading data: 100%|██████████| 15.3M/15.3M [00:01<00:00, 9.19MB/s]\n", "Downloading data: 100%|██████████| 224k/224k [00:00<00:00, 836kB/s] \n", "Downloading data: 100%|██████████| 2.48M/2.48M [00:00<00:00, 4.55MB/s]\n", "Downloading data: 100%|██████████| 712k/712k [00:00<00:00, 1.58MB/s]\n", "Downloading data: 100%|██████████| 16.0M/16.0M [00:00<00:00, 16.9MB/s]\n", "Downloading data: 100%|██████████| 135k/135k [00:00<00:00, 737kB/s] \n", "Downloading data: 100%|██████████| 3.79M/3.79M [00:00<00:00, 5.67MB/s]\n", "Downloading data: 100%|██████████| 1.51M/1.51M [00:00<00:00, 2.77MB/s]\n", "Downloading data: 100%|██████████| 37.3M/37.3M [00:01<00:00, 24.0MB/s]\n", "Downloading data: 100%|██████████| 84.5k/84.5k [00:00<00:00, 619kB/s]\n", "Downloading data: 100%|██████████| 1.44M/1.44M [00:01<00:00, 1.01MB/s]\n", "Downloading data: 100%|██████████| 192k/192k [00:00<00:00, 721kB/s] \n", "Downloading data: 100%|██████████| 1.41M/1.41M [00:00<00:00, 2.89MB/s]\n", "Downloading data: 100%|██████████| 262k/262k [00:00<00:00, 963kB/s] \n", "Downloading data: 100%|██████████| 5.41M/5.41M [00:00<00:00, 8.83MB/s]\n", "Downloading data: 100%|██████████| 685k/685k [00:00<00:00, 1.52MB/s]\n", "Downloading data: 100%|██████████| 26.8M/26.8M [00:01<00:00, 23.7MB/s]\n", "Downloading data: 100%|██████████| 309k/309k [00:00<00:00, 1.10MB/s]\n", "Downloading data: 100%|██████████| 5.35M/5.35M [00:00<00:00, 8.57MB/s]\n", "Downloading data: 100%|██████████| 358k/358k [00:00<00:00, 985kB/s]\n", "Downloading data: 100%|██████████| 10.9M/10.9M [00:05<00:00, 1.99MB/s]\n", "Downloading data: 100%|██████████| 892k/892k [00:00<00:00, 9.03MB/s]\n", "Downloading data: 100%|██████████| 4.86M/4.86M [00:00<00:00, 7.37MB/s]\n", "Downloading data: 100%|██████████| 355k/355k [00:00<00:00, 993kB/s] \n", "Downloading data: 100%|██████████| 25.7M/25.7M [00:01<00:00, 22.5MB/s]\n", "Downloading data: 100%|██████████| 22.6M/22.6M [00:01<00:00, 20.4MB/s]\n", "Downloading data: 100%|██████████| 315k/315k [00:00<00:00, 881kB/s] \n", "Downloading data: 100%|██████████| 6.22M/6.22M [00:00<00:00, 8.61MB/s]\n", "Downloading data: 100%|██████████| 138k/138k [00:00<00:00, 758kB/s] \n", "Downloading data: 100%|██████████| 2.13M/2.13M [00:00<00:00, 3.78MB/s]\n", "Downloading data: 100%|██████████| 7.28M/7.28M [00:00<00:00, 9.81MB/s]\n", "Downloading data: 100%|██████████| 52.4M/52.4M [00:01<00:00, 29.5MB/s]\n", "Downloading data: 100%|██████████| 40.7M/40.7M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 38.8M/38.8M [00:01<00:00, 26.7MB/s]\n", "Downloading data: 100%|██████████| 36.0M/36.0M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 36.3M/36.3M [00:09<00:00, 4.01MB/s]\n", "Downloading data: 100%|██████████| 34.1M/34.1M [00:01<00:00, 25.2MB/s]\n", "Downloading data: 100%|██████████| 35.5M/35.5M [00:01<00:00, 25.1MB/s]\n", "Downloading data: 100%|██████████| 34.4M/34.4M [00:01<00:00, 24.5MB/s]\n", "Downloading data: 100%|██████████| 35.5M/35.5M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 35.7M/35.7M [00:01<00:00, 28.9MB/s]\n", "Downloading data: 100%|██████████| 33.7M/33.7M [00:01<00:00, 24.2MB/s]\n", "Downloading data: 100%|██████████| 34.2M/34.2M [00:01<00:00, 26.8MB/s]\n", "Downloading data: 100%|██████████| 33.9M/33.9M [00:01<00:00, 24.1MB/s]\n", "Downloading data: 100%|██████████| 36.9M/36.9M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 37.7M/37.7M [00:01<00:00, 26.8MB/s]\n", "Downloading data: 100%|██████████| 36.6M/36.6M [00:01<00:00, 27.6MB/s]\n", "Downloading data: 100%|██████████| 38.0M/38.0M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 40.0M/40.0M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 46.0M/46.0M [00:01<00:00, 29.1MB/s]\n", "Downloading data: 100%|██████████| 257k/257k [00:00<00:00, 1.04MB/s]\n", "Downloading data: 100%|██████████| 11.1M/11.1M [00:00<00:00, 13.2MB/s]\n", "Downloading data: 100%|██████████| 832k/832k [00:00<00:00, 1.83MB/s]\n", "Downloading data: 100%|██████████| 36.0M/36.0M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 31.1M/31.1M [00:01<00:00, 22.1MB/s]\n", "Downloading data: 100%|██████████| 39.4M/39.4M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 31.6M/31.6M [00:01<00:00, 23.7MB/s]\n", "Downloading data: 100%|██████████| 35.5M/35.5M [00:07<00:00, 4.82MB/s]\n", "Downloading data: 100%|██████████| 424k/424k [00:00<00:00, 1.17MB/s]\n", "Downloading data: 100%|██████████| 17.1M/17.1M [00:00<00:00, 17.2MB/s]\n", "Downloading data: 100%|██████████| 4.32M/4.32M [00:00<00:00, 6.02MB/s]\n", "Downloading data: 100%|██████████| 1.61M/1.61M [00:00<00:00, 2.71MB/s]\n", "Downloading data: 100%|██████████| 2.72M/2.72M [00:00<00:00, 4.33MB/s]\n", "Downloading data: 100%|██████████| 29.4M/29.4M [00:01<00:00, 22.5MB/s]\n", "Downloading data: 100%|██████████| 41.5M/41.5M [00:01<00:00, 21.1MB/s]\n", "Downloading data: 100%|██████████| 38.6M/38.6M [00:01<00:00, 26.0MB/s]\n", "Downloading data: 100%|██████████| 3.51M/3.51M [00:00<00:00, 5.35MB/s]\n", "Downloading data: 100%|██████████| 191k/191k [00:00<00:00, 705kB/s] \n", "Downloading data: 100%|██████████| 1.28M/1.28M [00:00<00:00, 2.69MB/s]\n", "Downloading data: 100%|██████████| 56.6k/56.6k [00:00<00:00, 667kB/s]\n", "Downloading data: 100%|██████████| 1.54M/1.54M [00:00<00:00, 2.82MB/s]\n", "Downloading data: 100%|██████████| 709k/709k [00:00<00:00, 1.58MB/s]\n", "Downloading data: 100%|██████████| 43.6M/43.6M [00:01<00:00, 28.5MB/s]\n", "Downloading data: 100%|██████████| 1.28M/1.28M [00:00<00:00, 2.38MB/s]\n", "Downloading data: 100%|██████████| 21.3M/21.3M [00:01<00:00, 20.1MB/s]\n", "Downloading data: 100%|██████████| 918k/918k [00:00<00:00, 1.99MB/s]\n", "Downloading data: 100%|██████████| 44.6M/44.6M [00:06<00:00, 6.89MB/s]\n", "Downloading data: 100%|██████████| 194k/194k [00:00<00:00, 726kB/s] \n", "Downloading data: 100%|██████████| 1.39M/1.39M [00:00<00:00, 2.59MB/s]\n", "Downloading data: 100%|██████████| 178k/178k [00:00<00:00, 940kB/s] \n", "Downloading data: 100%|██████████| 2.55M/2.55M [00:00<00:00, 4.26MB/s]\n", "Downloading data: 100%|██████████| 324k/324k [00:00<00:00, 898kB/s]\n", "Downloading data: 100%|██████████| 12.5M/12.5M [00:00<00:00, 13.9MB/s]\n", "Downloading data: 100%|██████████| 121k/121k [00:00<00:00, 838kB/s] \n", "Downloading data: 100%|██████████| 2.50M/2.50M [00:00<00:00, 4.04MB/s]\n", "Downloading data: 100%|██████████| 347k/347k [00:00<00:00, 966kB/s]\n", "Downloading data: 100%|██████████| 3.94M/3.94M [00:00<00:00, 5.98MB/s]\n", "Downloading data: 100%|██████████| 134k/134k [00:00<00:00, 593kB/s] \n", "Downloading data: 100%|██████████| 2.75M/2.75M [00:00<00:00, 4.39MB/s]\n", "Downloading data: 100%|██████████| 631k/631k [00:00<00:00, 1.33MB/s]\n", "Downloading data: 100%|██████████| 11.7M/11.7M [00:00<00:00, 14.1MB/s]\n", "Downloading data: 100%|██████████| 784k/784k [00:00<00:00, 1.74MB/s]\n", "Downloading data: 100%|██████████| 21.8M/21.8M [00:01<00:00, 19.8MB/s]\n", "Downloading data: 100%|██████████| 76.5k/76.5k [00:00<00:00, 467kB/s]\n", "Downloading data: 100%|██████████| 3.15M/3.15M [00:00<00:00, 4.89MB/s]\n", "Downloading data: 100%|██████████| 512k/512k [00:00<00:00, 1.41MB/s]\n", "Downloading data: 100%|██████████| 7.64M/7.64M [00:00<00:00, 11.0MB/s]\n", "Downloading data: 100%|██████████| 854k/854k [00:00<00:00, 1.84MB/s]\n", "Downloading data: 100%|██████████| 44.8M/44.8M [00:01<00:00, 28.8MB/s]\n", "Downloading data: 100%|██████████| 1.36M/1.36M [00:00<00:00, 2.50MB/s]\n", "Downloading data: 100%|██████████| 44.9M/44.9M [00:01<00:00, 27.9MB/s]\n", "Downloading data: 100%|██████████| 3.89M/3.89M [00:00<00:00, 6.93MB/s]\n", "Downloading data: 100%|██████████| 44.2M/44.2M [00:01<00:00, 38.6MB/s]\n", "Downloading data: 100%|██████████| 39.1M/39.1M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 35.9M/35.9M [00:01<00:00, 21.7MB/s]\n", "Downloading data: 100%|██████████| 36.8M/36.8M [00:01<00:00, 25.6MB/s]\n", "Downloading data: 100%|██████████| 38.0M/38.0M [00:01<00:00, 23.1MB/s]\n", "Downloading data: 100%|██████████| 343k/343k [00:00<00:00, 948kB/s]\n", "Downloading data: 100%|██████████| 15.0M/15.0M [00:00<00:00, 16.9MB/s]\n", "Downloading data: 100%|██████████| 119k/119k [00:00<00:00, 1.08MB/s]\n", "Downloading data: 100%|██████████| 2.81M/2.81M [00:00<00:00, 4.41MB/s]\n", "Downloading data: 100%|██████████| 1.76M/1.76M [00:00<00:00, 3.64MB/s]\n", "Downloading data: 100%|██████████| 38.5M/38.5M [00:01<00:00, 27.0MB/s]\n", "Downloading data: 100%|██████████| 169k/169k [00:00<00:00, 695kB/s] \n", "Downloading data: 100%|██████████| 2.97M/2.97M [00:00<00:00, 8.17MB/s]\n", "Downloading data: 100%|██████████| 1.80M/1.80M [00:00<00:00, 3.42MB/s]\n", "Downloading data: 100%|██████████| 36.0M/36.0M [00:01<00:00, 22.0MB/s]\n", "Downloading data: 100%|██████████| 181k/181k [00:00<00:00, 666kB/s] \n", "Downloading data: 100%|██████████| 11.5M/11.5M [00:00<00:00, 13.2MB/s]\n", "Downloading data: 100%|██████████| 257k/257k [00:00<00:00, 959kB/s] \n", "Downloading data: 100%|██████████| 5.27M/5.27M [00:00<00:00, 6.43MB/s]\n", "Downloading data: 100%|██████████| 491k/491k [00:00<00:00, 1.31MB/s]\n", "Downloading data: 100%|██████████| 20.8M/20.8M [00:01<00:00, 14.2MB/s]\n", "Downloading data: 100%|██████████| 511k/511k [00:00<00:00, 1.26MB/s]\n", "Downloading data: 100%|██████████| 13.4M/13.4M [00:05<00:00, 2.42MB/s]\n", "Downloading data: 100%|██████████| 148k/148k [00:00<00:00, 405kB/s]\n", "Downloading data: 100%|██████████| 5.34M/5.34M [00:00<00:00, 7.90MB/s]\n", "Downloading data: 100%|██████████| 177k/177k [00:00<00:00, 788kB/s] \n", "Downloading data: 100%|██████████| 4.51M/4.51M [00:00<00:00, 6.82MB/s]\n", "Downloading data: 100%|██████████| 5.30M/5.30M [00:00<00:00, 7.71MB/s]\n", "Downloading data: 100%|██████████| 38.5M/38.5M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 33.3M/33.3M [00:01<00:00, 24.9MB/s]\n", "Downloading data: 100%|██████████| 36.8M/36.8M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 214k/214k [00:00<00:00, 802kB/s] \n", "Downloading data: 100%|██████████| 22.9M/22.9M [00:01<00:00, 21.8MB/s]\n", "Downloading data: 100%|██████████| 122k/122k [00:00<00:00, 785kB/s] \n", "Downloading data: 100%|██████████| 7.10M/7.10M [00:00<00:00, 9.37MB/s]\n", "Downloading data: 100%|██████████| 585k/585k [00:00<00:00, 2.46MB/s]\n", "Downloading data: 100%|██████████| 24.1M/24.1M [00:01<00:00, 22.5MB/s]\n", "Downloading data: 100%|██████████| 23.8M/23.8M [00:01<00:00, 20.7MB/s]\n", "Downloading data: 100%|██████████| 228k/228k [00:00<00:00, 862kB/s] \n", "Downloading data: 100%|██████████| 7.76M/7.76M [00:00<00:00, 10.1MB/s]\n", "Downloading data: 100%|██████████| 4.59M/4.59M [00:00<00:00, 6.93MB/s]\n", "Downloading data: 100%|██████████| 46.2M/46.2M [00:01<00:00, 27.6MB/s]\n", "Downloading data: 100%|██████████| 44.1M/44.1M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 1.09M/1.09M [00:00<00:00, 2.26MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 36.8M/36.8M [00:01<00:00, 26.5MB/s]\n", "Downloading data: 100%|██████████| 44.4M/44.4M [00:02<00:00, 17.4MB/s]\n", "Downloading data: 100%|██████████| 36.2M/36.2M [00:01<00:00, 21.7MB/s]\n", "Downloading data: 100%|██████████| 38.8M/38.8M [00:01<00:00, 25.9MB/s]\n", "Downloading data: 100%|██████████| 42.2M/42.2M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 41.2M/41.2M [00:01<00:00, 25.7MB/s]\n", "Downloading data: 100%|██████████| 314k/314k [00:00<00:00, 21.4MB/s]\n", "Downloading data: 100%|██████████| 37.4M/37.4M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 102k/102k [00:00<00:00, 784kB/s] \n", "Downloading data: 100%|██████████| 6.07M/6.07M [00:00<00:00, 7.32MB/s]\n", "Downloading data: 100%|██████████| 2.07M/2.07M [00:00<00:00, 3.63MB/s]\n", "Downloading data: 100%|██████████| 15.8M/15.8M [00:00<00:00, 16.8MB/s]\n", "Downloading data: 100%|██████████| 3.31M/3.31M [00:00<00:00, 5.17MB/s]\n", "Downloading data: 100%|██████████| 49.9M/49.9M [00:01<00:00, 28.6MB/s]\n", "Downloading data: 100%|██████████| 40.6M/40.6M [00:01<00:00, 26.6MB/s]\n", "Downloading data: 100%|██████████| 42.9M/42.9M [00:01<00:00, 27.6MB/s]\n", "Downloading data: 100%|██████████| 686k/686k [00:00<00:00, 1.49MB/s]\n", "Downloading data: 100%|██████████| 9.37M/9.37M [00:00<00:00, 11.5MB/s]\n", "Downloading data: 100%|██████████| 185k/185k [00:00<00:00, 797kB/s] \n", "Downloading data: 100%|██████████| 12.1M/12.1M [00:00<00:00, 13.8MB/s]\n", "Downloading data: 100%|██████████| 801k/801k [00:00<00:00, 1.46MB/s]\n", "Downloading data: 100%|██████████| 20.2M/20.2M [00:00<00:00, 21.4MB/s]\n", "Downloading data: 100%|██████████| 614k/614k [00:00<00:00, 1.62MB/s]\n", "Downloading data: 100%|██████████| 11.3M/11.3M [00:00<00:00, 13.0MB/s]\n", "Downloading data: 100%|██████████| 335k/335k [00:00<00:00, 922kB/s]\n", "Downloading data: 100%|██████████| 4.15M/4.15M [00:00<00:00, 6.21MB/s]\n", "Downloading data: 100%|██████████| 140k/140k [00:00<00:00, 1.26MB/s]\n", "Downloading data: 100%|██████████| 13.0M/13.0M [00:00<00:00, 15.0MB/s]\n", "Downloading data: 100%|██████████| 1.03M/1.03M [00:00<00:00, 2.18MB/s]\n", "Downloading data: 100%|██████████| 1.80M/1.80M [00:00<00:00, 3.23MB/s]\n", "Downloading data: 100%|██████████| 32.8M/32.8M [00:01<00:00, 23.8MB/s]\n", "Downloading data: 100%|██████████| 31.0M/31.0M [00:01<00:00, 25.3MB/s]\n", "Downloading data: 100%|██████████| 32.6M/32.6M [00:01<00:00, 24.7MB/s]\n", "Downloading data: 100%|██████████| 25.3k/25.3k [00:00<00:00, 303kB/s]\n", "Downloading data: 100%|██████████| 463k/463k [00:00<00:00, 1.42MB/s]\n", "Downloading data: 100%|██████████| 43.5M/43.5M [00:02<00:00, 16.5MB/s]\n", "Downloading data: 100%|██████████| 41.1M/41.1M [00:01<00:00, 26.1MB/s]\n", "Downloading data: 100%|██████████| 42.9M/42.9M [00:01<00:00, 24.2MB/s]\n", "Downloading data: 100%|██████████| 43.5M/43.5M [00:01<00:00, 27.9MB/s]\n", "Downloading data: 100%|██████████| 45.1M/45.1M [00:01<00:00, 27.5MB/s]\n", "Downloading data: 100%|██████████| 43.8M/43.8M [00:01<00:00, 26.8MB/s]\n", "Downloading data: 100%|██████████| 167k/167k [00:00<00:00, 636kB/s] \n", "Downloading data: 100%|██████████| 3.46M/3.46M [00:00<00:00, 5.39MB/s]\n", "Downloading data: 100%|██████████| 2.36M/2.36M [00:00<00:00, 4.05MB/s]\n", "Downloading data: 100%|██████████| 32.7M/32.7M [00:01<00:00, 23.4MB/s]\n", "Downloading data: 100%|██████████| 32.2M/32.2M [00:05<00:00, 5.67MB/s]\n", "Downloading data: 100%|██████████| 30.9M/30.9M [00:01<00:00, 23.6MB/s]\n", "Downloading data: 100%|██████████| 32.5M/32.5M [00:01<00:00, 24.4MB/s]\n", "Downloading data: 100%|██████████| 31.5M/31.5M [00:01<00:00, 24.5MB/s]\n", "Downloading data: 100%|██████████| 22.9k/22.9k [00:00<00:00, 262kB/s]\n", "Downloading data: 100%|██████████| 523k/523k [00:00<00:00, 1.41MB/s]\n", "Downloading data: 100%|██████████| 89.1k/89.1k [00:00<00:00, 486kB/s]\n", "Downloading data: 100%|██████████| 2.22M/2.22M [00:00<00:00, 4.25MB/s]\n", "Downloading data: 100%|██████████| 1.80M/1.80M [00:00<00:00, 3.25MB/s]\n", "Downloading data: 100%|██████████| 38.0M/38.0M [00:01<00:00, 25.4MB/s]\n", "Downloading data: 100%|██████████| 190k/190k [00:00<00:00, 691kB/s]\n", "Downloading data: 100%|██████████| 4.69M/4.69M [00:03<00:00, 1.20MB/s]\n", "Downloading data: 100%|██████████| 177k/177k [00:00<00:00, 655kB/s] \n", "Downloading data: 100%|██████████| 2.82M/2.82M [00:00<00:00, 4.42MB/s]\n", "Downloading data: 100%|██████████| 1.58M/1.58M [00:00<00:00, 2.86MB/s]\n", "Downloading data: 100%|██████████| 39.8M/39.8M [00:01<00:00, 24.3MB/s]\n", "Downloading data: 100%|██████████| 37.7M/37.7M [00:01<00:00, 25.0MB/s]\n", "Downloading data: 100%|██████████| 35.8M/35.8M [00:01<00:00, 25.8MB/s]\n", "Downloading data: 100%|██████████| 36.6M/36.6M [00:01<00:00, 24.5MB/s]\n", "Downloading data: 100%|██████████| 615k/615k [00:00<00:00, 1.83MB/s]\n", "Downloading data: 100%|██████████| 48.7M/48.7M [00:01<00:00, 27.5MB/s]\n", "Downloading data: 100%|██████████| 145k/145k [00:00<00:00, 780kB/s] \n", "Downloading data: 100%|██████████| 1.04M/1.04M [00:00<00:00, 2.24MB/s]\n", "Downloading data: 100%|██████████| 190k/190k [00:00<00:00, 710kB/s] \n", "Downloading data: 100%|██████████| 6.48M/6.48M [00:00<00:00, 8.68MB/s]\n", "Downloading data: 100%|██████████| 406k/406k [00:00<00:00, 1.13MB/s]\n", "Downloading data: 100%|██████████| 13.0M/13.0M [00:00<00:00, 14.8MB/s]\n", "Downloading data: 100%|██████████| 407k/407k [00:01<00:00, 377kB/s]\n", "Downloading data: 100%|██████████| 21.8M/21.8M [00:01<00:00, 20.5MB/s]\n", "Downloading data: 100%|██████████| 97.0k/97.0k [00:00<00:00, 722kB/s]\n", "Downloading data: 100%|██████████| 1.12M/1.12M [00:00<00:00, 2.24MB/s]\n", "Downloading data: 100%|██████████| 121k/121k [00:00<00:00, 378kB/s]\n", "Downloading data: 100%|██████████| 4.72M/4.72M [00:00<00:00, 7.99MB/s]\n", "Downloading data: 100%|██████████| 1.03M/1.03M [00:00<00:00, 2.15MB/s]\n", "Downloading data: 100%|██████████| 24.4M/24.4M [00:01<00:00, 21.6MB/s]\n", "Downloading data: 100%|██████████| 23.1M/23.1M [00:01<00:00, 19.1MB/s]\n", "Downloading data: 100%|██████████| 2.74M/2.74M [00:02<00:00, 1.04MB/s]\n", "Downloading data: 100%|██████████| 44.2M/44.2M [00:01<00:00, 26.9MB/s]\n", "Downloading data: 100%|██████████| 47.1M/47.1M [00:01<00:00, 27.8MB/s]\n", "Downloading data: 100%|██████████| 4.67M/4.67M [00:00<00:00, 6.86MB/s]\n", "Downloading data: 100%|██████████| 50.2M/50.2M [00:01<00:00, 28.9MB/s]\n", "Downloading data: 100%|██████████| 45.4M/45.4M [00:01<00:00, 23.6MB/s]\n", "Downloading data: 100%|██████████| 44.8M/44.8M [00:01<00:00, 27.7MB/s]\n", "Downloading data: 100%|██████████| 44.7M/44.7M [00:01<00:00, 28.0MB/s]\n", "Downloading data: 100%|██████████| 1.28M/1.28M [00:00<00:00, 2.66MB/s]\n", "Downloading data: 100%|██████████| 34.3M/34.3M [00:01<00:00, 24.9MB/s]\n", "Downloading data files: 100%|██████████| 1/1 [33:20<00:00, 2000.13s/it]\n", "Extracting data files: 100%|██████████| 1/1 [00:00<00:00, 2.19it/s]\n", " \r" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Dataset parquet downloaded and prepared to /Users/armelzebaze/.cache/huggingface/datasets/HuggingFaceH4___parquet/HuggingFaceH4--stack-exchange-preferences-1d2bff9ecb5ffe2a/0.0.0/2a3b91fbd88a2c90d1dbbb32b460cf621d31bd5b05b934492fdef7d8d6f236ec. Subsequent calls will reuse this data.\n" ] }, { "data": { "text/plain": [ "Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata'],\n", " num_rows: 10807695\n", "})" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds = load_dataset(\"HuggingFaceH4/stack-exchange-preferences\", split=\"train\", num_proc=16)\n", "ds" ] }, { "cell_type": "code", "execution_count": 5, "id": "0d8d8729-6d6b-4791-a24a-cb112c399bd0", "metadata": { "id": "0d8d8729-6d6b-4791-a24a-cb112c399bd0", "outputId": "9fd34d08-0470-4d3c-da3b-1ab0683e56f4" }, "outputs": [ { "data": { "text/html": [ "

I have been wanting to learn about 3D printing a long time so I really want this site to succeed but I have no previous experience with the subject.

\n", "\n", "

I was wondering how can I help the site at this early stage. I thought about asking about how to get started with 3D printing but SE explicitly discourages \"easy\" questions in the private beta.

\n", "\n", "

What can newbies like me do for the site at this stage besides voting questions and answers?

\n" ], "text/plain": [ "" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "HTML(ds[0][\"question\"])" ] }, { "cell_type": "code", "execution_count": 6, "id": "b3b60caa-3bd9-4033-ab1c-90c5b08ef3ec", "metadata": { "id": "b3b60caa-3bd9-4033-ab1c-90c5b08ef3ec" }, "outputs": [], "source": [ "def lang_callback(el):\n", " lang = el['class'][0] if el.has_attr('class') else None\n", " \n", " if not lang is None:\n", " lang = lang.split(\"-\")[-1]\n", " return lang" ] }, { "cell_type": "code", "execution_count": 7, "id": "de1123a0-7468-4d13-a8d3-4011ace36c3c", "metadata": { "id": "de1123a0-7468-4d13-a8d3-4011ace36c3c" }, "outputs": [], "source": [ "def html2md(text):\n", " text = md(text, code_language_callback=lang_callback)\n", " text = re.sub(r\"\\n\\s*\\n\", \"\\n\\n\", text).strip()\n", " return text.encode('utf-8', 'replace').decode()" ] }, { "cell_type": "code", "execution_count": 8, "id": "c9da64a0-c753-4d35-9369-b70a7a9fa2f9", "metadata": { "id": "c9da64a0-c753-4d35-9369-b70a7a9fa2f9", "outputId": "67bf7330-0740-4251-837b-1b5e82649fd9" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "I have been wanting to learn about 3D printing a long time so I really want this site to succeed but I have no previous experience with the subject. \n", "\n", "I was wondering how can I help the site at this early stage. I thought about asking about how to get started with 3D printing but SE explicitly discourages \"easy\" questions in the private beta.\n", "\n", "What can newbies like me do for the site at this stage besides voting questions and answers?\n", "====================\n" ] } ], "source": [ "for i in range(1):\n", " text = html2md(ds[i][\"question\"])\n", " print(text)\n", " print(\"==\"*10)" ] }, { "cell_type": "code", "execution_count": 9, "id": "3bf33a2f-fed5-49e7-8046-e813ad172b17", "metadata": { "id": "3bf33a2f-fed5-49e7-8046-e813ad172b17", "outputId": "d8f2ce03-d970-435b-ea36-15cdc10317d1" }, "outputs": [ { "data": { "text/plain": [ "49.935" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "np.mean([len(ds[i][\"answers\"])*(len(ds[i][\"answers\"])-1)/2 for i in range(10000)])" ] }, { "cell_type": "code", "execution_count": 10, "id": "88ea2dd5-b885-4f65-bae3-1319c7816044", "metadata": { "id": "88ea2dd5-b885-4f65-bae3-1319c7816044" }, "outputs": [], "source": [ "ds = ds.shuffle(seed=42)\n", "index = list(range(len(ds)))\n", "\n", "ds_splits = DatasetDict({\n", " \"finetune\": ds.select(index[:3_000_000]),\n", " \"reward\": ds.select(index[3_000_000:6_000_000]),\n", " \"rl\": ds.select(index[6_000_000:9_000_000]),\n", " \"evaluation\": ds.select(index[9_000_000:]),\n", "})" ] }, { "cell_type": "code", "execution_count": 11, "id": "1607922d-f585-4de7-be70-2205b5170102", "metadata": { "id": "1607922d-f585-4de7-be70-2205b5170102", "outputId": "0b1a29e4-197e-409a-a175-a3f3214f6d9e" }, "outputs": [ { "data": { "text/plain": [ "DatasetDict({\n", " finetune: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata'],\n", " num_rows: 3000000\n", " })\n", " reward: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata'],\n", " num_rows: 3000000\n", " })\n", " rl: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata'],\n", " num_rows: 3000000\n", " })\n", " evaluation: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata'],\n", " num_rows: 1807695\n", " })\n", "})" ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds_splits" ] }, { "cell_type": "code", "execution_count": 48, "id": "edc8af18-94a5-49e9-ae73-ce4ba81d9739", "metadata": { "id": "edc8af18-94a5-49e9-ae73-ce4ba81d9739" }, "outputs": [], "source": [ "def get_best_answer(answers):\n", " \"\"\"return the best answer, that is, the one with the highest score\"\"\"\n", " best_index = 0\n", " best_score = answers[0][\"pm_score\"]\n", " for i in range(1, len(answers)):\n", " if answers[i][\"pm_score\"] > best_score :\n", " best_score = answers[i][\"pm_score\"]\n", " best_index = i\n", " return answers[best_index][\"text\"]" ] }, { "cell_type": "code", "execution_count": 50, "id": "5c838ab0", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "

Looking at the library code, seems all events are renamed removing 'fileupload' ... so 'fileuploaddone' becomes just 'done'. It is valid for all other callbacks.\n", "look at this section:

\n", "\n", "
    // Other callbacks:\n",
            "    // Callback for the submit event of each file upload:\n",
            "    // submit: function (e, data) {}, // .bind('fileuploadsubmit', func);\n",
            "    // Callback for the start of each file upload request:\n",
            "    // send: function (e, data) {}, // .bind('fileuploadsend', func);\n",
            "    // Callback for successful uploads:\n",
            "    // done: function (e, data) {}, // .bind('fileuploaddone', func);\n",
            "    // Callback for failed (abort or error) uploads:\n",
            "    // fail: function (e, data) {}, // .bind('fileuploadfail', func);\n",
            "    // Callback for completed (success, abort or error) requests:\n",
            "    // always: function (e, data) {}, // .bind('fileuploadalways', func);\n",
            "    // Callback for upload progress events:\n",
            "    // progress: function (e, data) {}, // .bind('fileuploadprogress', func);\n",
            "    // Callback for global upload progress events:\n",
            "    // progressall: function (e, data) {}, // .bind('fileuploadprogressall', func);\n",
            "    // Callback for uploads start, equivalent to the global ajaxStart event:\n",
            "    // start: function (e) {}, // .bind('fileuploadstart', func);\n",
            "    // Callback for uploads stop, equivalent to the global ajaxStop event:\n",
            "    // stop: function (e) {}, // .bind('fileuploadstop', func);\n",
            "    // Callback for change events of the fileInput(s):\n",
            "    // change: function (e, data) {}, // .bind('fileuploadchange', func);\n",
            "    // Callback for paste events to the pasteZone(s):\n",
            "    // paste: function (e, data) {}, // .bind('fileuploadpaste', func);\n",
            "    // Callback for drop events of the dropZone(s):\n",
            "    // drop: function (e, data) {}, // .bind('fileuploaddrop', func);\n",
            "    // Callback for dragover events of the dropZone(s):\n",
            "    // dragover: function (e) {}, // .bind('fileuploaddragover', func);\n",
            "
\n", "\n", "

If you have some doubts about what's happening, just look at the code inside. This library is not compressed so it is easy to see. for example

\n", "\n", "
// start: function (e) {}, // .bind('fileuploadstart', func);\n",
            "
\n", "\n", "

start callback is implemented. fileuploadstart is not.

\n", "\n" ] } ], "source": [ "print(get_best_answer(ds_splits[\"finetune\"][0][\"answers\"]))" ] }, { "cell_type": "code", "execution_count": 66, "id": "5fb206a0", "metadata": {}, "outputs": [], "source": [ "def preprocess(examples):\n", " \"\"\"Cleans HTML and returns the best answer per question.\"\"\"\n", " \n", " n_samples = len(examples[\"qid\"])\n", " # initialize empty lists for new samples\n", " new_examples = {\"question\": [], \"response\": []}\n", " for key in examples:\n", " new_examples[key] = []\n", " \n", " for sample_id in range(n_samples):\n", " # get the best answer among all the answers\n", " best_answer = get_best_answer(examples[\"answers\"][sample_id])\n", "\n", " # construct the new sample\n", " for key in examples:\n", " if key == \"question\":\n", " new_examples[key].append(html2md(examples[key][sample_id]))\n", " else:\n", " new_examples[key].append(examples[key][sample_id])\n", " new_examples[\"response\"].append(html2md(best_answer))\n", "\n", " return new_examples" ] }, { "cell_type": "code", "execution_count": 68, "id": "ac06aac5-3953-4321-9f1e-6ff210bee82d", "metadata": { "colab": { "referenced_widgets": [ "" ] }, "id": "ac06aac5-3953-4321-9f1e-6ff210bee82d", "outputId": "6ecd76f8-de83-45c3-8e9b-4e8d33a013b5" }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ " \r" ] } ], "source": [ "ds_result = ds_splits.map(preprocess, batch_size=1000, batched=True, num_proc=60)" ] }, { "cell_type": "code", "execution_count": 69, "id": "06e3d891-ffde-4762-95d5-39658a1127ef", "metadata": { "id": "06e3d891-ffde-4762-95d5-39658a1127ef", "outputId": "5d5f8c43-583d-4d3f-85a9-16123a6dcd96" }, "outputs": [ { "data": { "text/plain": [ "DatasetDict({\n", " finetune: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata', 'response'],\n", " num_rows: 3000000\n", " })\n", " reward: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata', 'response'],\n", " num_rows: 3000000\n", " })\n", " rl: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata', 'response'],\n", " num_rows: 3000000\n", " })\n", " evaluation: Dataset({\n", " features: ['qid', 'question', 'answers', 'date', 'metadata', 'response'],\n", " num_rows: 1807695\n", " })\n", "})" ] }, "execution_count": 69, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds_result" ] }, { "cell_type": "code", "execution_count": 70, "id": "631416dc-cf19-485d-a2f3-94c9b2cb2bfc", "metadata": { "id": "631416dc-cf19-485d-a2f3-94c9b2cb2bfc", "outputId": "5d20bc6a-5640-4884-ecd6-bb15632e87b6" }, "outputs": [ { "data": { "text/plain": [ "{'qid': 12891264,\n", " 'question': \"I am using jQuery fileupload plugin and I want to do some custom jQuery stuff once fileupload is done\\n\\nfrom here \\n\\nNow it says this\\n\\n```\\nCallback for successful upload requests.\\n$('#fileupload')\\n .bind('fileuploaddone', function (e, data) {/* ... */})\\n\\n```\\n\\nNow I have defined this custom function for testing in my own js file\\n\\n```\\n$('#fileupload').bind('fileuploaddone', function (e, data) {/* ... */\\nalert('Hello');\\n})\\n\\n```\\n\\nBut it's not working.\\n\\nBut if I edit the main file in here\\n\\n```\\n // Callback for successful uploads:\\n done: function (e, data) {\\n\\n```\\n\\nThen it works.\",\n", " 'answers': [{'answer_id': 12891484,\n", " 'author': 'Reflective',\n", " 'author_id': 1686626,\n", " 'author_profile': 'https://Stackoverflow.com/users/1686626',\n", " 'pm_score': 4,\n", " 'selected': True,\n", " 'text': \"

Looking at the library code, seems all events are renamed removing 'fileupload' ... so 'fileuploaddone' becomes just 'done'. It is valid for all other callbacks.\\nlook at this section:

\\n\\n
    // Other callbacks:\\n    // Callback for the submit event of each file upload:\\n    // submit: function (e, data) {}, // .bind('fileuploadsubmit', func);\\n    // Callback for the start of each file upload request:\\n    // send: function (e, data) {}, // .bind('fileuploadsend', func);\\n    // Callback for successful uploads:\\n    // done: function (e, data) {}, // .bind('fileuploaddone', func);\\n    // Callback for failed (abort or error) uploads:\\n    // fail: function (e, data) {}, // .bind('fileuploadfail', func);\\n    // Callback for completed (success, abort or error) requests:\\n    // always: function (e, data) {}, // .bind('fileuploadalways', func);\\n    // Callback for upload progress events:\\n    // progress: function (e, data) {}, // .bind('fileuploadprogress', func);\\n    // Callback for global upload progress events:\\n    // progressall: function (e, data) {}, // .bind('fileuploadprogressall', func);\\n    // Callback for uploads start, equivalent to the global ajaxStart event:\\n    // start: function (e) {}, // .bind('fileuploadstart', func);\\n    // Callback for uploads stop, equivalent to the global ajaxStop event:\\n    // stop: function (e) {}, // .bind('fileuploadstop', func);\\n    // Callback for change events of the fileInput(s):\\n    // change: function (e, data) {}, // .bind('fileuploadchange', func);\\n    // Callback for paste events to the pasteZone(s):\\n    // paste: function (e, data) {}, // .bind('fileuploadpaste', func);\\n    // Callback for drop events of the dropZone(s):\\n    // drop: function (e, data) {}, // .bind('fileuploaddrop', func);\\n    // Callback for dragover events of the dropZone(s):\\n    // dragover: function (e) {}, // .bind('fileuploaddragover', func);\\n
\\n\\n

If you have some doubts about what's happening, just look at the code inside. This library is not compressed so it is easy to see. for example

\\n\\n
// start: function (e) {}, // .bind('fileuploadstart', func);\\n
\\n\\n

start callback is implemented. fileuploadstart is not.

\\n\"},\n", " {'answer_id': 15419140,\n", " 'author': 'NXT',\n", " 'author_id': 1554649,\n", " 'author_profile': 'https://Stackoverflow.com/users/1554649',\n", " 'pm_score': 3,\n", " 'selected': False,\n", " 'text': '

Check if the server-side uploading script returns a JSON reply - in my case it didn\\'t work when the reply was empty, but file was uploaded successfully.

\\n\\n

So, below is working for me with jQuery 1.9.1 and the newest version of the \"jQuery File Upload Plugin\" - 5.21.3

\\n\\n
$(\"#fileupload\").bind(\"fileuploaddone\", function (e, data) {\\n    console.log(\"fileuploaddone event fired\");\\n});\\n
\\n'}],\n", " 'date': '2012/10/15',\n", " 'metadata': ['https://Stackoverflow.com/questions/12891264',\n", " 'https://Stackoverflow.com',\n", " 'https://Stackoverflow.com/users/767244/'],\n", " 'response': \"Looking at the library code, seems all events are renamed removing 'fileupload' ... so 'fileuploaddone' becomes just 'done'. It is valid for all other callbacks.\\nlook at this section:\\n\\n```\\n // Other callbacks:\\n // Callback for the submit event of each file upload:\\n // submit: function (e, data) {}, // .bind('fileuploadsubmit', func);\\n // Callback for the start of each file upload request:\\n // send: function (e, data) {}, // .bind('fileuploadsend', func);\\n // Callback for successful uploads:\\n // done: function (e, data) {}, // .bind('fileuploaddone', func);\\n // Callback for failed (abort or error) uploads:\\n // fail: function (e, data) {}, // .bind('fileuploadfail', func);\\n // Callback for completed (success, abort or error) requests:\\n // always: function (e, data) {}, // .bind('fileuploadalways', func);\\n // Callback for upload progress events:\\n // progress: function (e, data) {}, // .bind('fileuploadprogress', func);\\n // Callback for global upload progress events:\\n // progressall: function (e, data) {}, // .bind('fileuploadprogressall', func);\\n // Callback for uploads start, equivalent to the global ajaxStart event:\\n // start: function (e) {}, // .bind('fileuploadstart', func);\\n // Callback for uploads stop, equivalent to the global ajaxStop event:\\n // stop: function (e) {}, // .bind('fileuploadstop', func);\\n // Callback for change events of the fileInput(s):\\n // change: function (e, data) {}, // .bind('fileuploadchange', func);\\n // Callback for paste events to the pasteZone(s):\\n // paste: function (e, data) {}, // .bind('fileuploadpaste', func);\\n // Callback for drop events of the dropZone(s):\\n // drop: function (e, data) {}, // .bind('fileuploaddrop', func);\\n // Callback for dragover events of the dropZone(s):\\n // dragover: function (e) {}, // .bind('fileuploaddragover', func);\\n\\n```\\n\\nIf you have some doubts about what's happening, just look at the code inside. This library is not compressed so it is easy to see. for example\\n\\n```\\n// start: function (e) {}, // .bind('fileuploadstart', func);\\n\\n```\\n\\n`start` callback is implemented. `fileuploadstart` is not.\"}" ] }, "execution_count": 70, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds_result[\"finetune\"][0]" ] }, { "cell_type": "code", "execution_count": 71, "id": "2c96653b-7a5a-4cae-a327-b6aa77aa5850", "metadata": { "id": "2c96653b-7a5a-4cae-a327-b6aa77aa5850" }, "outputs": [], "source": [ "ds_result = ds_result.remove_columns([\"answers\"])" ] }, { "cell_type": "code", "execution_count": 72, "id": "15c2e5ee-7c7d-4e98-9e63-e5d37a9354aa", "metadata": { "id": "15c2e5ee-7c7d-4e98-9e63-e5d37a9354aa", "outputId": "9116f596-7fe5-4c03-86de-a5b83338c895" }, "outputs": [ { "data": { "text/plain": [ "DatasetDict({\n", " finetune: Dataset({\n", " features: ['qid', 'question', 'date', 'metadata', 'response'],\n", " num_rows: 3000000\n", " })\n", " reward: Dataset({\n", " features: ['qid', 'question', 'date', 'metadata', 'response'],\n", " num_rows: 3000000\n", " })\n", " rl: Dataset({\n", " features: ['qid', 'question', 'date', 'metadata', 'response'],\n", " num_rows: 3000000\n", " })\n", " evaluation: Dataset({\n", " features: ['qid', 'question', 'date', 'metadata', 'response'],\n", " num_rows: 1807695\n", " })\n", "})" ] }, "execution_count": 72, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds_result" ] }, { "cell_type": "code", "execution_count": 73, "id": "4d42b35c-5252-4b49-ba4b-20818bc9e086", "metadata": { "id": "4d42b35c-5252-4b49-ba4b-20818bc9e086", "outputId": "1110b043-c540-49f4-b9ff-ac9a13b719cd" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "finetune\n", "reward\n", "rl\n", "evaluation\n" ] } ], "source": [ "for key in ds_result:\n", " print(key)" ] }, { "cell_type": "code", "execution_count": 143, "id": "e32c11d7-a88e-4d92-9dfc-92b2a67c5455", "metadata": { "id": "e32c11d7-a88e-4d92-9dfc-92b2a67c5455" }, "outputs": [], "source": [ "import os\n", "import time\n", "from multiprocessing import Pool\n", "from tqdm import tqdm\n", "\n", "from huggingface_hub import Repository\n", "\n", "\n", "def save_shard(shard_tuple):\n", " \"\"\"Save shard\"\"\"\n", " filename, shard = shard_tuple\n", " # use to_json instead to save as json file\n", " shard.to_parquet(filename)\n", "\n", "\n", "#def save_manual_shards(ds, user=\"lvwerra\", remote_dataset_repo=\"stack-exchange-paired\", subfolder=\"train\"):\n", "def save_manual_shards(ds, user=\"ArmelR\", remote_dataset_repo=\"stack-exchange-instruction\", subfolder=\"train\"):\n", " \"\"\"Save sharded data\n", " Args:\n", " ds (Dataset): dataset to be saved\n", " user (str): user name\n", " remote_dataset_repo (str): remote dataset repository\n", " out_path (str): path to save the shards\"\"\"\n", " # this will create a folder OUT_PATH that is a clone of REMOTE_DATASET_REPO\n", " # you can save the shards inside it and do git add/commit/push to push data to the hub\n", " out_path = remote_dataset_repo\n", " # if out path doesnt already exist\n", " if not os.path.exists(out_path):\n", " repo = Repository(\n", " local_dir=out_path,\n", " clone_from=user + \"/\" + remote_dataset_repo,\n", " repo_type=\"dataset\",\n", " #private=False,\n", " use_auth_token=True,\n", " git_user=user,\n", " )\n", "\n", " # files will be numerous we save them in a folder called data inside out_path\n", " if not os.path.exists(out_path):\n", " os.mkdir(out_path + \"/data\")\n", " os.mkdir(out_path + f\"/data/{subfolder}\")\n", " \n", " SHARD_SIZE = 1000 << 20\n", " if ds._indices is not None:\n", " dataset_nbytes = ds.data.nbytes * len(ds._indices) / len(ds.data)\n", " else:\n", " dataset_nbytes = ds.data.nbytes\n", " num_shards = int(dataset_nbytes / SHARD_SIZE) + 1\n", " print(f\"Number of shards: {num_shards}\")\n", "\n", " print(\"sharding the dataset\")\n", " t_start = time.time()\n", " shards = (\n", " ds.shard(num_shards=num_shards, index=i, contiguous=True)\n", " for i in range(num_shards)\n", " )\n", " # use f\"{OUT_PATH}/data/train-{index:05d}-of-{num_shards:05d}.json\" instead for json files\n", " filenames = (\n", " f\"{out_path}/data/{subfolder}/train-{index:05d}-of-{num_shards:05d}.parquet\"\n", " for index in range(num_shards)\n", " )\n", "\n", " with Pool(16) as p:\n", " list(\n", " tqdm(\n", " p.imap_unordered(save_shard, zip(filenames, shards), chunksize=4),\n", " total=num_shards,\n", " )\n", " )\n", " print(f\"Time to save dataset: {time.time()-t_start:.2f}\")\n", " # to push dataset to hub do: git add/commit/push inside OUT_PATH" ] }, { "cell_type": "code", "execution_count": null, "id": "a90664eb-5c54-4fae-9a8a-d509bb2abdfe", "metadata": { "id": "a90664eb-5c54-4fae-9a8a-d509bb2abdfe", "outputId": "679ea6aa-c9cb-44b6-9ab7-407775518318" }, "outputs": [], "source": [ "for key in ds_result:\n", " save_manual_shards(ds_result[key], subfolder=key)" ] }, { "cell_type": "code", "execution_count": 152, "id": "fea1007f", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "Pushing split finetune to the Hub.\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:01<00:00, 175.95ba/s]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:14<00:00, 194.50s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 100.15ba/s]it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:07<00:00, 187.46s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 98.34ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:18<00:00, 198.96s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 98.95ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:09<00:00, 189.80s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 103.97ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:15<00:00, 195.38s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 99.25ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:44<00:00, 164.31s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 101.31ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:02<00:00, 182.44s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 102.77ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:50<00:00, 170.98s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 101.07ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:10<00:00, 190.31s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 96.90ba/s]2s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:08<00:00, 188.04s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 96.06ba/s]3s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:07<00:00, 187.13s/it]\n", "Pushing dataset shards to the dataset hub: 100%|██████████| 14/14 [34:42<00:00, 148.76s/it]\n", "Pushing split reward to the Hub.\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 104.56ba/s]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:12<00:00, 192.11s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 100.74ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:07<00:00, 187.34s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 98.33ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:10<00:00, 190.92s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 102.51ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:01<00:00, 181.93s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 103.01ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:13<00:00, 193.05s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 98.18ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:57<00:00, 177.71s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 99.82ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:05<00:00, 185.54s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 104.54ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:02<00:00, 182.99s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 98.13ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:53<00:00, 173.69s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 94.12ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:52<00:00, 172.83s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 95.95ba/s]4s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:15<00:00, 195.14s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 93.51ba/s]9s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:02<00:00, 182.73s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 95.68ba/s]7s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:07<00:00, 187.81s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 97.23ba/s]2s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:06<00:00, 186.82s/it]\n", "Pushing dataset shards to the dataset hub: 100%|██████████| 14/14 [43:54<00:00, 188.17s/it]\n", "Pushing split rl to the Hub.\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 104.79ba/s]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:00<00:00, 180.32s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 97.43ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:11<00:00, 191.88s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 98.23ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:23<00:00, 203.54s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:01<00:00, 108.66ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:58<00:00, 178.08s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 103.72ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:08<00:00, 188.87s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 93.67ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:07<00:00, 187.81s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 102.31ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:56<00:00, 176.06s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 101.64ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:01<00:00, 181.76s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 96.49ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:14<00:00, 194.78s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 96.37ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:06<00:00, 186.04s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 97.62ba/s]4s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:45<00:00, 225.00s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 101.71ba/s]s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:25<00:00, 205.18s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 95.49ba/s]4s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:57<00:00, 177.73s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 215/215 [00:02<00:00, 94.40ba/s]7s/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:07<00:00, 187.12s/it]\n", "Pushing dataset shards to the dataset hub: 100%|██████████| 14/14 [45:08<00:00, 193.47s/it]\n", "Pushing split evaluation to the Hub.\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 98.18ba/s]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:06<00:00, 186.47s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 99.92ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:05<00:00, 185.13s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:01<00:00, 104.64ba/s]it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:02<00:00, 182.20s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 100.18ba/s]it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:59<00:00, 179.43s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 99.72ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:40<00:00, 160.01s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 99.72ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:54<00:00, 174.64s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:01<00:00, 107.03ba/s]it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [02:53<00:00, 173.27s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 99.26ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [03:00<00:00, 180.53s/it]\n", "Creating parquet from Arrow format: 100%|██████████| 201/201 [00:02<00:00, 96.25ba/s]/it]\n", "Upload 1 LFS files: 100%|██████████| 1/1 [07:28<00:00, 448.65s/it]\n", "Pushing dataset shards to the dataset hub: 100%|██████████| 9/9 [31:37<00:00, 210.87s/it]\n" ] } ], "source": [ "#ds_result.push_to_hub(\"ArmelR/stack-exchange-instruction\")" ] }, { "cell_type": "code", "execution_count": 156, "id": "e2f600bc", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Cloning into 'stack-exchange-instruction'...\n", "remote: Enumerating objects: 210, done.\u001b[K\n", "remote: Counting objects: 100% (210/210), done.\u001b[K\n", "remote: Compressing objects: 100% (209/209), done.\u001b[K\n", "remote: Total 210 (delta 49), reused 0 (delta 0), pack-reused 0\u001b[K\n", "Receiving objects: 100% (210/210), 26.88 KiB | 8.96 MiB/s, done.\n", "Resolving deltas: 100% (49/49), done.\n", "Filtering content: 100% (51/51), 12.03 GiB | 8.16 MiB/s, done.\n" ] } ], "source": [ "#!git clone https://huggingface.co./datasets/ArmelR/stack-exchange-instruction" ] } ], "metadata": { "colab": { "provenance": [] }, "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.6" } }, "nbformat": 4, "nbformat_minor": 5 }