Update README.md
Browse files
README.md
CHANGED
@@ -14,6 +14,14 @@ PICKLE is the dataset associated with the manuscript *In a PICKLE: A gold standa
|
|
14 |
|
15 |
## Format specification
|
16 |
This dataset is formatted according to the [specifications for use with the DyGIE++ architecture](https://github.com/dwadden/dygiepp/blob/master/doc/data.md).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
## Dataset details
|
19 |
There are a total of 250 documents in `all.jsonl`, split up into 68%/12%/20% train/dev/test. Each document is an abstract from a scientific paper in the search results for the terms "gibberellic acid" and "jasmonic acid". There are 6,245 entity and 2,149 relation annotations across the 250 documents.
|
|
|
14 |
|
15 |
## Format specification
|
16 |
This dataset is formatted according to the [specifications for use with the DyGIE++ architecture](https://github.com/dwadden/dygiepp/blob/master/doc/data.md).
|
17 |
+
**NOTE:** At this time, the dataset will throw a `JSONDecodeError` when used with `load_datasets`. In the meantime, you can access the data by downloading the `.jsonl` files directly from the GUI, and importing to Python with the following code:
|
18 |
+
```
|
19 |
+
import jsonlines
|
20 |
+
with jsonlines.open('train.jsonl') as reader:
|
21 |
+
train = []
|
22 |
+
for obj in reader:
|
23 |
+
train.append(obj)
|
24 |
+
```
|
25 |
|
26 |
## Dataset details
|
27 |
There are a total of 250 documents in `all.jsonl`, split up into 68%/12%/20% train/dev/test. Each document is an abstract from a scientific paper in the search results for the terms "gibberellic acid" and "jasmonic acid". There are 6,245 entity and 2,149 relation annotations across the 250 documents.
|