renames context_embeddings to document_embeddings

pull/5/head
Ted Sanders 2 years ago
parent ac406fc126
commit 25d641d21f

@ -14,7 +14,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 1,
"id": "9e3839a6-9146-4f60-b74b-19abbc24278d", "id": "9e3839a6-9146-4f60-b74b-19abbc24278d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -38,7 +38,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 2,
"id": "a167516c-7c19-4bda-afa5-031aa0ae13bb", "id": "a167516c-7c19-4bda-afa5-031aa0ae13bb",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -48,7 +48,7 @@
"\"The 2020 Summer Olympics men's high jump was won by Mariusz Przybylski of Poland.\"" "\"The 2020 Summer Olympics men's high jump was won by Mariusz Przybylski of Poland.\""
] ]
}, },
"execution_count": 5, "execution_count": 2,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -83,7 +83,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 3,
"id": "a5451371-17fe-4ef3-aa02-affcf4edb0e0", "id": "a5451371-17fe-4ef3-aa02-affcf4edb0e0",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -93,7 +93,7 @@
"\"Sorry, I don't know.\"" "\"Sorry, I don't know.\""
] ]
}, },
"execution_count": 6, "execution_count": 3,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -125,7 +125,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 4,
"id": "fceaf665-2602-4788-bc44-9eb256a6f955", "id": "fceaf665-2602-4788-bc44-9eb256a6f955",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -135,7 +135,7 @@
"\"Gianmarco Tamberi and Mutaz Essa Barshim won the 2020 Summer Olympics men's high jump.\"" "\"Gianmarco Tamberi and Mutaz Essa Barshim won the 2020 Summer Olympics men's high jump.\""
] ]
}, },
"execution_count": 7, "execution_count": 4,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -200,7 +200,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 5,
"id": "cc9c8d69-e234-48b4-87e3-935970e1523a", "id": "cc9c8d69-e234-48b4-87e3-935970e1523a",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -245,57 +245,58 @@
" </thead>\n", " </thead>\n",
" <tbody>\n", " <tbody>\n",
" <tr>\n", " <tr>\n",
" <th>Volleyball at the 2020 Summer Olympics Women's tournament</th>\n", " <th>Nordic combined at the 2016 Winter Youth Olympics</th>\n",
" <th>Format</th>\n", " <th>Summary</th>\n",
" <td>The preliminary round was a competition betwee...</td>\n", " <td>Nordic combined at the 2016 Winter Youth Olymp...</td>\n",
" <td>132</td>\n", " <td>56</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>Rugby sevens at the 2020 Summer Olympics Women's qualification</th>\n", " <th>Morocco at the 2020 Summer Olympics</th>\n",
" <th>South America</th>\n", " <th>Judo</th>\n",
" <td>Sudamérica Rugby held a tournament on 12 June...</td>\n", " <td>Morocco qualified two female judoka for each o...</td>\n",
" <td>56</td>\n", " <td>106</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th rowspan=\"2\" valign=\"top\">Canoeing at the 2020 Summer Olympics Men's slalom C-1</th>\n", " <th>Guinea-Bissau at the 2020 Summer Olympics</th>\n",
" <th>Competition format</th>\n", " <th>Wrestling</th>\n",
" <td>Slalom canoeing uses a three-round format, wit...</td>\n", " <td>Guinea-Bissau qualified two wrestlers for each...</td>\n",
" <td>136</td>\n", " <td>69</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>Qualification</th>\n", " <th>Rome bid for the 2020 Summer Olympics</th>\n",
" <td>A National Olympic Committee (NOC) entered onl...</td>\n", " <th>History</th>\n",
" <td>171</td>\n", " <td>The Italian National Olympic Committee (CONI) ...</td>\n",
" <td>738</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>Tunisia at the 2020 Summer Olympics</th>\n", " <th>Italy at the 2020 Summer Olympics</th>\n",
" <th>Athletics</th>\n", " <th>Slalom</th>\n",
" <td>Tunisian athletes further achieved the entry s...</td>\n", " <td>Italian canoeists qualified one boat for each ...</td>\n",
" <td>48</td>\n", " <td>76</td>\n",
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
"</table>\n", "</table>\n",
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
" content \\\n", " content \\\n",
"title heading \n", "title heading \n",
"Volleyball at the 2020 Summer Olympics Women'... Format The preliminary round was a competition betwee... \n", "Nordic combined at the 2016 Winter Youth Olympics Summary Nordic combined at the 2016 Winter Youth Olymp... \n",
"Rugby sevens at the 2020 Summer Olympics Wome... South America Sudamérica Rugby held a tournament on 12 June... \n", "Morocco at the 2020 Summer Olympics Judo Morocco qualified two female judoka for each o... \n",
"Canoeing at the 2020 Summer Olympics Men's sl... Competition format Slalom canoeing uses a three-round format, wit... \n", "Guinea-Bissau at the 2020 Summer Olympics Wrestling Guinea-Bissau qualified two wrestlers for each... \n",
" Qualification A National Olympic Committee (NOC) entered onl... \n", "Rome bid for the 2020 Summer Olympics History The Italian National Olympic Committee (CONI) ... \n",
"Tunisia at the 2020 Summer Olympics Athletics Tunisian athletes further achieved the entry s... \n", "Italy at the 2020 Summer Olympics Slalom Italian canoeists qualified one boat for each ... \n",
"\n", "\n",
" tokens \n", " tokens \n",
"title heading \n", "title heading \n",
"Volleyball at the 2020 Summer Olympics Women'... Format 132 \n", "Nordic combined at the 2016 Winter Youth Olympics Summary 56 \n",
"Rugby sevens at the 2020 Summer Olympics Wome... South America 56 \n", "Morocco at the 2020 Summer Olympics Judo 106 \n",
"Canoeing at the 2020 Summer Olympics Men's sl... Competition format 136 \n", "Guinea-Bissau at the 2020 Summer Olympics Wrestling 69 \n",
" Qualification 171 \n", "Rome bid for the 2020 Summer Olympics History 738 \n",
"Tunisia at the 2020 Summer Olympics Athletics 48 " "Italy at the 2020 Summer Olympics Slalom 76 "
] ]
}, },
"execution_count": 8, "execution_count": 5,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -324,7 +325,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 6,
"id": "4b874907-5109-4eef-ad9a-add4367925a3", "id": "4b874907-5109-4eef-ad9a-add4367925a3",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -337,7 +338,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 7,
"id": "ba475f30-ef7f-431c-b60d-d5970b62ad09", "id": "ba475f30-ef7f-431c-b60d-d5970b62ad09",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -368,7 +369,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 8,
"id": "737266aa-cbe7-4691-87c1-fce8a31632f1", "id": "737266aa-cbe7-4691-87c1-fce8a31632f1",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -398,7 +399,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 9,
"id": "ab50bfca-cb02-41c6-b338-4400abe1d86e", "id": "ab50bfca-cb02-41c6-b338-4400abe1d86e",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -412,7 +413,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 10,
"id": "b9a8c713-c8a9-47dc-85a4-871ee1395566", "id": "b9a8c713-c8a9-47dc-85a4-871ee1395566",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -446,7 +447,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 11,
"id": "dcd680e9-f194-4180-b14f-fc357498eb92", "id": "dcd680e9-f194-4180-b14f-fc357498eb92",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -476,7 +477,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 12,
"id": "e3a27d73-f47f-480d-b336-079414f749cb", "id": "e3a27d73-f47f-480d-b336-079414f749cb",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -495,7 +496,7 @@
" (\"Athletics at the 2020 Summer Olympics Women's long jump\", 'Summary'))]" " (\"Athletics at the 2020 Summer Olympics Women's long jump\", 'Summary'))]"
] ]
}, },
"execution_count": 15, "execution_count": 12,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -506,7 +507,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 13,
"id": "729c2ce7-8540-4ab2-bb3a-76c4dfcb689c", "id": "729c2ce7-8540-4ab2-bb3a-76c4dfcb689c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -525,7 +526,7 @@
" (\"Athletics at the 2020 Summer Olympics Women's pole vault\", 'Summary'))]" " (\"Athletics at the 2020 Summer Olympics Women's pole vault\", 'Summary'))]"
] ]
}, },
"execution_count": 16, "execution_count": 13,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -554,7 +555,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 18, "execution_count": 14,
"id": "b763ace2-1946-48e0-8ff1-91ba335d47a0", "id": "b763ace2-1946-48e0-8ff1-91ba335d47a0",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -564,7 +565,7 @@
"'Context separator contains 3 tokens'" "'Context separator contains 3 tokens'"
] ]
}, },
"execution_count": 18, "execution_count": 14,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -581,7 +582,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 19, "execution_count": 15,
"id": "0c5c0509-eeb9-4552-a5d4-6ace04ef73dd", "id": "0c5c0509-eeb9-4552-a5d4-6ace04ef73dd",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -618,7 +619,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 16,
"id": "f614045a-3917-4b28-9643-7e0c299ec1a7", "id": "f614045a-3917-4b28-9643-7e0c299ec1a7",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -670,7 +671,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 17,
"id": "b0edfec7-9243-4573-92e0-253d31c771ad", "id": "b0edfec7-9243-4573-92e0-253d31c771ad",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -685,7 +686,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 18,
"id": "9c1c9a69-848e-4099-a90d-c8da36c153d5", "id": "9c1c9a69-848e-4099-a90d-c8da36c153d5",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -715,7 +716,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 19,
"id": "c233e449-bf33-4c9e-b095-6a4dd278c8fd", "id": "c233e449-bf33-4c9e-b095-6a4dd278c8fd",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -735,7 +736,7 @@
"'Gianmarco Tamberi and Mutaz Essa Barshim emerged as joint winners of the event following a tie between both of them as they cleared 2.37m.'" "'Gianmarco Tamberi and Mutaz Essa Barshim emerged as joint winners of the event following a tie between both of them as they cleared 2.37m.'"
] ]
}, },
"execution_count": 24, "execution_count": 19,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -760,7 +761,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 27, "execution_count": 20,
"id": "1127867b-2884-44bb-9439-0e8ae171c835", "id": "1127867b-2884-44bb-9439-0e8ae171c835",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -785,7 +786,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 28, "execution_count": 21,
"id": "720d9e0b-b189-4101-91ee-babf736199e6", "id": "720d9e0b-b189-4101-91ee-babf736199e6",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -810,7 +811,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 29, "execution_count": 22,
"id": "4e8e51cc-e4eb-4557-9e09-2929d4df5b7f", "id": "4e8e51cc-e4eb-4557-9e09-2929d4df5b7f",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -837,7 +838,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 23,
"id": "37c83519-e3c6-4c44-8b4a-98cbb3a5f5ba", "id": "37c83519-e3c6-4c44-8b4a-98cbb3a5f5ba",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -870,7 +871,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 24,
"id": "26a1a9ef-e1ee-4f80-a1b1-6164ccfa5bac", "id": "26a1a9ef-e1ee-4f80-a1b1-6164ccfa5bac",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -897,7 +898,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 32, "execution_count": 25,
"id": "9fba8a63-eb81-4661-ae17-59bb5e2933d6", "id": "9fba8a63-eb81-4661-ae17-59bb5e2933d6",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -928,7 +929,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 33, "execution_count": 26,
"id": "2d4c693b-cdb9-4f4c-bd1b-f77b29097a1f", "id": "2d4c693b-cdb9-4f4c-bd1b-f77b29097a1f",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -961,7 +962,7 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "Python 3 (ipykernel)", "display_name": "Python 3.9.9 ('openai')",
"language": "python", "language": "python",
"name": "python3" "name": "python3"
}, },
@ -976,6 +977,11 @@
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.9.9" "version": "3.9.9"
},
"vscode": {
"interpreter": {
"hash": "365536dcbde60510dc9073d6b991cd35db2d9bac356a11f5b64279a5e6708b97"
}
} }
}, },
"nbformat": 4, "nbformat": 4,

Loading…
Cancel
Save