Skip to content

Commit 19bca20

Browse files
authored
Add files via upload
1 parent 8172464 commit 19bca20

17 files changed

+22002
-0
lines changed

count_avg_len.ipynb

+80
Large diffs are not rendered by default.

count_progress.ipynb

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {},
7+
"outputs": [
8+
{
9+
"name": "stdout",
10+
"output_type": "stream",
11+
"text": [
12+
"7377\n",
13+
"3178\n",
14+
"3178\n"
15+
]
16+
}
17+
],
18+
"source": [
19+
"import json\n",
20+
"\n",
21+
"with open('links.json') as f:\n",
22+
" links = json.load(f)\n",
23+
"\n",
24+
"with open('link_pairs.json', 'r') as f:\n",
25+
" link_pairs = json.load(f)\n",
26+
"\n",
27+
"with open('link_pairs_emb.json', 'r') as f:\n",
28+
" link_pairs_emb = json.load(f)\n",
29+
" \n",
30+
"print(len(links))\n",
31+
"print(len(link_pairs))\n",
32+
"print(len(link_pairs_emb))\n",
33+
"\n"
34+
]
35+
},
36+
{
37+
"cell_type": "code",
38+
"execution_count": null,
39+
"metadata": {},
40+
"outputs": [],
41+
"source": []
42+
}
43+
],
44+
"metadata": {
45+
"kernelspec": {
46+
"display_name": "base",
47+
"language": "python",
48+
"name": "python3"
49+
},
50+
"language_info": {
51+
"codemirror_mode": {
52+
"name": "ipython",
53+
"version": 3
54+
},
55+
"file_extension": ".py",
56+
"mimetype": "text/x-python",
57+
"name": "python",
58+
"nbconvert_exporter": "python",
59+
"pygments_lexer": "ipython3",
60+
"version": "3.10.9"
61+
},
62+
"orig_nbformat": 4
63+
},
64+
"nbformat": 4,
65+
"nbformat_minor": 2
66+
}

0 commit comments

Comments
 (0)