ArneBinder commited on
Commit
6fbc12f
1 Parent(s): cea3572

pie-datasets 0.4.0

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. tacred.py +2 -1
requirements.txt CHANGED
@@ -1 +1 @@
1
- pie-datasets>=0.3.0
 
1
+ pie-datasets>=0.3.3,<0.5.0
tacred.py CHANGED
@@ -10,7 +10,7 @@ from pytorch_ie.documents import (
10
  )
11
 
12
  from pie_datasets import GeneratorBasedBuilder
13
- from pie_datasets.document.conversion import token_based_document_to_text_based
14
 
15
 
16
  @dataclass(eq=True, frozen=True)
@@ -166,6 +166,7 @@ class Tacred(GeneratorBasedBuilder):
166
  }
167
 
168
  BASE_DATASET_PATH = "DFKI-SLT/tacred"
 
169
 
170
  BUILDER_CONFIGS = [
171
  TacredConfig(
 
10
  )
11
 
12
  from pie_datasets import GeneratorBasedBuilder
13
+ from pie_datasets.document.processing import token_based_document_to_text_based
14
 
15
 
16
  @dataclass(eq=True, frozen=True)
 
166
  }
167
 
168
  BASE_DATASET_PATH = "DFKI-SLT/tacred"
169
+ BASE_DATASET_REVISION = "c801dc186b40a532c5820b4662570390da90431b"
170
 
171
  BUILDER_CONFIGS = [
172
  TacredConfig(