|
--- |
|
pretty_name: PISA Index for CORD-19 |
|
tags: |
|
- pyterrier |
|
task_categories: |
|
- text-retrieval |
|
source_datasets: ['cord19'] |
|
viewer: false |
|
--- |
|
|
|
# PISA Index for CORD-19 |
|
|
|
## 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 | 21525/192509 [00:00<00:00, 215242.51it/s]
cord19 documents: 23%|##2 | 43554/192509 [00:00<00:00, 218208.64it/s]
cord19 documents: 34%|###3 | 65375/192509 [00:00<00:00, 215903.81it/s]
cord19 documents: 46%|####5 | 87678/192509 [00:00<00:00, 218697.91it/s]
cord19 documents: 59%|#####8 | 113053/192509 [00:00<00:00, 231283.52it/s]
cord19 documents: 71%|#######1 | 136963/192509 [00:00<00:00, 233931.86it/s]
cord19 documents: 83%|########3 | 160362/192509 [00:00<00:00, 219996.33it/s]
cord19 documents: 95%|#########4| 182516/192509 [00:00<00:00, 211965.50it/s]
cord19 documents: 100%|##########| 192509/192509 [00:00<00:00, 217227.77it/s] |
|
|
|
</pre> |
|
</details> |
|
|