Update README.md
Browse files
README.md
CHANGED
@@ -67,5 +67,5 @@ with Run().context(RunConfig(nranks=n_gpu,experiment=experiment)):
|
|
67 |
searcher = Searcher(index=index_name) # You don't need to specify checkpoint again, the model name is stored in the index.
|
68 |
query = "マクドナルドの小さなフライドポテトのカロリーはいくつですか"
|
69 |
results = searcher.search(query, k=k)
|
70 |
-
|
71 |
```
|
|
|
67 |
searcher = Searcher(index=index_name) # You don't need to specify checkpoint again, the model name is stored in the index.
|
68 |
query = "マクドナルドの小さなフライドポテトのカロリーはいくつですか"
|
69 |
results = searcher.search(query, k=k)
|
70 |
+
# results: tuple of tuples of length k containing ((passage_id, passage_rank, passage_score), ...)
|
71 |
```
|