Upload TexPrax.py
Browse files- TexPrax.py +5 -4
TexPrax.py
CHANGED
|
@@ -51,13 +51,14 @@ class TexPraxConfig(datasets.BuilderConfig):
|
|
| 51 |
"""BuilderConfig for SuperGLUE."""
|
| 52 |
|
| 53 |
def __init__(self, features, data_url, citation, url, label_classes=("False", "True"), **kwargs):
|
| 54 |
-
super(TexPraxConfig, self).__init__(
|
| 55 |
|
| 56 |
|
| 57 |
class TexPraxDataset(datasets.GeneratorBasedBuilder):
|
| 58 |
-
"""German dialgues that ocurred between workers in a factory.
|
| 59 |
-
|
| 60 |
-
|
|
|
|
| 61 |
BUILDER_CONFIGS = [
|
| 62 |
datasets.BuilderConfig(name="sentence_cl", version=VERSION, description="Sentence level annotations of the TexPrax dataset."),
|
| 63 |
datasets.BuilderConfig(name="ner", version=VERSION, description="BIO-tagged named entites of the TexPrax dataset."),
|
|
|
|
| 51 |
"""BuilderConfig for SuperGLUE."""
|
| 52 |
|
| 53 |
def __init__(self, features, data_url, citation, url, label_classes=("False", "True"), **kwargs):
|
| 54 |
+
super(TexPraxConfig, self).__init__(**kwargs)
|
| 55 |
|
| 56 |
|
| 57 |
class TexPraxDataset(datasets.GeneratorBasedBuilder):
|
| 58 |
+
"""German dialgues that ocurred between workers in a factory. This dataset contains token level entity annotation as well as sentence level problem, cause, solution annotations."""
|
| 59 |
+
|
| 60 |
+
VERSION = datasets.Version("1.1.0")
|
| 61 |
+
|
| 62 |
BUILDER_CONFIGS = [
|
| 63 |
datasets.BuilderConfig(name="sentence_cl", version=VERSION, description="Sentence level annotations of the TexPrax dataset."),
|
| 64 |
datasets.BuilderConfig(name="ner", version=VERSION, description="BIO-tagged named entites of the TexPrax dataset."),
|