File size: 1,144 Bytes
93418a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c0f2602
 
93418a8
 
 
 
 
 
c0f2602
93418a8
c0f2602
 
93418a8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# PIE Dataset Card for "imdb"

This is a [PyTorch-IE](https://github.com/ChristophAlt/pytorch-ie) wrapper for the
[imdb Huggingface dataset loading script](https://huggingface.co/datasets/imdb).

## Data Schema

The document type for this dataset is `ImdbDocument` which defines the following data fields:

- `text` (str)
- `id` (str, optional)
- `metadata` (dictionary, optional)

and the following annotation layers:

- `label` (annotation type: `Label`, target: `None`)

See [here](https://github.com/ArneBinder/pie-documents/blob/main/src/pie_documents/annotations.py) and
[here](https://github.com/ArneBinder/pie-documents/blob/main/src/pie_documents/annotations.py) for the annotation
type definitions.

## Document Converters

The dataset provides predefined document converters for the following target document types:

- `pie_documents.documents.ExtractiveQADocument` (simple cast without any conversion)

See [here](https://github.com/ArneBinder/pie-documents/blob/main/src/pie_documents/documents.py) and
[here](https://github.com/ArneBinder/pie-documents/blob/main/src/pie_documents/documents.py) for the document type
definitions.