diff --git "a/processing-govdocs1.ipynb" "b/processing-govdocs1.ipynb" new file mode 100644--- /dev/null +++ "b/processing-govdocs1.ipynb" @@ -0,0 +1,26840 @@ +{ + "cells": [ + { + "cell_type": "code", + "source": [ + "!pip install -U -q transformers datasets accelerate\n", + "from huggingface_hub import notebook_login\n", + "notebook_login()" + ], + "metadata": { + "id": "Qs5rHc3PtyT_" + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "execution_count": 40, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 84, + "referenced_widgets": [ + "c2bd20ccf5e743978927dc977c98c4e1", + "e9a4017a14cc47688e86273245f08d1f", + "4bb38ed1d2e8492dafe4748a8b0706e3", + "0f91113031e9454190abb0fbe304b2d0", + "9150a4edd02d43c09e0518c082d10118", + "f515b8dd3018493f94f7f787351e921a", + "cf9b20e9db384eb2a8bee57be6a35ebd", + "c1a87097841c4eea8f67f5c1de63ce32", + "a464358ea6ea471f8e4c6b5fc65c74f4", + "ce0678da412f4b44bc32d5db8a8753eb", + "0d6228dc68474f54b738b1865e925172" + ] + }, + "id": "lIYdn1woOS1n", + "outputId": "8d68f865-6faa-4436-aa0d-63415665a1ce" + }, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Downloading readme: 0%| | 0.00/6.25k [00:00 8,\n", + " num_proc=6)\n", + "ds_filtered" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 356, + "referenced_widgets": [ + "531aeb40b95644b8b8ed0e7ca16f540a", + "dffcbf77d96c427fb138c7ac8ea2b647", + "5b57f5194efe46038265866691343662", + "d990c12e5f5e479ea1c254dafc1c4b80", + "c4b7b1bb6e2a4bd58d68f403bf2e6c7f", + "015ab99c53fa4f799e2255e68c091c99", + "7631e36c409944639a439ad227164c51", + "ec084f7b9cfc4755b8b0c8a7733c4188", + "acc60582146945abb2fbf8130847061c", + "37bb621357d64d54bed6c7e612530e4f", + "d49af5d432f6494b9bfc7d5c0ee9a1f0", + "a1ab726802004678a5ff2d6292a248cd", + "4f7efd8ba23e4ed387d7de6d9f4b73d3", + "7a8e49a32d354227a6c23e0c841c6085", + "513fcc903a2847f5beda8adb74b34f8f", + "f302e76de4484905aeb20a993ea89cdb", + "9c0e701fd5ec46d8be027276a4934c8a", + "14e763f1aff44f5b96c47a9010bcb939", + "97c78d7c5c5241fba3d17c4b1ba92225", + "899e79aa79e044daa82a15b3c55904b6", + "671259537f864b64af867c9ce425a80b", + "e3cf3fc78baa463d97515b33e92e804d", + "f21c8a969ddd4b13b7ec4418631d06f1", + "711cd4765de941afb442e7e7412ef19b", + "c9c3576cc44a4f8ebd47636b8271c19c", + "4d5cc944cb114d148ab9641a59747c85", + "3409a4569e5a4e82bc4a2479a195d07e", + "dbd8c57ffe0a413ebb88a134ae07c492", + "6295faf9de4e4657ac64b9ef461f5474", + "b6f3b09f35ad4bd3bbcc37d36e401af1", + "5e7a32dc01cf4a529c02a81d64fbb148", + "148935a35a814821bc28d841a683b5f2", + "e440117776b541b2bf06f2f174ceb7eb" + ] + }, + "id": "omFjEkYkvtrP", + "outputId": "6873eb91-05a3-4b9a-dcb0-d10ee89f14e8" + }, + "execution_count": 45, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Filter (num_proc=6): 0%| | 0/4334 [00:00 20)\n", + "ds_f2" + ], + "metadata": { + "id": "SjfxMluE5oFP", + "outputId": "25202245-cef2-4b07-ef41-e162be39f27f", + "colab": { + "base_uri": "https://localhost:8080/", + "height": 356, + "referenced_widgets": [ + "13a22c35840e47cbb06b0b718e1e420b", + "a809d79e56a34763b1b3cbf48dbbee7c", + "02293c0292734f2d8a9094432f86e01c", + "39688af7e9a94c47ac9cf940ccbd8582", + "a55e1758552f47f2873391cd4de2245c", + "b6966cb27e1b4106b31a02fc0b382236", + "5507fadb40dc42718c919d274e4c92e3", + "68f1eda9c7d64a068a0c3a3747b35dbe", + "c4d21dffd0844082bbe8999045a6bdb7", + "7f06ec4a2542492a89f21ebfbedac715", + "ae846504998e48b8ac7a8112ca25ed02", + "5f4518b26a754d9aa304f4ff7474d5a5", + "bbf7a3177e104ee2abe56563e198af1a", + "001809128828471aaffd341a2b45a369", + "a9b3144a488d4f3fa05209cf75d4a323", + "d82509afb5204284b4f4875b222dc982", + "babd783ebd004b8b8c9f9e18f815c90f", + "c2846c72429d49a7a7b5d40739ff1e36", + "d52922b73fdc46228f9af56b112f4c78", + "4f32d81bc4ad4d8d8b3e03f495b0d131", + "8a01dddf813b4bc6bcb58673d41387e5", + "131ff5c478954cc9b138bb8f89d502df", + "14975c22cf674a5fa376eaa480b68b7b", + "cbf01dee0ec348aeadba16ea71a17c7e", + "6153b38859c742fe961d0b594e4f138a", + "fa8d560559f3423fb2df74971d685de4", + "81201b0894ed4d69b1f93494144fdd5c", + "5a69e5d6a17b47d39a3d8232e7be512b", + "ae3469dfe13c4f3a9523259e1fb67b3f", + "fc8bb37d3a7746a2abc28f5ceefb6dc1", + "04bfc6a6818e4eab99cc6218563c9282", + "307e168744334956900f11a7e28cf622", + "b6e8558f691e4bff81980e9e1b4e012c" + ] + } + }, + "execution_count": 62, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Filter: 0%| | 0/4258 [00:00