Spaces:
Running
Running
Upload with huggingface_hub
Browse files- .gitattributes +22 -34
- README.md +7 -6
- app.py +85 -0
- data/.gitkeep +0 -0
- data/data-00000-of-00021.arrow +3 -0
- data/data-00001-of-00021.arrow +3 -0
- data/data-00002-of-00021.arrow +3 -0
- data/data-00003-of-00021.arrow +3 -0
- data/data-00004-of-00021.arrow +3 -0
- data/data-00005-of-00021.arrow +3 -0
- data/data-00006-of-00021.arrow +3 -0
- data/data-00007-of-00021.arrow +3 -0
- data/data-00008-of-00021.arrow +3 -0
- data/data-00009-of-00021.arrow +3 -0
- data/data-00010-of-00021.arrow +3 -0
- data/data-00011-of-00021.arrow +3 -0
- data/data-00012-of-00021.arrow +3 -0
- data/data-00013-of-00021.arrow +3 -0
- data/data-00014-of-00021.arrow +3 -0
- data/data-00015-of-00021.arrow +3 -0
- data/data-00016-of-00021.arrow +3 -0
- data/data-00017-of-00021.arrow +3 -0
- data/data-00018-of-00021.arrow +3 -0
- data/data-00019-of-00021.arrow +3 -0
- data/data-00020-of-00021.arrow +3 -0
- data/dataset_info.json +16 -0
- data/state.json +73 -0
- index/.gitkeep +0 -0
- index/_x.fdm +0 -0
- index/_x.fdt +3 -0
- index/_x.fdx +0 -0
- index/_x.fnm +0 -0
- index/_x.nvd +0 -0
- index/_x.nvm +0 -0
- index/_x.si +0 -0
- index/_x_Lucene90_0.doc +3 -0
- index/_x_Lucene90_0.dvd +3 -0
- index/_x_Lucene90_0.dvm +0 -0
- index/_x_Lucene90_0.pos +3 -0
- index/_x_Lucene90_0.tim +3 -0
- index/_x_Lucene90_0.tip +3 -0
- index/_x_Lucene90_0.tmd +0 -0
- index/segments_2 +0 -0
- index/write.lock +0 -0
- packages.txt +1 -0
- requirements.txt +4 -0
.gitattributes
CHANGED
@@ -1,34 +1,22 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
index/**/* filter=lfs diff=lfs merge=lfs -text
|
2 |
+
data/data-00000-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
data/data-00010-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
4 |
+
data/data-00016-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
5 |
+
data/data-00006-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
6 |
+
data/data-00005-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
7 |
+
data/data-00019-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
8 |
+
data/data-00013-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
9 |
+
data/data-00009-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
10 |
+
data/data-00003-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
11 |
+
data/data-00004-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
12 |
+
data/data-00008-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
13 |
+
data/data-00014-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
14 |
+
data/data-00015-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
15 |
+
data/data-00001-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
16 |
+
data/data-00020-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
17 |
+
data/data-00011-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
18 |
+
data/data-00017-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
19 |
+
data/data-00007-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
20 |
+
data/data-00018-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
21 |
+
data/data-00002-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
22 |
+
data/data-00012-of-00021.arrow filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
-
title: Code
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
|
|
10 |
---
|
11 |
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: Code search
|
3 |
+
emoji: 🐠
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.12.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
+
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from datasets import load_from_disk
|
3 |
+
from pyserini.search.lucene import LuceneSearcher
|
4 |
+
|
5 |
+
searcher = LuceneSearcher("index")
|
6 |
+
ds = load_from_disk("data")
|
7 |
+
NUM_PAGES = 10 # STATIC. THIS CAN'T CHANGE BECAUSE GRADIO CAN'T DYNAMICALLY CREATE COMPONENTS.
|
8 |
+
RESULTS_PER_PAGE = 5
|
9 |
+
|
10 |
+
TEXT_FIELD = "content"
|
11 |
+
METADATA_FIELD = "docid"
|
12 |
+
|
13 |
+
def result_html(result, meta):
|
14 |
+
return (
|
15 |
+
f"<div style=\"color:#2a5cb3;font-weight: 500\"><u>{meta}</u></div><br>"
|
16 |
+
f"<div><details><summary>{result[:250]}...</summary><p>{result[250:]}</p></details></div><br><hr><br>"
|
17 |
+
)
|
18 |
+
|
19 |
+
def format_results(results):
|
20 |
+
return "\n".join([result_html(result, meta) for result,meta in zip(results[TEXT_FIELD], results[METADATA_FIELD])])
|
21 |
+
|
22 |
+
def page_0(query):
|
23 |
+
hits = searcher.search(query, k=NUM_PAGES*RESULTS_PER_PAGE)
|
24 |
+
ix = [int(hit.docid) for hit in hits]
|
25 |
+
results = ds.select(ix).shard(num_shards=NUM_PAGES, index=0, contiguous=True) # no need to shard. split ix in batches instead. (would make sense if results was cacheable)
|
26 |
+
results = format_results(results)
|
27 |
+
return results, [ix], gr.update(visible=True)
|
28 |
+
|
29 |
+
def page_i(i, ix):
|
30 |
+
ix = ix[0]
|
31 |
+
results = ds.select(ix).shard(num_shards=NUM_PAGES, index=i, contiguous=True)
|
32 |
+
results = format_results(results)
|
33 |
+
return results, [ix]
|
34 |
+
|
35 |
+
with gr.Blocks(css="#b {min-width:15px;background:transparent;border:white;box-shadow:none;}") as demo: #
|
36 |
+
with gr.Row():
|
37 |
+
gr.Markdown(value="""## <p style="text-align: center;"> Code search </p>""")
|
38 |
+
with gr.Row():
|
39 |
+
with gr.Column(scale=1):
|
40 |
+
result_list = gr.Dataframe(type="array", visible=False, col_count=1)
|
41 |
+
with gr.Column(scale=13):
|
42 |
+
query = gr.Textbox(lines=1, max_lines=1, placeholder="Search…", label="")
|
43 |
+
with gr.Column(scale=1):
|
44 |
+
with gr.Row(scale=1):
|
45 |
+
pass
|
46 |
+
with gr.Row(scale=1):
|
47 |
+
submit_btn = gr.Button("🔍", elem_id="b").style(full_width=False)
|
48 |
+
with gr.Row(scale=1):
|
49 |
+
pass
|
50 |
+
|
51 |
+
with gr.Row():
|
52 |
+
with gr.Column(scale=1):
|
53 |
+
pass
|
54 |
+
with gr.Column(scale=13):
|
55 |
+
c = gr.HTML(label="Results")
|
56 |
+
with gr.Row(visible=False) as pagination:
|
57 |
+
# left = gr.Button(value="◀", elem_id="b", visible=False).style(full_width=True)
|
58 |
+
page_1 = gr.Button(value="1", elem_id="b").style(full_width=True)
|
59 |
+
page_2 = gr.Button(value="2", elem_id="b").style(full_width=True)
|
60 |
+
page_3 = gr.Button(value="3", elem_id="b").style(full_width=True)
|
61 |
+
page_4 = gr.Button(value="4", elem_id="b").style(full_width=True)
|
62 |
+
page_5 = gr.Button(value="5", elem_id="b").style(full_width=True)
|
63 |
+
page_6 = gr.Button(value="6", elem_id="b").style(full_width=True)
|
64 |
+
page_7 = gr.Button(value="7", elem_id="b").style(full_width=True)
|
65 |
+
page_8 = gr.Button(value="8", elem_id="b").style(full_width=True)
|
66 |
+
page_9 = gr.Button(value="9", elem_id="b").style(full_width=True)
|
67 |
+
page_10 = gr.Button(value="10", elem_id="b").style(full_width=True)
|
68 |
+
# right = gr.Button(value="▶", elem_id="b", visible=False).style(full_width=True)
|
69 |
+
with gr.Column(scale=1):
|
70 |
+
pass
|
71 |
+
query.submit(fn=page_0, inputs=[query], outputs=[c, result_list, pagination])
|
72 |
+
submit_btn.click(page_0, inputs=[query], outputs=[c, result_list, pagination])
|
73 |
+
with gr.Box(visible=False):
|
74 |
+
nums = [gr.Number(i, visible=False, precision=0) for i in range(NUM_PAGES)]
|
75 |
+
page_1.click(fn=page_i, inputs=[nums[0], result_list], outputs=[c, result_list])
|
76 |
+
page_2.click(fn=page_i, inputs=[nums[1], result_list], outputs=[c, result_list])
|
77 |
+
page_3.click(fn=page_i, inputs=[nums[2], result_list], outputs=[c, result_list])
|
78 |
+
page_4.click(fn=page_i, inputs=[nums[3], result_list], outputs=[c, result_list])
|
79 |
+
page_5.click(fn=page_i, inputs=[nums[4], result_list], outputs=[c, result_list])
|
80 |
+
page_6.click(fn=page_i, inputs=[nums[5], result_list], outputs=[c, result_list])
|
81 |
+
page_7.click(fn=page_i, inputs=[nums[6], result_list], outputs=[c, result_list])
|
82 |
+
page_8.click(fn=page_i, inputs=[nums[7], result_list], outputs=[c, result_list])
|
83 |
+
page_9.click(fn=page_i, inputs=[nums[8], result_list], outputs=[c, result_list])
|
84 |
+
page_10.click(fn=page_i, inputs=[nums[9], result_list], outputs=[c, result_list])
|
85 |
+
demo.launch(enable_queue=True, debug=True)
|
data/.gitkeep
ADDED
File without changes
|
data/data-00000-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e200bbda830ddb4e3587f85d6b545b12c07260f3c7767b9032076d4762675e2
|
3 |
+
size 145373736
|
data/data-00001-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db20ca9a832d31e95f483bfe368b7ee4bb8c4364744cefbcf4df19843b6a00df
|
3 |
+
size 142136480
|
data/data-00002-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95898c5154de5d9c3273dea6f448c6b83a0bdce2af310edee32a7b516ccd2d6b
|
3 |
+
size 146489736
|
data/data-00003-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e68159c6759ddf4a22a903521d5b3f7c364221c54c013ff7c71d1a9d8a50584c
|
3 |
+
size 144372320
|
data/data-00004-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3b9b642da8a57ad54fc8e6703b07f56ef6106dc9db1861aaad0aa1605fa0b2c
|
3 |
+
size 143888944
|
data/data-00005-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2da425ec3e1b327114fdf59f93876cb8fc230f05e3b2ea035c3289841d24bcf3
|
3 |
+
size 145977664
|
data/data-00006-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86c311615d0e275ac342fd2a4c455b9bbf24398d0f50fa914b677c5b44dd84ab
|
3 |
+
size 148958672
|
data/data-00007-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a0ea29b1f6dd74ae3a4dd51bcf9620af4208959a1e3c613fbaabb8a34604860
|
3 |
+
size 122847584
|
data/data-00008-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70426a18f9cbf99b83386226735a9506ec10398e1602b4e7d989bc42d9fd42b2
|
3 |
+
size 126813336
|
data/data-00009-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a789b10a680501d8940b623fc02aa83de49bcb74c7c6a352abb5762ed38ad870
|
3 |
+
size 123187024
|
data/data-00010-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:058175c967ca642193b41f66c760142e4b8e25d831c851d992558d4078085948
|
3 |
+
size 124968032
|
data/data-00011-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2617fcc9e53b94f2871bbf5bb7e1e8f8cc5b03cb8728001fa2bfa2c43d8a81c9
|
3 |
+
size 127244208
|
data/data-00012-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76ac5503c0c53249c1b5ddcd732fa5757de1a2390afedd5491b2dc45a179ddd9
|
3 |
+
size 129710432
|
data/data-00013-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a7f05d892987c5060d1b41f346b941ad2882e41a503da9d058451dd9b8affa6
|
3 |
+
size 128167184
|
data/data-00014-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:530578064d3d1083c557ff7fa7a0f0e8e32b867de09318306e16fed52a159f3e
|
3 |
+
size 99745824
|
data/data-00015-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e47133749980a2d974db2d58f28c070fd8981a02e5f5fcbcfe688e15811c21a2
|
3 |
+
size 108449752
|
data/data-00016-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6970d853767a5b6d859f8495bc40708cdf9aeb4132c08e78302bfa64b0c33df
|
3 |
+
size 104164320
|
data/data-00017-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3421eab94a12425c319dabd1599c6e165255b36410989aba05b5113aeba5138
|
3 |
+
size 103913216
|
data/data-00018-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85eff8c66076127b7a2f908930de15edda3be143b2338702a912bb0bb7e0244c
|
3 |
+
size 97751296
|
data/data-00019-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a611d877b9de895ec1f9b4117d4d5c708593be6ef445da4bec4dfbeff2b5218
|
3 |
+
size 97219672
|
data/data-00020-of-00021.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d12fea67d0dce6bba733cd336081a09c5a15b69800df4698332c984caf166e3a
|
3 |
+
size 98667032
|
data/dataset_info.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"citation": "",
|
3 |
+
"description": "",
|
4 |
+
"features": {
|
5 |
+
"content": {
|
6 |
+
"dtype": "string",
|
7 |
+
"_type": "Value"
|
8 |
+
},
|
9 |
+
"docid": {
|
10 |
+
"dtype": "int64",
|
11 |
+
"_type": "Value"
|
12 |
+
}
|
13 |
+
},
|
14 |
+
"homepage": "",
|
15 |
+
"license": ""
|
16 |
+
}
|
data/state.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "data-00000-of-00021.arrow"
|
5 |
+
},
|
6 |
+
{
|
7 |
+
"filename": "data-00001-of-00021.arrow"
|
8 |
+
},
|
9 |
+
{
|
10 |
+
"filename": "data-00002-of-00021.arrow"
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"filename": "data-00003-of-00021.arrow"
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"filename": "data-00004-of-00021.arrow"
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"filename": "data-00005-of-00021.arrow"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"filename": "data-00006-of-00021.arrow"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"filename": "data-00007-of-00021.arrow"
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"filename": "data-00008-of-00021.arrow"
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"filename": "data-00009-of-00021.arrow"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"filename": "data-00010-of-00021.arrow"
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"filename": "data-00011-of-00021.arrow"
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"filename": "data-00012-of-00021.arrow"
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"filename": "data-00013-of-00021.arrow"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"filename": "data-00014-of-00021.arrow"
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"filename": "data-00015-of-00021.arrow"
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"filename": "data-00016-of-00021.arrow"
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"filename": "data-00017-of-00021.arrow"
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"filename": "data-00018-of-00021.arrow"
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"filename": "data-00019-of-00021.arrow"
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"filename": "data-00020-of-00021.arrow"
|
65 |
+
}
|
66 |
+
],
|
67 |
+
"_fingerprint": "b4bd4106f941687d",
|
68 |
+
"_format_columns": null,
|
69 |
+
"_format_kwargs": {},
|
70 |
+
"_format_type": null,
|
71 |
+
"_output_all_columns": false,
|
72 |
+
"_split": null
|
73 |
+
}
|
index/.gitkeep
ADDED
File without changes
|
index/_x.fdm
ADDED
Binary file (159 Bytes). View file
|
|
index/_x.fdt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c7d061745915f007c93eda53ed5819761ccb0074d95581dbd706f156a413f42
|
3 |
+
size 3998795
|
index/_x.fdx
ADDED
Binary file (2.44 kB). View file
|
|
index/_x.fnm
ADDED
Binary file (322 Bytes). View file
|
|
index/_x.nvd
ADDED
Binary file (600 kB). View file
|
|
index/_x.nvm
ADDED
Binary file (103 Bytes). View file
|
|
index/_x.si
ADDED
Binary file (535 Bytes). View file
|
|
index/_x_Lucene90_0.doc
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbedd0d3108bf9412bee31f35e70cf877d2836c4fb512be18118accf1e8c7d64
|
3 |
+
size 1496033008
|
index/_x_Lucene90_0.dvd
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5497a5551af1944e772bf4fc7c6d3eb2c6a4394c5389fb4f881ada90167743c2
|
3 |
+
size 4383858
|
index/_x_Lucene90_0.dvm
ADDED
Binary file (360 Bytes). View file
|
|
index/_x_Lucene90_0.pos
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9797a15a462df4033bcba66c2525189d483673e667f90c7b3c4c2cda8ba63e36
|
3 |
+
size 7582291303
|
index/_x_Lucene90_0.tim
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09f85b03a6ed0c57921e3f57642d33951fe730da67b529c1f23cfd3e4c1ee060
|
3 |
+
size 101304744
|
index/_x_Lucene90_0.tip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8043c70e5342c3ec652c379e4599f5930dba1ed57c0947c9515e934a112e9bfb
|
3 |
+
size 3361566
|
index/_x_Lucene90_0.tmd
ADDED
Binary file (339 Bytes). View file
|
|
index/segments_2
ADDED
Binary file (154 Bytes). View file
|
|
index/write.lock
ADDED
File without changes
|
packages.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
openjdk-11-jdk
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pyserini
|
2 |
+
datasets
|
3 |
+
faiss-cpu
|
4 |
+
torch
|