Spaces:
Runtime error
Runtime error
load prebuilt index
Browse files
pyserini_wikipedia_kilt_doc.py
CHANGED
|
@@ -3,8 +3,8 @@ from transformers import Tool
|
|
| 3 |
import json
|
| 4 |
|
| 5 |
|
| 6 |
-
|
| 7 |
-
searcher = LuceneSearcher('index-wikipedia-kilt-doc-20210421-f29307.b8ec8feb654f7aaa86f9901dc6c804a8')
|
| 8 |
|
| 9 |
|
| 10 |
|
|
|
|
| 3 |
import json
|
| 4 |
|
| 5 |
|
| 6 |
+
searcher = LuceneSearcher.from_prebuilt_index('wikipedia-kilt-doc')
|
| 7 |
+
# searcher = LuceneSearcher('index-wikipedia-kilt-doc-20210421-f29307.b8ec8feb654f7aaa86f9901dc6c804a8')
|
| 8 |
|
| 9 |
|
| 10 |
|