Commit
·
cf7b17b
1
Parent(s):
e7e1b29
Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PIE Dataset Card for "conll2003"
|
| 2 |
+
|
| 3 |
+
This is a [PyTorch-IE](https://github.com/ChristophAlt/pytorch-ie) wrapper for the
|
| 4 |
+
[CoNLL 2003 Huggingface dataset loading script](https://huggingface.co/datasets/conll2003).
|
| 5 |
+
|
| 6 |
+
## Data Schema
|
| 7 |
+
|
| 8 |
+
The document type for this dataset is `CoNLL2003Document` which defines the following data fields:
|
| 9 |
+
|
| 10 |
+
- `text` (str)
|
| 11 |
+
- `id` (str, optional)
|
| 12 |
+
- `metadata` (dictionary, optional)
|
| 13 |
+
|
| 14 |
+
and the following annotation layers:
|
| 15 |
+
|
| 16 |
+
- `entities` (annotation type: `LabeledSpan`, target: `text`)
|
| 17 |
+
|
| 18 |
+
See [here](https://github.com/ChristophAlt/pytorch-ie/blob/main/src/pytorch_ie/annotations.py) for the annotation type definitions.
|
| 19 |
+
|
| 20 |
+
## Document Converters
|
| 21 |
+
|
| 22 |
+
The dataset provides document converters for the following target document types:
|
| 23 |
+
|
| 24 |
+
- `pytorch_ie.documents.TextDocumentWithLabeledSpans`
|
| 25 |
+
|
| 26 |
+
See [here](https://github.com/ChristophAlt/pytorch-ie/blob/main/src/pytorch_ie/documents.py) for the document type
|
| 27 |
+
definitions.
|