Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Zhangir Azerbayev
commited on
Commit
•
e3d3b09
1
Parent(s):
d2ed9e5
analysis notebook
Browse files
run1_postprocessing/arxiv_analyze.ipynb
ADDED
@@ -0,0 +1,352 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": 1,
|
6 |
+
"id": "144be7eb",
|
7 |
+
"metadata": {},
|
8 |
+
"outputs": [],
|
9 |
+
"source": [
|
10 |
+
"import os\n",
|
11 |
+
"import sys\n",
|
12 |
+
"os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"1\"\n",
|
13 |
+
"\n",
|
14 |
+
"import gzip\n",
|
15 |
+
"import ndjson\n",
|
16 |
+
"from tqdm import tqdm\n",
|
17 |
+
"\n",
|
18 |
+
"import matplotlib.pyplot as plt\n",
|
19 |
+
"\n",
|
20 |
+
"import torch\n",
|
21 |
+
"\n",
|
22 |
+
"from transformers import AutoTokenizer, AutoModelForCausalLM"
|
23 |
+
]
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"cell_type": "markdown",
|
27 |
+
"id": "d5a4a22d",
|
28 |
+
"metadata": {},
|
29 |
+
"source": [
|
30 |
+
"# Analyzing Arxiv Data\n",
|
31 |
+
"The purpose of this notebook is to make sure I am filtering arXiv.math properly for inclusion in the proof-pile. \n",
|
32 |
+
"\n",
|
33 |
+
"We are working on commit `d2ed9e500d8df9db25a6e5c86139a196d700a22e` \n",
|
34 |
+
"\n",
|
35 |
+
"In the main data cleaning script `fetch_arxiv.py`, we apply the following preprocessing steps to source files\n",
|
36 |
+
"- Delete everything outside of `\\begin{document}` and `\\end{document}` \n",
|
37 |
+
"- Delete everything including and after `\\Refs` or `\\begin{thebibliography}`, `\\begin{references}`. \n",
|
38 |
+
"- Delete comments\n",
|
39 |
+
"\n",
|
40 |
+
"After preprocessing, we include a file in the dataset only if it meets the following criteria.\n",
|
41 |
+
"- `.tex` extension. \n",
|
42 |
+
"- At least 280 characters. \n",
|
43 |
+
"- Using `utf-8`, `utf-16`, `utf-32`, or `latin-1` text encoding. \n",
|
44 |
+
"- Articles is in English, as determined by the [langdetect library](https://pypi.org/project/langdetect/). \n",
|
45 |
+
"\n",
|
46 |
+
"The above is the data that is on the current huggingface page. \n",
|
47 |
+
"\n",
|
48 |
+
"In the file `run1_postprocessing/make_files.py`, we apply the following additional preprocessing steps to produce the final data that proof-GPTv0.1 is trained on.\n",
|
49 |
+
"- Delete files that do not contain a part, chapter, section, sub...section, paragraph, or subparagraph heading. \n",
|
50 |
+
"- Delete files that contain the keyword \"gnuplot\". The Gnuplot-latex utility generates large blocks of basically unintelligible source. \n",
|
51 |
+
"- Delete everything including and enclosed by `\\begin{bibdiv}` and `\\end{bibdiv}`. \n",
|
52 |
+
"- `>3` consectuive newlines are replaced with 3 newlines. "
|
53 |
+
]
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"cell_type": "markdown",
|
57 |
+
"id": "bdedf788",
|
58 |
+
"metadata": {},
|
59 |
+
"source": [
|
60 |
+
"### Strategy\n",
|
61 |
+
"These preprocessing heuristics are informed by $\\LaTeX{}$ expertise and manual inspection of data. However, I am not aware of every single subtelty of $\\LaTeX$, and I can only inspect so many training examples. Therefore, I am still not confident these heuristics yield a clean dataset.\n",
|
62 |
+
"\n",
|
63 |
+
"In this notebook I try to detect noise in the dataset by identifying documents that achieve a large loss when processed by an off-the-shelf pre-trained language model, specifically `EleutherAI/gpt-neo-125M`. "
|
64 |
+
]
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"cell_type": "code",
|
68 |
+
"execution_count": 2,
|
69 |
+
"id": "107df731",
|
70 |
+
"metadata": {},
|
71 |
+
"outputs": [
|
72 |
+
{
|
73 |
+
"name": "stdout",
|
74 |
+
"output_type": "stream",
|
75 |
+
"text": [
|
76 |
+
"loading data batch...\n"
|
77 |
+
]
|
78 |
+
}
|
79 |
+
],
|
80 |
+
"source": [
|
81 |
+
"# load subset of data\n",
|
82 |
+
"print(\"loading data batch...\")\n",
|
83 |
+
"fle_name = \"/data/corpora/proof-pile/train/proofpile_train_0.jsonl\"\n",
|
84 |
+
"with open(fle_name) as f: \n",
|
85 |
+
" data = ndjson.load(f)"
|
86 |
+
]
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"cell_type": "code",
|
90 |
+
"execution_count": 3,
|
91 |
+
"id": "65488a28",
|
92 |
+
"metadata": {},
|
93 |
+
"outputs": [],
|
94 |
+
"source": [
|
95 |
+
"torch.cuda.empty_cache()\n",
|
96 |
+
"model = AutoModelForCausalLM.from_pretrained(\n",
|
97 |
+
" \"EleutherAI/gpt-neo-125M\").cuda()\n",
|
98 |
+
"\n",
|
99 |
+
"tokenizer = AutoTokenizer.from_pretrained(\n",
|
100 |
+
" \"EleutherAI/gpt-neo-125M\")\n",
|
101 |
+
"\n",
|
102 |
+
"tokenizer.pad_token = tokenizer.eos_token\n",
|
103 |
+
"\n",
|
104 |
+
"context = 2048"
|
105 |
+
]
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"cell_type": "code",
|
109 |
+
"execution_count": 4,
|
110 |
+
"id": "2dfa6f09",
|
111 |
+
"metadata": {},
|
112 |
+
"outputs": [
|
113 |
+
{
|
114 |
+
"name": "stdout",
|
115 |
+
"output_type": "stream",
|
116 |
+
"text": [
|
117 |
+
"full batch length: 100000\n",
|
118 |
+
"working subset length: 717\n"
|
119 |
+
]
|
120 |
+
}
|
121 |
+
],
|
122 |
+
"source": [
|
123 |
+
"n = 1000\n",
|
124 |
+
"\n",
|
125 |
+
"# only look at arxiv. The rest of the data is very high quality and is definitely clean.\n",
|
126 |
+
"tiny = [x for x in data[:n] if \"config\" in x[\"meta\"] and x[\"meta\"][\"config\"]==\"arxiv\"]\n",
|
127 |
+
"\n",
|
128 |
+
"print(f\"full batch length: {len(data)}\")\n",
|
129 |
+
"print(f\"working subset length: {len(tiny)}\")"
|
130 |
+
]
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"cell_type": "markdown",
|
134 |
+
"id": "f8b0bc68",
|
135 |
+
"metadata": {},
|
136 |
+
"source": [
|
137 |
+
"As a sanity check, we append a random string of alphanumeric characters to our data. This should achieve a very high loss."
|
138 |
+
]
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"cell_type": "code",
|
142 |
+
"execution_count": 5,
|
143 |
+
"id": "8166e799",
|
144 |
+
"metadata": {},
|
145 |
+
"outputs": [],
|
146 |
+
"source": [
|
147 |
+
"import random\n",
|
148 |
+
"import string\n",
|
149 |
+
"tiny.append({\"text\": ''.join(random.choices(string.ascii_uppercase + string.digits, k=8000))})"
|
150 |
+
]
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"cell_type": "code",
|
154 |
+
"execution_count": 6,
|
155 |
+
"id": "2340d220",
|
156 |
+
"metadata": {
|
157 |
+
"scrolled": false
|
158 |
+
},
|
159 |
+
"outputs": [
|
160 |
+
{
|
161 |
+
"name": "stdout",
|
162 |
+
"output_type": "stream",
|
163 |
+
"text": [
|
164 |
+
"We're going to get an indexing warning, ignore it.\n"
|
165 |
+
]
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"name": "stderr",
|
169 |
+
"output_type": "stream",
|
170 |
+
"text": [
|
171 |
+
" 0%| | 0/718 [00:00<?, ?it/s]Token indices sequence length is longer than the specified maximum sequence length for this model (12288 > 2048). Running this sequence through the model will result in indexing errors\n",
|
172 |
+
"100%|███████████████████████████████████████████████████| 718/718 [08:48<00:00, 1.36it/s]\n"
|
173 |
+
]
|
174 |
+
}
|
175 |
+
],
|
176 |
+
"source": [
|
177 |
+
"loss_fn = torch.nn.CrossEntropyLoss(reduction='none')\n",
|
178 |
+
"\n",
|
179 |
+
"batch_size = 15\n",
|
180 |
+
"\n",
|
181 |
+
"print(\"We're going to get an indexing warning, ignore it.\")\n",
|
182 |
+
"for i in tqdm(range(len(tiny))): \n",
|
183 |
+
" example = tiny[i]\n",
|
184 |
+
" \n",
|
185 |
+
" tokens = tokenizer([example[\"text\"]], \n",
|
186 |
+
" return_tensors=\"pt\", \n",
|
187 |
+
" padding=True, \n",
|
188 |
+
" pad_to_multiple_of=context)\n",
|
189 |
+
" \n",
|
190 |
+
" tokens = {key: tokens[key].reshape((-1, context)).cuda() for key in tokens} \n",
|
191 |
+
" \n",
|
192 |
+
" labels = tokens[\"input_ids\"].clone()\n",
|
193 |
+
" \n",
|
194 |
+
" unreduced_loss = 0\n",
|
195 |
+
" num_tokens = 0 \n",
|
196 |
+
" for j in range(0, tokens[\"input_ids\"].shape[0], batch_size):\n",
|
197 |
+
" this_ids = tokens[\"input_ids\"][j:j+batch_size, :]\n",
|
198 |
+
" this_mask = tokens[\"attention_mask\"][j:j+batch_size, :]\n",
|
199 |
+
" this_labels = labels[j:j+batch_size, :]\n",
|
200 |
+
" \n",
|
201 |
+
" with torch.no_grad():\n",
|
202 |
+
" out = model(input_ids=this_ids, attention_mask=this_mask)\n",
|
203 |
+
" \n",
|
204 |
+
" preds = out.logits[:, :-1, :]\n",
|
205 |
+
" \n",
|
206 |
+
" \n",
|
207 |
+
" preds = preds.flatten(end_dim=1)\n",
|
208 |
+
" flat_labels = this_labels[:, 1:].flatten()\n",
|
209 |
+
" flat_mask = this_mask[:, 1:].flatten()\n",
|
210 |
+
" \n",
|
211 |
+
" unreduced_loss += torch.sum(loss_fn(preds, flat_labels)*flat_mask).item()\n",
|
212 |
+
" num_tokens += torch.sum(flat_mask).item()\n",
|
213 |
+
" \n",
|
214 |
+
" loss = unreduced_loss/num_tokens \n",
|
215 |
+
" \n",
|
216 |
+
" tiny[i][\"loss\"] = loss"
|
217 |
+
]
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"cell_type": "code",
|
221 |
+
"execution_count": 7,
|
222 |
+
"id": "4d3595b2",
|
223 |
+
"metadata": {},
|
224 |
+
"outputs": [
|
225 |
+
{
|
226 |
+
"data": {
|
227 |
+
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAigAAAGzCAYAAAAFROyYAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/NK7nSAAAACXBIWXMAAA9hAAAPYQGoP6dpAAA4QklEQVR4nO3deVhU5/3//xegoCIzFBWRCoiaqKhogglOXOOGiFQrqWsVU6OtQRulMUpr3LJgzGZiXZK2iSaVaPRbTTR1wQ2TilFprUuiUeuW6OBWGCQVFc7vj3yYX0ZwQdE5wvNxXee6mPvc5573mTkwL842HoZhGAIAADART3cXAAAAcC0CCgAAMB0CCgAAMB0CCgAAMB0CCgAAMB0CCgAAMB0CCgAAMB0CCgAAMB0CCgAAMB0CCuAmCxculIeHh44dO+buUm65lmnTpsnDw+PeFOVGJ0+eVLVq1fSPf/zD3aXgHmvbtq2ee+45d5cBEVDwI8UfUsVTtWrVFBwcrJiYGL399tvKy8tzd4mmNm/ePC1cuNDdZaAczJgxQ9HR0WrXrl2JeZ9//rn69++vn/70p/L29pbValV0dLRmzJih7Oxsl76dO3d2+Z0KCAjQI488ovfee09FRUXasmWLy/wbTddTPP/1118vMa/4d3rXrl13/qKU0fr16zVixAi1aNFCXl5eatCgQan9Dhw4oOeee06tW7eWn5+f6tWrp7i4uFJrLg7I107VqlVz6Xfs2DHnvBdffLHU5x0yZIg8PDxUs2ZNl/aJEydq7ty5stvtt7fiKDdV3F0AzGfGjBkKDw/XlStXZLfbtWXLFo0bN05vvPGGPv30U0VGRrq7RFOaN2+eateureHDh7u7FNyBs2fPatGiRVq0aFGJeVOmTNELL7yghg0bavjw4WrYsKEuXbqkrKwsvf7661q0aJGOHDniskz9+vWVmprqHPuDDz7QiBEj9M0332j8+PH68MMPXfqnpKSoZs2a+sMf/lCmul999VWNHj1aNWrUKOMa3x1paWlaunSpHn74YQUHB1+335///Gf95S9/UUJCgp5++mnl5ubqnXfeUdu2bbV27Vp169atxDLz5893CRZeXl6ljl2tWjV99NFHmjx5skt7fn6+PvnkkxLBRpL69Okji8WiefPmacaMGbe6urgbDOD/vP/++4YkY+fOnSXmbdy40ahevboRFhZmfP/9926ozvyaN29udOrU6Zb7F7/eR48evWs1lXctU6dONSr6n4033njDqF69upGXl+fSvmTJEkOS0b9/f6OgoKDEcjk5OcbUqVNd2jp16mQ0b97cpS0/P9+oX7++4evra1y+fLnEOGXdjiQZrVu3NiQZr7/+usu8G/1O323fffedc/3i4uKMsLCwUvvt2rWrxGt97tw5o06dOka7du1c2ou3v7Nnz97wuY8ePWpIMvr162dIMnbv3u0yf/HixUbVqlWN+Ph4w9fXt8TyY8aMMcLCwoyioqKbrSbuIg7x4JZ06dJFzz//vI4fP66//vWvLvM2bdqkDh06yNfXV/7+/urTp4++/vrrEmN89913GjFihIKDg+Xj46Pw8HCNHj1aly9flnT98xtKOz+iQYMG6t27t7Zs2aI2bdqoevXqatmypbZs2SJJ+tvf/qaWLVuqWrVqioqK0r/+9a8S4x44cEBPPPGEAgICVK1aNbVp00affvppqc/9j3/8Q8nJyapTp458fX3185//XGfPnnWpZ//+/crIyHDuWu7cufOtvrwu1qxZ43w9/fz8FBcXp/379zvnv/baa/Lw8NDx48dLLJuSkiJvb2/997//dbZ9+eWX6tmzp6xWq2rUqKFOnTqV67kVV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uZXew1Wo1HnroIefj1q1bG4GBgcb58+edbf/+978NT09PY9iwYc62YcOGGZ6enqWOXbwb9XqHD0o7/BAWFmZIMrZt2+ZsW7dunSHJqF69unH8+HFn+zvvvGNIMjZv3uxs69q1q9GyZUvj0qVLLnU89thjxgMPPFDiubt16+ayu3f8+PGGl5eXkZOT42y700M8eXl5hr+/vzFy5EiXfna73bBarS7tNpvNiIqKcum3Y8cOQ5LxwQcfONfngQceMGJiYlxq//77743w8HCje/fu163leq59j3bv3m1IMp566imXfs8++6whydi0aZNhGIaxYsWKm25bzzzzjGGxWIyrV69et88LL7xg+Pr6Gt98841L+6RJkwwvLy/jxIkTtzxWaQ4fPmxIMubMmePS/sknnxiSjNmzZ7u0FxUVGWfPnnWZrly54pzfqVMno2nTps55X3/9tfHb3/7WkGTEx8eXWsPtHOJJSkoyDMMwHn/8cSMoKMh5GLa03+lb3fbHjRtnSDI+//xzZ1teXp4RHh5uNGjQwCgsLLzlGm90iKc0W7duNTw8PIznn3/epX327NnGmDFjjMWLFxvLly83nnnmGaNKlSrGAw88YOTm5jr7FR/iefXVV419+/a5rMfcuXONmjVrGvn5+UZiYmKph3gMwzC8vb2N0aNH33LNKH/sQUGZ1KxZ03k1z+nTp7V7924NHz7cZVdpZGSkunfvrr///e+SpKKiIq1cuVLx8fFq06ZNiTFv97LViIgI2Ww25+Po6GhJPxyOCg0NLdH+n//8R5J04cIFbdq0Sf3791deXp7OnTunc+fO6fz584qJidGhQ4f03XffuTzXqFGjXOrs0KGDCgsLSz3McrvS09OVk5OjQYMGOWs6d+6cvLy8FB0drc2bNzv7DhgwQFlZWS4nZC5dulQ+Pj7q06ePJGn37t06dOiQBg8erPPnzzvHy8/PV9euXbV169YSh0XKqvg9/vHeC0n63e9+J0nOwwHFewpWr16tK1eulDqWv7+/8vPzlZ6eft3nW7ZsmTp06KCf/OQnLq9Rt27dVFhYqK1bt97yWKU5f/68JDn3QBVzOBySVGLvSW5ururUqeMyXXtY4MCBA855zZo105w5cx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82ZM6fEPSFefvllrV+/Xp06ddKoUaPUrFkznT59WsuWLdMXX3whf39/9ejRQ6GhoRoxYoQmTJggLy8vvffee6pTp45OnDhRrus4d+5ctW/fXi1bttTIkSPVsGFDZWdnKzMzU99++63+/e9/l3nMqKgozZ8/Xy+++KIaN26swMBAdenS5ZaXt1gsmj9/voYOHaqHH35YAwcOdK77Z599pnbt2umPf/yjs39gYKAef/xxvfHGG8rLy9OAAQNcxvP09NSf//xnxcbGqnnz5nryySf105/+VN999502b94si8WiVatWlXk9f6xVq1ZKTEzUu+++q5ycHHXq1Ek7duzQokWL1LdvXz3++OOSpEWLFmnevHn6+c9/rkaNGikvL09/+tOfZLFYnCHnqaee0oULF9SlSxfVr19fx48f15w5c9S6dWvnf7ITJkzQp59+qt69e2v48OGKiopSfn6+9u7dq+XLl+vYsWOqXbv2LY11PX369NEf/vAHORwO5/k80g/nMezbt0+pqanasWOHBg4cqPDwcOXn52vfvn366KOP5Ofnd90Aei916tRJnTp1cjksVOxWt/1Jkybpo48+UmxsrH77298qICBAixYt0tGjR/X//t//k6fnjf+/3bNnj/PeKocPH1Zubq7ztvOtWrVy7u2bPXu25s2bJ5vNpho1apS4z9LPf/5zZ/AOCwvTgAEDnPc4+uKLL7RkyRK1bt1av/71r2/pNbkV6enpCg0NveFeGdwDbrp6CCZUfEli8eTt7W0EBQUZ3bt3N9566y3D4XCUutyGDRuMdu3aGdWrVzcsFosRHx9vfPXVVyX6HT9+3Bg2bJhRp04dw8fHx2jYsKGRlJTkclfOrKwsIzo62vD29jZCQ0ONN95447qXGcfFxZV4Dv3okstiP77k8MeOHDliDBs2zAgKCjKqVq1q/PSnPzV69+5tLF++vMRrcu3lsZs3by5x6bLdbjfi4uIMPz8/Q9JNLxW93qW9mzdvNmJiYgyr1WpUq1bNaNSokTF8+HBj165dJcb405/+ZEgy/Pz8jP/973+lPs+//vUvo1+/fkatWrUMHx8fIywszOjfv7+xcePGm9ZyrdIuBb9y5Yoxffp0Izw83KhataoREhJ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luY66suA+KAAAs7sn90EBAAC4WwgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdAgoAADAdMoUUFJTU/XII4/Iz89PgYGB6tu3rw4ePOjSp3PnzvLw8HCZfvOb37j0OXHihOLi4lSjRg0FBgZqwoQJunr16p2vDQAAqBCqlKVzRkaGkpKS9Mgjj+jq1av6/e9/rx49euirr76Sr6+vs9/IkSM1Y8YM5+MaNWo4fy4sLFRcXJyCgoK0bds2nT59WsOGDVPVqlX18ssvl8MqAQCA+12ZAsratWtdHi9cuFCBgYHKyspSx44dne01atRQUFBQqWOsX79eX331lTZs2KC6deuqdevWeuGFFzRx4kRNmzZN3t7et7EaAACgIrmjc1Byc3MlSQEBAS7tixcvVu3atdWiRQulpKTo+++/d87LzMxUy5YtVbduXWdbTEyMHA6H9u/fX+rzFBQUyOFwuEwAAKDiKtMelB8rKirSuHHj1K5dO7Vo0cLZPnjwYIWFhSk4OFh79uzRxIkTdfDgQf3tb3+TJNntdpdwIsn52G63l/pcqampmj59+u2WCgAA7jO3HVCSkpK0b98+ffHFFy7to0aNcv7csmVL1atXT127dtWRI0fUqFGj23qulJQUJScnOx87HA6FhITcXuEAAMD0busQz5gxY7R69Wpt3rxZ9evXv2Hf6OhoSdLhw4clSUFBQcrOznbpU/z4euet+Pj4yGKxuEwAAKDiKlNAMQxDY8aM0YoVK7Rp0yaFh4ffdJndu3dLkurVqydJstls2rt3r86cOePsk56eLovFooiIiLKUAwAAKqgyHeJJSkpSWlqaPvnkE/n5+TnPGbFarapevbqOHDmitLQ09erVS7Vq1dKePXs0fvx4dezYUZGRkZ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CbrdsAABwH7jtgJKUlKR9+/ZpyZIl5VlPqVJSUpSbm+ucTp48edefEwAAuE+V21lozJgxWr16tbZu3ar69es724OCgnT58mXl5OS47EXJzs5WUFCQs8+OHTtcxiu+yqe4z7V8fHzk4+NzO6UCAID7UJn2oBiGoTFjxmjFihXatGmTwsPDXeZHRUWpatWq2rhxo7Pt4MGDOnHihGw2myTJZrNp7969OnPmjLNPenq6LBaLIiIi7mRdAABABVGmPShJSUlKS0vTJ598Ij8/P+c5I1arVdWrV5fVatWIESOUnJysgIAAWSwWjR07VjabTW3btpUk9ejRQxERERo6dKhmzZolu92uyZMnKykpib0kAABAUhkDyvz58yVJnTt3dml///33NXz4cEnSm2++KU9PTyUkJKigoEAxMTGaN2+es6+Xl5dWr16t0aNHy2azydfXV4mJiZoxY8adrQkAAKgw7ug+KO7CfVBK4j4o9wb3QQGA23fP7oMCAABwNxBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6RBQAACA6ZQ5oGzdulXx8fEKDg6Wh4eHVq5c6TJ/+PDh8vDwcJl69uzp0ufChQsaMmSILBaL/P39NWLECF28ePGOVgQAAFQcZQ4o+fn5atWqlebOnXvdPj179tTp06ed00cffeQyf8iQIdq/f7/S09O1evVqbd26VaNGjSp79QAAoEKqUtYFYmNjFRsbe8M+Pj4+CgoKKnXe119/rbVr12rnzp1q06aNJGnOnDnq1auXXnvtNQUHB5e1JAAAUMHclXNQtmzZosDAQDVp0kSjR4/W+fPnnfMyMzPl7+/vDCeS1K1bN3l6eurLL78sdbyCggI5HA6XCQAAVFzlHlB69uypDz74QBs3btQrr7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s2FBDhgzRiRMn3F2SW7AHBdAPX1Y5btw4tWvXTi1atHB3OZXO3r17ZbPZdOnSJdWsWVMrVqxQRESEu8uqdJYsWaJ//vOf2rlzp7tLqbSio6O1cOFCNWnSRKdPn9b06dPVoUMH7du3T35+fu4u754ioAD64b/Gffv2Vdpjve7WpEkT7d69W7m5uVq+fLkSExOVkZFBSLmHTp48qWeeeUbp6emqVq2au8uptH586D8yMlLR0dEKCwvTxx9/rBEjRrixsnuPgIJKb8yYMVq9erW2bt2q+vXru7ucSsnb21uNGzeWJEVFRWnnzp1666239M4777i5ssojKytLZ86c0cMPP+xsKyws1NatW/XHP/5RBQUF8vLycmOFlZO/v78efPBBHT582N2l3HMEFFRahmFo7NixWrFihbZs2aLw8HB3l4T/U1RUpIKCAneXUal07dpVe/fudWl78skn1bRpU02cOJFw4iYXL17UkSNHNHToUHeXcs8RUNzk4sWLLon46NGj2r17twICAhQaGurGyiqPpKQkpaWl6ZNPPpGfn5/sdrskyWq1qnr16m6urvJISUlRbGysQkNDlZeXp7S0NG3ZskXr1q1zd2mVip+fX4nzr3x9fVWrVi3Oy7qHnn32WcXHxyssLEynTp3S1KlT5eXlpUGDBrm7tHuOgOImu3bt0uOPP+58nJycLElKTEzUwoUL3VRV5TJ//nxJUufOnV3a33//fQ0fPvzeF1RJnTlzRsOGDdPp06dltVoVGRmpdevWqXv37u4uDbjnvv32Ww0aNEjnz59XnTp11L59e23fvl116tRxd2n3nIdhGIa7iwAAAPgx7oMCAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABMh4ACAABM5/8D59CZGIdowBoAAAAASUVORK5CYII=\n",
|
228 |
+
"text/plain": [
|
229 |
+
"<Figure size 640x480 with 1 Axes>"
|
230 |
+
]
|
231 |
+
},
|
232 |
+
"metadata": {},
|
233 |
+
"output_type": "display_data"
|
234 |
+
}
|
235 |
+
],
|
236 |
+
"source": [
|
237 |
+
"losses = [x[\"loss\"] for x in tiny]\n",
|
238 |
+
"plt.hist(losses)\n",
|
239 |
+
"plt.title(\"Document-level losses (GPT-Neo 125M)\")\n",
|
240 |
+
"plt.show()"
|
241 |
+
]
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"cell_type": "code",
|
245 |
+
"execution_count": 8,
|
246 |
+
"id": "e96cf901",
|
247 |
+
"metadata": {},
|
248 |
+
"outputs": [
|
249 |
+
{
|
250 |
+
"name": "stdout",
|
251 |
+
"output_type": "stream",
|
252 |
+
"text": [
|
253 |
+
"random sequence loss: 5.31893930607105\n",
|
254 |
+
"WNQ3LEC13MBO5UM7EM34EYH9HJ6V1R08QOCG4C0SZTOL6DCUVACX1IO1PRGZ7GPSN759YA206SWGQXPMG8CR2CEYHJGPZ9YV8HAU ...\n"
|
255 |
+
]
|
256 |
+
}
|
257 |
+
],
|
258 |
+
"source": [
|
259 |
+
"print(\"random sequence loss: \", tiny[-1][\"loss\"])\n",
|
260 |
+
"print(tiny[-1][\"text\"][:100], \"...\")"
|
261 |
+
]
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"cell_type": "code",
|
265 |
+
"execution_count": 9,
|
266 |
+
"id": "b7cc80a3",
|
267 |
+
"metadata": {},
|
268 |
+
"outputs": [
|
269 |
+
{
|
270 |
+
"name": "stdout",
|
271 |
+
"output_type": "stream",
|
272 |
+
"text": [
|
273 |
+
"Index of 10 documents with highest loss\n",
|
274 |
+
"[717, 46, 238, 352, 197, 33, 520, 502, 139, 403]\n"
|
275 |
+
]
|
276 |
+
}
|
277 |
+
],
|
278 |
+
"source": [
|
279 |
+
"ordered_idxs = sorted(list(range(len(tiny))), key = lambda i: -tiny[i][\"loss\"])\n",
|
280 |
+
"\n",
|
281 |
+
"print(\"Index of 10 documents with highest loss\")\n",
|
282 |
+
"print(ordered_idxs[:10])"
|
283 |
+
]
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"cell_type": "code",
|
287 |
+
"execution_count": 10,
|
288 |
+
"id": "83762917",
|
289 |
+
"metadata": {},
|
290 |
+
"outputs": [
|
291 |
+
{
|
292 |
+
"name": "stdout",
|
293 |
+
"output_type": "stream",
|
294 |
+
"text": [
|
295 |
+
"loss : 3.4214292093012535\n",
|
296 |
+
"\\section{Discussion}\n",
|
297 |
+
"\\label{sec:Discussion}\n",
|
298 |
+
"\n",
|
299 |
+
"In this paper, we have provided a new method for the featurization of persistence diagrams through the use of template functions; that is, collections of functions compactly supported on the upper half plane away from the diagonal whose induced functions on diagrams separate points.\n",
|
300 |
+
"To do this, we further gave a complete description of compact sets in persistence diagram space endowed with the bottleneck distance.\n",
|
301 |
+
"\n",
|
302 |
+
"This method of featurization allows for a great deal of flexibility for the end user.\n",
|
303 |
+
"In particular, we have provided two options for template functions, tent functions and interpolating polynomials, but surely there are many other collections of functions which could be tested for optimizing classification and regression tasks.\n",
|
304 |
+
"We showed these two functions worked quite well on standard experiments, as well as in comparison to other methods available in the literature.\n",
|
305 |
+
"\n",
|
306 |
+
"We find the particular results of the SHREC data set (\\cref{sec:UliShapeData}) to be quite fascinating due to the vast improvement seen from tent functions to interpolating polynomials.\n",
|
307 |
+
"The usual knee-jerk reaction to setting up these featurization methods for persistence diagrams is that localization is key.\n",
|
308 |
+
"This was the impetus for creation of the tent functions as they have support contained in a small box, so each tent function truly only sees a small window of the diagram.\n",
|
309 |
+
"Meanwhile, the interpolating polynomials are nonzero well away from their chosen ``basepoint'' so the fact that these functions work at all is surprising to say the least.\n",
|
310 |
+
"\n",
|
311 |
+
"We hope to understand this behavior further in the course of future work.\n"
|
312 |
+
]
|
313 |
+
}
|
314 |
+
],
|
315 |
+
"source": [
|
316 |
+
"idx = 1\n",
|
317 |
+
"print(\"loss : \", tiny[ordered_idxs[idx]][\"loss\"])\n",
|
318 |
+
"print(tiny[ordered_idxs[idx]][\"text\"])"
|
319 |
+
]
|
320 |
+
},
|
321 |
+
{
|
322 |
+
"cell_type": "markdown",
|
323 |
+
"id": "46c7c419",
|
324 |
+
"metadata": {},
|
325 |
+
"source": [
|
326 |
+
"### Discussion\n",
|
327 |
+
"In the cell above, we can set `idx = n` to view the document that generates `n`th highest loss. We can see, even the documents that yield the highest losses look like high quality, useful data. This means we can be relatively confident our pre-training data is free of complete noise. "
|
328 |
+
]
|
329 |
+
}
|
330 |
+
],
|
331 |
+
"metadata": {
|
332 |
+
"kernelspec": {
|
333 |
+
"display_name": "Python 3",
|
334 |
+
"language": "python",
|
335 |
+
"name": "python3"
|
336 |
+
},
|
337 |
+
"language_info": {
|
338 |
+
"codemirror_mode": {
|
339 |
+
"name": "ipython",
|
340 |
+
"version": 3
|
341 |
+
},
|
342 |
+
"file_extension": ".py",
|
343 |
+
"mimetype": "text/x-python",
|
344 |
+
"name": "python",
|
345 |
+
"nbconvert_exporter": "python",
|
346 |
+
"pygments_lexer": "ipython3",
|
347 |
+
"version": "3.10.4"
|
348 |
+
}
|
349 |
+
},
|
350 |
+
"nbformat": 4,
|
351 |
+
"nbformat_minor": 5
|
352 |
+
}
|