Update README.md
Browse files
README.md
CHANGED
@@ -46,9 +46,7 @@ index.bm25()
|
|
46 |
```python
|
47 |
import pyterrier as pt
|
48 |
from tqdm import tqdm
|
49 |
-
import pandas as pd
|
50 |
import ir_datasets
|
51 |
-
from pyterrier_pisa import PisaIndex
|
52 |
dataset = ir_datasets.load('beir/quora')
|
53 |
meta_docno_len = dataset.metadata()['docs']['fields']['doc_id']['max_len']
|
54 |
indexer = pt.IterDictIndexer("./quora.terrier", meta={'docno': meta_docno_len, 'text': 4096})
|
|
|
46 |
```python
|
47 |
import pyterrier as pt
|
48 |
from tqdm import tqdm
|
|
|
49 |
import ir_datasets
|
|
|
50 |
dataset = ir_datasets.load('beir/quora')
|
51 |
meta_docno_len = dataset.metadata()['docs']['fields']['doc_id']['max_len']
|
52 |
indexer = pt.IterDictIndexer("./quora.terrier", meta={'docno': meta_docno_len, 'text': 4096})
|