ArneBinder
commited on
Commit
•
dd64f89
1
Parent(s):
08d2807
pie-datasets 0.6.0
Browse files- requirements.txt +1 -1
- tacred.py +1 -1
requirements.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
pie-datasets>=0.
|
|
|
1 |
+
pie-datasets>=0.6.0,<0.7.0
|
tacred.py
CHANGED
@@ -2,7 +2,7 @@ from dataclasses import dataclass, field
|
|
2 |
from typing import Any, Dict, Optional
|
3 |
|
4 |
import datasets
|
5 |
-
from
|
6 |
from pytorch_ie.annotations import BinaryRelation, LabeledSpan
|
7 |
from pytorch_ie.core import Annotation, AnnotationList, annotation_field
|
8 |
from pytorch_ie.documents import (
|
|
|
2 |
from typing import Any, Dict, Optional
|
3 |
|
4 |
import datasets
|
5 |
+
from pie_modules.document.processing import token_based_document_to_text_based
|
6 |
from pytorch_ie.annotations import BinaryRelation, LabeledSpan
|
7 |
from pytorch_ie.core import Annotation, AnnotationList, annotation_field
|
8 |
from pytorch_ie.documents import (
|