Datasets:

Languages:
Indonesian
ArXiv:
holylovenia commited on
Commit
c55bf4d
1 Parent(s): 452a727

Upload cod.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. cod.py +5 -5
cod.py CHANGED
@@ -4,8 +4,8 @@ from typing import Dict, List, Tuple
4
 
5
  import datasets
6
 
7
- from nusacrowd.utils.configs import NusantaraConfig
8
- from nusacrowd.utils.constants import Tasks
9
 
10
  _CITATION = """\
11
  @article{majewska2022cross,
@@ -43,17 +43,17 @@ _SUPPORTED_TASKS = [Tasks.DIALOGUE_SYSTEM]
43
 
44
  _SOURCE_VERSION = "1.0.0"
45
 
46
- _NUSANTARA_VERSION = "1.0.0"
47
 
48
 
49
  class NewDataset(datasets.GeneratorBasedBuilder):
50
  """Cross-lingual Outline-based Dialogue (COD) is a dataset comprises manually generated, localised, and cross-lingually aligned Task-Oriented-Dialogue (TOD) data which served as the source of dialogue prompts."""
51
 
52
  SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
53
- NUSANTARA_VERSION = datasets.Version(_NUSANTARA_VERSION)
54
 
55
  BUILDER_CONFIGS = [
56
- NusantaraConfig(
57
  name="cod_source",
58
  version=SOURCE_VERSION,
59
  description="Cross-lingual Outline-based Dialogue (COD) source schema",
 
4
 
5
  import datasets
6
 
7
+ from seacrowd.utils.configs import SEACrowdConfig
8
+ from seacrowd.utils.constants import Tasks
9
 
10
  _CITATION = """\
11
  @article{majewska2022cross,
 
43
 
44
  _SOURCE_VERSION = "1.0.0"
45
 
46
+ _SEACROWD_VERSION = "2024.06.20"
47
 
48
 
49
  class NewDataset(datasets.GeneratorBasedBuilder):
50
  """Cross-lingual Outline-based Dialogue (COD) is a dataset comprises manually generated, localised, and cross-lingually aligned Task-Oriented-Dialogue (TOD) data which served as the source of dialogue prompts."""
51
 
52
  SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
53
+ SEACROWD_VERSION = datasets.Version(_SEACROWD_VERSION)
54
 
55
  BUILDER_CONFIGS = [
56
+ SEACrowdConfig(
57
  name="cod_source",
58
  version=SOURCE_VERSION,
59
  description="Cross-lingual Outline-based Dialogue (COD) source schema",