Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
intent-classification
Languages:
Korean
Size:
10K - 100K
ArXiv:
License:
Update files from the datasets library (from 1.8.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.8.0
- dataset_infos.json +1 -1
- kor_3i4k.py +2 -0
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"default": {"description": "This dataset is designed to identify speaker intention based on real-life spoken utterance in Korean into one of
|
|
|
1 |
+
{"default": {"description": "This dataset is designed to identify speaker intention based on real-life spoken utterance in Korean into one of\n7 categories: fragment, description, question, command, rhetorical question, rhetorical command, utterances.\n", "citation": "@article{cho2018speech,\n title={Speech Intention Understanding in a Head-final Language: A Disambiguation Utilizing Intonation-dependency},\n author={Cho, Won Ik and Lee, Hyeon Seung and Yoon, Ji Won and Kim, Seok Min and Kim, Nam Soo},\n journal={arXiv preprint arXiv:1811.04231},\n year={2018}\n}\n", "homepage": "https://github.com/warnikchow/3i4k", "license": "CC BY-SA-4.0", "features": {"label": {"num_classes": 7, "names": ["fragment", "statement", "question", "command", "rhetorical question", "rhetorical command", "intonation-dependent utterance"], "names_file": null, "id": null, "_type": "ClassLabel"}, "text": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": [{"task": "text-classification", "text_column": "text", "label_column": "label", "labels": ["command", "fragment", "intonation-dependent utterance", "question", "rhetorical command", "rhetorical question", "statement"]}], "builder_name": "kor_3i4k", "config_name": "default", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3102158, "num_examples": 55134, "dataset_name": "kor_3i4k"}, "test": {"name": "test", "num_bytes": 344028, "num_examples": 6121, "dataset_name": "kor_3i4k"}}, "download_checksums": {"https://raw.githubusercontent.com/warnikchow/3i4k/master/data/train_val_test/fci_train_val.txt": {"num_bytes": 2661060, "checksum": "646f450b84992c6df806ea72aa35374db7ec30d7739920b86dfa878e73b69079"}, "https://raw.githubusercontent.com/warnikchow/3i4k/master/data/train_val_test/fci_test.txt": {"num_bytes": 295054, "checksum": "d74c5b376c7d231bd4d5a94de855e47b6e70c96abeeaaf75cffbdb8506a87ff2"}}, "download_size": 2956114, "post_processing_size": null, "dataset_size": 3446186, "size_in_bytes": 6402300}}
|
kor_3i4k.py
CHANGED
@@ -18,6 +18,7 @@
|
|
18 |
import csv
|
19 |
|
20 |
import datasets
|
|
|
21 |
|
22 |
|
23 |
_CITATION = """\
|
@@ -71,6 +72,7 @@ class Kor_3i4k(datasets.GeneratorBasedBuilder):
|
|
71 |
homepage=_HOMEPAGE,
|
72 |
license=_LICENSE,
|
73 |
citation=_CITATION,
|
|
|
74 |
)
|
75 |
|
76 |
def _split_generators(self, dl_manager):
|
|
|
18 |
import csv
|
19 |
|
20 |
import datasets
|
21 |
+
from datasets.tasks import TextClassification
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
|
|
72 |
homepage=_HOMEPAGE,
|
73 |
license=_LICENSE,
|
74 |
citation=_CITATION,
|
75 |
+
task_templates=[TextClassification(text_column="text", label_column="label")],
|
76 |
)
|
77 |
|
78 |
def _split_generators(self, dl_manager):
|