LisaWang0306 commited on
Commit
a116e12
·
1 Parent(s): 0771813

Update dbp100k-fr-en.py

Browse files
Files changed (1) hide show
  1. dbp100k-fr-en.py +1 -15
dbp100k-fr-en.py CHANGED
@@ -65,13 +65,6 @@ class Dbp100kFrEn(datasets.GeneratorBasedBuilder):
65
  "split": "ent_ids",
66
  },
67
  ),
68
- datasets.SplitGenerator(
69
- name="rel_ids",
70
- gen_kwargs={
71
- "data_file": os.path.join(dl_dir, "rel_ids_1"),
72
- "split": "rel_ids",
73
- },
74
- ),
75
  datasets.SplitGenerator(
76
  name="rel_triples_id",
77
  gen_kwargs={
@@ -89,17 +82,10 @@ class Dbp100kFrEn(datasets.GeneratorBasedBuilder):
89
  "split": "ent_ids",
90
  },
91
  ),
92
- datasets.SplitGenerator(
93
- name="rel_ids",
94
- gen_kwargs={
95
- "data_file": os.path.join(dl_dir, "rel_ids_2"),
96
- "split": "rel_ids",
97
- },
98
- ),
99
  datasets.SplitGenerator(
100
  name="rel_triples_id",
101
  gen_kwargs={
102
- "data_file": os.path.join(dl_dir, "triples_2_id"),
103
  "split": "rel_triples_id",
104
  },
105
  )
 
65
  "split": "ent_ids",
66
  },
67
  ),
 
 
 
 
 
 
 
68
  datasets.SplitGenerator(
69
  name="rel_triples_id",
70
  gen_kwargs={
 
82
  "split": "ent_ids",
83
  },
84
  ),
 
 
 
 
 
 
 
85
  datasets.SplitGenerator(
86
  name="rel_triples_id",
87
  gen_kwargs={
88
+ "data_file": os.path.join(dl_dir, "triples_2"),
89
  "split": "rel_triples_id",
90
  },
91
  )