Sam
commited on
Commit
·
1868556
1
Parent(s):
d71b1b7
Update from sam
Browse files
argument_mining_dataloader.py
CHANGED
@@ -19,9 +19,7 @@ Arguement Mining Dataset created by Stab , Gurevych et. al. CL 2017
|
|
19 |
"""
|
20 |
|
21 |
import datasets
|
22 |
-
|
23 |
-
|
24 |
-
logger = datasets.logging.get_logger(__name__)
|
25 |
|
26 |
|
27 |
_CITATION = """\
|
@@ -101,7 +99,7 @@ class ArguementMiningCL2017(datasets.GeneratorBasedBuilder):
|
|
101 |
]
|
102 |
|
103 |
def _generate_examples(self, filepath):
|
104 |
-
|
105 |
with open(filepath, encoding="utf-8") as f:
|
106 |
guid = 0
|
107 |
tokens = []
|
|
|
19 |
"""
|
20 |
|
21 |
import datasets
|
22 |
+
import os
|
|
|
|
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
|
|
99 |
]
|
100 |
|
101 |
def _generate_examples(self, filepath):
|
102 |
+
print("⏳ Generating examples from = %s", filepath)
|
103 |
with open(filepath, encoding="utf-8") as f:
|
104 |
guid = 0
|
105 |
tokens = []
|