cord19.pisa / README.md
Sean MacAvaney
README.md
be9d0d5
|
raw
history blame
1.46 kB
---
pretty_name: PISA Index for CORD-19
tags:
- pyterrier
task_categories:
- text-retrieval
datasets: ['cord19']
viewer: false
---
## Using this Artifact
```python
import pyterrier as pt
pt.Artifact.from_url('hf:macavaney/cord19.pisa')
# PisaIndex(...)
```
## Reproducing this Artifact
```bash
pip install requirements.txt
python build.py path/to/artifact
```
<details>
<summary>Artifact Build Log</summary>
<pre>
cord19 documents: 0%| | 0/192509 [00:00<?, ?it/s]/home/sean/miniconda3/lib/python3.9/site-packages/pyterrier_pisa/__init__.py:144: UserWarning: text_field not specified; indexing all str fields: ['abstract', 'date', 'doi', 'title']
warn(f'text_field not specified; indexing all str fields: {text_field}')
cord19 documents: 11%|#1 | 21739/192509 [00:00<00:00, 217378.81it/s] cord19 documents: 23%|##2 | 44153/192509 [00:00<00:00, 221352.91it/s] cord19 documents: 34%|###4 | 66289/192509 [00:00<00:00, 217097.58it/s] cord19 documents: 46%|####6 | 88789/192509 [00:00<00:00, 220178.97it/s] cord19 documents: 59%|#####9 | 114450/192509 [00:00<00:00, 233213.83it/s] cord19 documents: 72%|#######1 | 138413/192509 [00:00<00:00, 235378.99it/s] cord19 documents: 84%|########4 | 161963/192509 [00:00<00:00, 222220.81it/s] cord19 documents: 96%|#########5| 184326/192509 [00:00<00:00, 214109.24it/s] cord19 documents: 100%|##########| 192509/192509 [00:00<00:00, 219494.09it/s]
</pre>
</details>