holylovenia commited on
Commit
57a6cb7
1 Parent(s): 60ba43b

Upload x_fact.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. x_fact.py +6 -6
x_fact.py CHANGED
@@ -3,10 +3,10 @@ from typing import Dict, List, Tuple
3
 
4
  import datasets
5
 
6
- from nusacrowd.nusa_datasets.x_fact.utils.x_fact_utils import \
7
  load_x_fact_dataset
8
- from nusacrowd.utils.configs import NusantaraConfig
9
- from nusacrowd.utils.constants import Tasks
10
 
11
  _CITATION = """\
12
  @inproceedings{gupta2021xfact,
@@ -51,17 +51,17 @@ _SUPPORTED_TASKS = [Tasks.FACT_CHECKING]
51
 
52
  _SOURCE_VERSION = "1.0.0"
53
 
54
- _NUSANTARA_VERSION = "1.0.0"
55
 
56
 
57
  class XFact(datasets.GeneratorBasedBuilder):
58
  """X-FACT: the largest publicly available multilingual dataset for factual verification of naturally existing realworld claims."""
59
 
60
  SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
61
- NUSANTARA_VERSION = datasets.Version(_NUSANTARA_VERSION)
62
 
63
  BUILDER_CONFIGS = [
64
- NusantaraConfig(
65
  name="x_fact_source",
66
  version=SOURCE_VERSION,
67
  description="x_fact source schema",
 
3
 
4
  import datasets
5
 
6
+ from seacrowd.sea_datasets.x_fact.utils.x_fact_utils import \
7
  load_x_fact_dataset
8
+ from seacrowd.utils.configs import SEACrowdConfig
9
+ from seacrowd.utils.constants import Tasks
10
 
11
  _CITATION = """\
12
  @inproceedings{gupta2021xfact,
 
51
 
52
  _SOURCE_VERSION = "1.0.0"
53
 
54
+ _SEACROWD_VERSION = "2024.06.20"
55
 
56
 
57
  class XFact(datasets.GeneratorBasedBuilder):
58
  """X-FACT: the largest publicly available multilingual dataset for factual verification of naturally existing realworld claims."""
59
 
60
  SOURCE_VERSION = datasets.Version(_SOURCE_VERSION)
61
+ SEACROWD_VERSION = datasets.Version(_SEACROWD_VERSION)
62
 
63
  BUILDER_CONFIGS = [
64
+ SEACrowdConfig(
65
  name="x_fact_source",
66
  version=SOURCE_VERSION,
67
  description="x_fact source schema",