Commit
·
2b6370b
1
Parent(s):
45b4cac
Support streaming (#3)
Browse files- Add data file (8f9785e096deb3e713af3890d95307d87df935b9)
- Update script (f911429e5cb2b6801c06335531ccf22cdffa13db)
- data.zip +3 -0
- kor_nli.py +2 -2
data.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0e1f08af79f96ec66293df406ca2475be8ffffccb95115c9441cd160fd49f89
|
3 |
+
size 41666635
|
kor_nli.py
CHANGED
@@ -19,7 +19,7 @@ _CITATION = """\
|
|
19 |
# TODO(kor_nli):
|
20 |
_DESCRIPTION = """ Korean Natural Language Inference datasets
|
21 |
"""
|
22 |
-
_URL = "
|
23 |
|
24 |
|
25 |
class KorNLIConfig(datasets.BuilderConfig):
|
@@ -76,7 +76,7 @@ class KorNli(datasets.GeneratorBasedBuilder):
|
|
76 |
# dl_manager is a datasets.download.DownloadManager that can be used to
|
77 |
# download and extract URLs
|
78 |
dl_dir = dl_manager.download_and_extract(_URL)
|
79 |
-
dl_dir = os.path.join(dl_dir, "
|
80 |
if self.config.name == "multi_nli":
|
81 |
return [
|
82 |
datasets.SplitGenerator(
|
|
|
19 |
# TODO(kor_nli):
|
20 |
_DESCRIPTION = """ Korean Natural Language Inference datasets
|
21 |
"""
|
22 |
+
_URL = "data.zip"
|
23 |
|
24 |
|
25 |
class KorNLIConfig(datasets.BuilderConfig):
|
|
|
76 |
# dl_manager is a datasets.download.DownloadManager that can be used to
|
77 |
# download and extract URLs
|
78 |
dl_dir = dl_manager.download_and_extract(_URL)
|
79 |
+
dl_dir = os.path.join(dl_dir, "KorNLI")
|
80 |
if self.config.name == "multi_nli":
|
81 |
return [
|
82 |
datasets.SplitGenerator(
|