Upload folder using huggingface_hub
Browse files- README.md +30 -19
- artifact.tar.lz4 +2 -2
- artifact.tar.lz4.json +2 -2
README.md
CHANGED
@@ -1,36 +1,47 @@
|
|
1 |
---
|
2 |
-
pretty_name:
|
3 |
tags:
|
4 |
- pyterrier
|
|
|
|
|
|
|
5 |
task_categories:
|
6 |
- text-retrieval
|
7 |
-
source_datasets: ['cord19']
|
8 |
viewer: false
|
9 |
---
|
10 |
|
11 |
-
#
|
12 |
|
13 |
-
##
|
|
|
|
|
|
|
|
|
14 |
|
15 |
```python
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
19 |
```
|
20 |
|
21 |
-
##
|
|
|
|
|
|
|
|
|
22 |
|
23 |
-
```
|
24 |
-
|
25 |
-
python build.py path/to/artifact
|
26 |
```
|
27 |
|
28 |
-
|
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 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:664087fb3e5325a6ce66d39a8b80fe0ca37ad1f4d4b26f886bbc489b58a012ef
|
3 |
+
size 898
|