Update README.md
Browse files
README.md
CHANGED
@@ -51,50 +51,6 @@ tags:
|
|
51 |
size_categories:
|
52 |
- n<1K
|
53 |
---
|
54 |
-
---
|
55 |
-
configs:
|
56 |
-
- config_name: measeval
|
57 |
-
data_files:
|
58 |
-
- split: train
|
59 |
-
path: "measeval_paragraph_level_no_spans_train.json"
|
60 |
-
- split: val
|
61 |
-
path: "measeval_paragraph_level_no_spans_val.json"
|
62 |
-
- split: test
|
63 |
-
path: "measeval_paragraph_level_no_spans_test.json"
|
64 |
-
- config_name: bm
|
65 |
-
data_files:
|
66 |
-
- split: train
|
67 |
-
path: "bm_paragraph_level_no_spans_train.json"
|
68 |
-
- split: val
|
69 |
-
path: "bm_paragraph_level_no_spans_val.json"
|
70 |
-
- split: test
|
71 |
-
path: "bm_paragraph_level_no_spans_test.json"
|
72 |
-
- config_name: msp
|
73 |
-
data_files:
|
74 |
-
- split: train
|
75 |
-
path: "msp_paragraph_level_no_spans_train.json"
|
76 |
-
- split: val
|
77 |
-
path: "msp_paragraph_level_no_spans_val.json"
|
78 |
-
- split: test
|
79 |
-
path: "msp_paragraph_level_no_spans_test.json"
|
80 |
-
- config_name: all
|
81 |
-
data_files:
|
82 |
-
- split: train
|
83 |
-
path:
|
84 |
-
- "measeval_paragraph_level_no_spans_train.json"
|
85 |
-
- "bm_paragraph_level_no_spans_train.json"
|
86 |
-
- "msp_paragraph_level_no_spans_train.json"
|
87 |
-
- split: val
|
88 |
-
path:
|
89 |
-
- "measeval_paragraph_level_no_spans_val.json"
|
90 |
-
- "bm_paragraph_level_no_spans_val.json"
|
91 |
-
- "msp_paragraph_level_no_spans_val.json"
|
92 |
-
- split: test
|
93 |
-
path:
|
94 |
-
- "measeval_paragraph_level_no_spans_test.json"
|
95 |
-
- "bm_paragraph_level_no_spans_test.json"
|
96 |
-
- "msp_paragraph_level_no_spans_test.json"
|
97 |
-
|
98 |
|
99 |
# A Multi-Domain Corpus for Measurement Extraction (Seq2Seq variant)
|
100 |
|
@@ -104,8 +60,23 @@ A detailed description of corpus creation can be found [here](https://aclantholo
|
|
104 |
This dataset contains the training and validation and test data for each of the three datasets `measeval`, `bm`, and `msp`. The `measeval`, and `msp` datasets were adapted from the [MeasEval (Harper et al., 2021)](https://github.com/harperco/MeasEval) and the [Material Synthesis Procedual (Mysore et al., 2019)](https://github.com/olivettigroup/annotated-materials-syntheses) corpus respectively.
|
105 |
|
106 |
This repository aggregates extraction to paragraph-level for msp and measeval. Labels are given in json-format as preparation for seq2seq training.
|
107 |
-
One standard instruction is given, such that such a prompt can be generated by merging text and extraction columns:
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
```
|
110 |
### Instruction
|
111 |
|
@@ -154,16 +125,4 @@ The H/H+ transition in the MC09 model occurs near 1.4Rp. If we replace the gray
|
|
154 |
"unit": "ppm by mass"
|
155 |
}
|
156 |
]
|
157 |
-
```
|
158 |
-
|
159 |
-
# How to load
|
160 |
-
|
161 |
-
```python
|
162 |
-
from datasets import load_dataset
|
163 |
-
|
164 |
-
# Only train, all domains
|
165 |
-
train_dataset = load_dataset("liy140/multidomain-measextract-corpus", "all", split="train")
|
166 |
-
|
167 |
-
# All measeval data
|
168 |
-
measeval_dataset = load_dataset("liy140/multidomain-measextract-corpus", "measeval", split=["train", "val", "test"])
|
169 |
```
|
|
|
51 |
size_categories:
|
52 |
- n<1K
|
53 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
# A Multi-Domain Corpus for Measurement Extraction (Seq2Seq variant)
|
56 |
|
|
|
60 |
This dataset contains the training and validation and test data for each of the three datasets `measeval`, `bm`, and `msp`. The `measeval`, and `msp` datasets were adapted from the [MeasEval (Harper et al., 2021)](https://github.com/harperco/MeasEval) and the [Material Synthesis Procedual (Mysore et al., 2019)](https://github.com/olivettigroup/annotated-materials-syntheses) corpus respectively.
|
61 |
|
62 |
This repository aggregates extraction to paragraph-level for msp and measeval. Labels are given in json-format as preparation for seq2seq training.
|
|
|
63 |
|
64 |
+
|
65 |
+
# How to load
|
66 |
+
|
67 |
+
```python
|
68 |
+
from datasets import load_dataset
|
69 |
+
|
70 |
+
# Only train, all domains
|
71 |
+
train_dataset = load_dataset("liy140/multidomain-measextract-corpus", "all", split="train")
|
72 |
+
|
73 |
+
# All measeval data
|
74 |
+
measeval_dataset = load_dataset("liy140/multidomain-measextract-corpus", "measeval", split=["train", "val", "test"])
|
75 |
+
```
|
76 |
+
|
77 |
+
# Create Seq2Seq samples
|
78 |
+
|
79 |
+
One standard instruction is given, such that such a prompt can be generated by merging text and extraction columns:
|
80 |
```
|
81 |
### Instruction
|
82 |
|
|
|
125 |
"unit": "ppm by mass"
|
126 |
}
|
127 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
```
|