Datasets:
Tasks:
Text Classification
Size:
100K - 1M
parquet-converter
commited on
Commit
·
f55af18
1
Parent(s):
a97447a
Update parquet files
Browse files- .gitattributes +0 -37
- README.md +0 -11
- de/mtop_domain-test.parquet +3 -0
- de/mtop_domain-train.parquet +3 -0
- de/mtop_domain-validation.parquet +3 -0
- de/test.jsonl +0 -0
- de/train.jsonl +0 -0
- de/validation.jsonl +0 -0
- en/mtop_domain-test.parquet +3 -0
- en/mtop_domain-train.parquet +3 -0
- en/mtop_domain-validation.parquet +3 -0
- en/test.jsonl +0 -0
- en/train.jsonl +0 -0
- en/validation.jsonl +0 -0
- es/mtop_domain-test.parquet +3 -0
- es/mtop_domain-train.parquet +3 -0
- es/mtop_domain-validation.parquet +3 -0
- es/test.jsonl +0 -0
- es/train.jsonl +0 -0
- es/validation.jsonl +0 -0
- fr/mtop_domain-test.parquet +3 -0
- fr/mtop_domain-train.parquet +3 -0
- fr/mtop_domain-validation.parquet +3 -0
- fr/test.jsonl +0 -0
- fr/train.jsonl +0 -0
- fr/validation.jsonl +0 -0
- hi/mtop_domain-test.parquet +3 -0
- hi/mtop_domain-train.parquet +3 -0
- hi/mtop_domain-validation.parquet +3 -0
- hi/test.jsonl +0 -0
- hi/train.jsonl +0 -0
- hi/validation.jsonl +0 -0
- mtop-domain.py +0 -65
- mtop_domain.py +0 -65
- th/mtop_domain-test.parquet +3 -0
- th/mtop_domain-train.parquet +3 -0
- th/mtop_domain-validation.parquet +3 -0
- th/test.jsonl +0 -0
- th/train.jsonl +0 -0
- th/validation.jsonl +0 -0
.gitattributes
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
19 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
# Audio files - uncompressed
|
29 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
32 |
-
# Audio files - compressed
|
33 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
36 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
37 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
---
|
2 |
-
task_categories:
|
3 |
-
- text-classification
|
4 |
-
language:
|
5 |
-
- de
|
6 |
-
- en
|
7 |
-
- es
|
8 |
-
- fr
|
9 |
-
- hi
|
10 |
-
- th
|
11 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
de/mtop_domain-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2517950ad8492a4cfea111053e747e473455961762c684f3cfb39b71d741e75a
|
3 |
+
size 133151
|
de/mtop_domain-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dde47f475cadfc37aae4dc23bcacbd232f5980bc6c161e3829c02d8beeca7dd1
|
3 |
+
size 477465
|
de/mtop_domain-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84fd727da5248df93ef061ab9cfa4b1b54134168297ffee86505b6a93516e828
|
3 |
+
size 70475
|
de/test.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
de/train.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
de/validation.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
en/mtop_domain-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a94d0150d8e41aa9857dc482bb6bfdf4a4cebc4fbca84e049ba54ec10bab75a
|
3 |
+
size 160135
|
en/mtop_domain-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e600e00df96e0f1dad8d4753574236e599eaf2247d00d04dd83f1ce7784bc3f5
|
3 |
+
size 565323
|
en/mtop_domain-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f47faae295c833fe43fa4808ea6cd4f7d59539c61e8459724493f75bc6a0332e
|
3 |
+
size 82943
|
en/test.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
en/train.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
en/validation.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
es/mtop_domain-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb9474142fdf0ca922cfc71f6f57720fb92ec4b34ae0cd0bb4a2b88172785043
|
3 |
+
size 102959
|
es/mtop_domain-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fd0d036c53d54844f49b225f1f8059cb1b47a6b37330cb9901a05d9ed960f04
|
3 |
+
size 350629
|
es/mtop_domain-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4387b07ad9783f4aace22a8cc86ca62280d02710a71437c2105976cc1c2eb82
|
3 |
+
size 57032
|
es/test.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
es/train.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
es/validation.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
fr/mtop_domain-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:118f29443ddacd64ca629dbe2484193823583743521738decb06c4ee7627ca54
|
3 |
+
size 122821
|
fr/mtop_domain-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dba6cb8ba9e333511b292c52221530bb34e80009451ef02a4d0d62a50b179706
|
3 |
+
size 420352
|
fr/mtop_domain-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49d02a6f064f66bffa3ec6f80bc2daf5356d6c2ca05d1bdf739de404fc7f6343
|
3 |
+
size 62466
|
fr/test.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
fr/train.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
fr/validation.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
hi/mtop_domain-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb908b14eb4a083bb6f0fcbbaddbef895f7c4df0b1dd31b5f56b97a0c7f17bd0
|
3 |
+
size 135961
|
hi/mtop_domain-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e537a69b710a7f0b68c8ce91f597e515e4cc58c749cd523449173bb83dcb063f
|
3 |
+
size 523321
|
hi/mtop_domain-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56e23966d2d50c20be1b73e6f867bb865e23814e8e460c71cb396bd369f3cd74
|
3 |
+
size 104293
|
hi/test.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
hi/train.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
hi/validation.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
mtop-domain.py
DELETED
@@ -1,65 +0,0 @@
|
|
1 |
-
import json
|
2 |
-
import datasets
|
3 |
-
|
4 |
-
_DESCRIPTION = "MTOP: Multilingual Task-Oriented Semantic Parsing"
|
5 |
-
_LANGUAGES = ["en", "de", "es", "fr", "hi", "th"]
|
6 |
-
|
7 |
-
URL = ""
|
8 |
-
_URLs = {
|
9 |
-
split: {
|
10 |
-
"train": URL + f"{split}/train.jsonl",
|
11 |
-
"test": URL + f"{split}/test.jsonl",
|
12 |
-
"validation": URL + f"{split}/validation.jsonl",
|
13 |
-
}
|
14 |
-
for split in _LANGUAGES
|
15 |
-
}
|
16 |
-
|
17 |
-
|
18 |
-
class MTOP(datasets.GeneratorBasedBuilder):
|
19 |
-
"""MTOP Dataset."""
|
20 |
-
|
21 |
-
BUILDER_CONFIGS = [
|
22 |
-
datasets.BuilderConfig(name=name, description=f"This part of my dataset covers {name} part of MTOP Dataset.",)
|
23 |
-
for name in _LANGUAGES
|
24 |
-
]
|
25 |
-
|
26 |
-
DEFAULT_CONFIG_NAME = "en"
|
27 |
-
|
28 |
-
def _info(self):
|
29 |
-
return datasets.DatasetInfo(
|
30 |
-
description=_DESCRIPTION,
|
31 |
-
features=datasets.Features(
|
32 |
-
{
|
33 |
-
"id": datasets.Value("int64"),
|
34 |
-
"text": datasets.Value("string"),
|
35 |
-
"label": datasets.Value("int32"),
|
36 |
-
"label_text": datasets.Value("string"),
|
37 |
-
}
|
38 |
-
),
|
39 |
-
supervised_keys=None,
|
40 |
-
)
|
41 |
-
|
42 |
-
def _split_generators(self, dl_manager):
|
43 |
-
"""Returns SplitGenerators."""
|
44 |
-
my_urls = _URLs[self.config.name]
|
45 |
-
data_dir = dl_manager.download_and_extract(my_urls)
|
46 |
-
return [
|
47 |
-
datasets.SplitGenerator(
|
48 |
-
name=datasets.Split.TRAIN,
|
49 |
-
# These kwargs will be passed to _generate_examples
|
50 |
-
gen_kwargs={"text_path": data_dir["train"]},
|
51 |
-
),
|
52 |
-
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"text_path": data_dir["validation"]},),
|
53 |
-
datasets.SplitGenerator(
|
54 |
-
name=datasets.Split.TEST,
|
55 |
-
# These kwargs will be passed to _generate_examples
|
56 |
-
gen_kwargs={"text_path": data_dir["test"]},
|
57 |
-
),
|
58 |
-
]
|
59 |
-
|
60 |
-
def _generate_examples(self, text_path):
|
61 |
-
"""Yields examples."""
|
62 |
-
with open(text_path, encoding="utf-8") as f:
|
63 |
-
texts = f.readlines()
|
64 |
-
for i, text in enumerate(texts):
|
65 |
-
yield i, json.loads(text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mtop_domain.py
DELETED
@@ -1,65 +0,0 @@
|
|
1 |
-
import json
|
2 |
-
import datasets
|
3 |
-
|
4 |
-
_DESCRIPTION = "MTOP: Multilingual Task-Oriented Semantic Parsing"
|
5 |
-
_LANGUAGES = ["en", "de", "es", "fr", "hi", "th"]
|
6 |
-
|
7 |
-
URL = "" # https://huggingface.co/datasets/mteb/mtop/resolve/main/"
|
8 |
-
_URLs = {
|
9 |
-
split: {
|
10 |
-
"train": URL + f"{split}/train.jsonl",
|
11 |
-
"test": URL + f"{split}/test.jsonl",
|
12 |
-
"validation": URL + f"{split}/validation.jsonl",
|
13 |
-
}
|
14 |
-
for split in _LANGUAGES
|
15 |
-
}
|
16 |
-
|
17 |
-
|
18 |
-
class MTOP_DOMAIN(datasets.GeneratorBasedBuilder):
|
19 |
-
"""MTOP Dataset."""
|
20 |
-
|
21 |
-
BUILDER_CONFIGS = [
|
22 |
-
datasets.BuilderConfig(name=name, description=f"This part of my dataset covers {name} part of MTOP Dataset.",)
|
23 |
-
for name in _LANGUAGES
|
24 |
-
]
|
25 |
-
|
26 |
-
DEFAULT_CONFIG_NAME = "en"
|
27 |
-
|
28 |
-
def _info(self):
|
29 |
-
return datasets.DatasetInfo(
|
30 |
-
description=_DESCRIPTION,
|
31 |
-
features=datasets.Features(
|
32 |
-
{
|
33 |
-
"id": datasets.Value("int64"),
|
34 |
-
"text": datasets.Value("string"),
|
35 |
-
"label": datasets.Value("int32"),
|
36 |
-
"label_text": datasets.Value("string"),
|
37 |
-
}
|
38 |
-
),
|
39 |
-
supervised_keys=None,
|
40 |
-
)
|
41 |
-
|
42 |
-
def _split_generators(self, dl_manager):
|
43 |
-
"""Returns SplitGenerators."""
|
44 |
-
my_urls = _URLs[self.config.name]
|
45 |
-
data_dir = dl_manager.download_and_extract(my_urls)
|
46 |
-
return [
|
47 |
-
datasets.SplitGenerator(
|
48 |
-
name=datasets.Split.TRAIN,
|
49 |
-
# These kwargs will be passed to _generate_examples
|
50 |
-
gen_kwargs={"text_path": data_dir["train"]},
|
51 |
-
),
|
52 |
-
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"text_path": data_dir["validation"]},),
|
53 |
-
datasets.SplitGenerator(
|
54 |
-
name=datasets.Split.TEST,
|
55 |
-
# These kwargs will be passed to _generate_examples
|
56 |
-
gen_kwargs={"text_path": data_dir["test"]},
|
57 |
-
),
|
58 |
-
]
|
59 |
-
|
60 |
-
def _generate_examples(self, text_path):
|
61 |
-
"""Yields examples."""
|
62 |
-
with open(text_path, encoding="utf-8") as f:
|
63 |
-
texts = f.readlines()
|
64 |
-
for i, text in enumerate(texts):
|
65 |
-
yield i, json.loads(text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
th/mtop_domain-test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed41bd601cc3760cb0792cb83aab24ee145d4b9b29e5407ec42bbb324775e07f
|
3 |
+
size 138119
|
th/mtop_domain-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b36b27df266c0fbeffda2b64b67c05be4b686f00b7753e85310c60aa21e6c35
|
3 |
+
size 511348
|
th/mtop_domain-validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3fdfde7b097a9cab6b00ab1ab4d5b4109bd43fa05ed6d5fd9f366f6bf55e6fc
|
3 |
+
size 87523
|
th/test.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
th/train.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|
th/validation.jsonl
DELETED
The diff for this file is too large to render.
See raw diff
|
|