macavaney commited on
Commit
2f760c7
·
verified ·
1 Parent(s): 3c11c28

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +30 -19
  2. artifact.tar.lz4 +2 -2
  3. artifact.tar.lz4.json +2 -2
README.md CHANGED
@@ -1,36 +1,47 @@
1
  ---
2
- pretty_name: PISA Index for CORD-19
3
  tags:
4
  - pyterrier
 
 
 
5
  task_categories:
6
  - text-retrieval
7
- source_datasets: ['cord19']
8
  viewer: false
9
  ---
10
 
11
- # PISA Index for CORD-19
12
 
13
- ## Using this Artifact
 
 
 
 
14
 
15
  ```python
16
- import pyterrier as pt
17
- pt.Artifact.from_url('hf:macavaney/cord19.pisa')
18
- # PisaIndex(...)
 
19
  ```
20
 
21
- ## Reproducing this Artifact
 
 
 
 
22
 
23
- ```bash
24
- pip install requirements.txt
25
- python build.py path/to/artifact
26
  ```
27
 
28
- <details>
29
- <summary>Artifact Build Log</summary>
30
- <pre>
31
-
32
- warn(f'text_field not specified; indexing all str fields: {text_field}')
33
-
34
 
35
- </pre>
36
- </details>
 
 
 
 
 
 
 
1
  ---
2
+ # pretty_name: "" # Example: "MS MARCO Terrier Index"
3
  tags:
4
  - pyterrier
5
+ - pyterrier-artifact
6
+ - pyterrier-artifact.sparse_index
7
+ - pyterrier-artifact.sparse_index.pisa
8
  task_categories:
9
  - text-retrieval
 
10
  viewer: false
11
  ---
12
 
13
+ # cord19.pisa
14
 
15
+ ## Description
16
+
17
+ *TODO: What is the artifact?*
18
+
19
+ ## Usage
20
 
21
  ```python
22
+ # Load the artifact
23
+ import pyterrier_alpha as pta
24
+ artifact = pta.Artifact.from_hf('macavaney/cord19.pisa')
25
+ # TODO: Show how you use the artifact
26
  ```
27
 
28
+ ## Benchmarks
29
+
30
+ *TODO: Provide benchmarks for the artifact.*
31
+
32
+ ## Reproduction
33
 
34
+ ```python
35
+ # TODO: Show how you constructed the artifact.
 
36
  ```
37
 
38
+ ## Metadata
 
 
 
 
 
39
 
40
+ ```
41
+ {
42
+ "type": "sparse_index",
43
+ "format": "pisa",
44
+ "package_hint": "pyterrier-pisa",
45
+ "stemmer": "porter2"
46
+ }
47
+ ```
artifact.tar.lz4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0dedb4cfce299fe19fbc149cd41e59fc5d18b3dc75c23efa85d64ee88c194bc7
3
- size 171745648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c782c70f23b24f8c7df0efd6376490861c5577c14654c8d2c62b0ac15b92d350
3
+ size 201381493
artifact.tar.lz4.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6414ffa6b610e0c05fd0d5f6ad9f061d709344ef83bb83bfc58e764d73bb487e
3
- size 80
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:664087fb3e5325a6ce66d39a8b80fe0ca37ad1f4d4b26f886bbc489b58a012ef
3
+ size 898