ArneBinder commited on
Commit
90684ad
·
verified ·
1 Parent(s): 93418a8

use pie-modules instead of pytorch-ie

Browse files

see https://github.com/ArneBinder/pie-datasets/pull/204 for further information

Files changed (3) hide show
  1. README.md +2 -2
  2. imdb.py +2 -2
  3. requirements.txt +2 -1
README.md CHANGED
@@ -16,7 +16,7 @@ and the following annotation layers:
16
  - `label` (annotation type: `Label`, target: `None`)
17
 
18
  See [here](https://github.com/ArneBinder/pie-modules/blob/main/src/pie_modules/annotations.py) and
19
- [here](https://github.com/ChristophAlt/pytorch-ie/blob/main/src/pytorch_ie/annotations.py) for the annotation
20
  type definitions.
21
 
22
  ## Document Converters
@@ -26,5 +26,5 @@ The dataset provides predefined document converters for the following target doc
26
  - `pie_modules.documents.ExtractiveQADocument` (simple cast without any conversion)
27
 
28
  See [here](https://github.com/ArneBinder/pie-modules/blob/main/src/pie_modules/documents.py) and
29
- [here](https://github.com/ChristophAlt/pytorch-ie/blob/main/src/pytorch_ie/documents.py) for the document type
30
  definitions.
 
16
  - `label` (annotation type: `Label`, target: `None`)
17
 
18
  See [here](https://github.com/ArneBinder/pie-modules/blob/main/src/pie_modules/annotations.py) and
19
+ [here](https://github.com/ArneBinder/pie-modules/blob/main/src/pie_modules/annotations.py) for the annotation
20
  type definitions.
21
 
22
  ## Document Converters
 
26
  - `pie_modules.documents.ExtractiveQADocument` (simple cast without any conversion)
27
 
28
  See [here](https://github.com/ArneBinder/pie-modules/blob/main/src/pie_modules/documents.py) and
29
+ [here](https://github.com/ArneBinder/pie-modules/blob/main/src/pie_modules/documents.py) for the document type
30
  definitions.
imdb.py CHANGED
@@ -2,8 +2,8 @@ from dataclasses import dataclass
2
  from typing import Any, Dict
3
 
4
  import datasets
5
- from pytorch_ie.annotations import Label
6
- from pytorch_ie.documents import TextDocumentWithLabel
7
 
8
  from pie_datasets import GeneratorBasedBuilder
9
 
 
2
  from typing import Any, Dict
3
 
4
  import datasets
5
+ from pie_modules.annotations import Label
6
+ from pie_modules.documents import TextDocumentWithLabel
7
 
8
  from pie_datasets import GeneratorBasedBuilder
9
 
requirements.txt CHANGED
@@ -1 +1,2 @@
1
- pie-datasets>=0.8.1,<0.9.0
 
 
1
+ pie-datasets>=0.10.11,<0.11.0
2
+ pie-modules>=0.15.9,<0.16.0