CarlosMalaga
commited on
Commit
•
129b641
1
Parent(s):
bb94151
Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ def load_model():
|
|
173 |
)
|
174 |
retriever.index()
|
175 |
|
176 |
-
reader = RelikReaderForSpanExtraction("/home/user/app/models/
|
177 |
dataset_kwargs={"use_nme": True})
|
178 |
|
179 |
relik = Relik(reader=reader, retriever=retriever, window_size="none", top_k=100, task="span", device="cpu", document_index_device="cpu")
|
|
|
173 |
)
|
174 |
retriever.index()
|
175 |
|
176 |
+
reader = RelikReaderForSpanExtraction("/home/user/app/models/small-extended-large-batch",
|
177 |
dataset_kwargs={"use_nme": True})
|
178 |
|
179 |
relik = Relik(reader=reader, retriever=retriever, window_size="none", top_k=100, task="span", device="cpu", document_index_device="cpu")
|