LisaWang0306
commited on
Commit
•
c6a5c80
1
Parent(s):
83fc434
Update rel-heter.py
Browse files- rel-heter.py +2 -2
rel-heter.py
CHANGED
@@ -5,12 +5,12 @@ import pandas as pd
|
|
5 |
|
6 |
class relHeterConfig(datasets.BuilderConfig):
|
7 |
def __init__(self, features, data_url, **kwargs):
|
8 |
-
super(
|
9 |
self.features = features
|
10 |
self.data_url = data_url
|
11 |
|
12 |
|
13 |
-
class
|
14 |
BUILDER_CONFIGS = [
|
15 |
relHeterConfig(
|
16 |
name="pairs",
|
|
|
5 |
|
6 |
class relHeterConfig(datasets.BuilderConfig):
|
7 |
def __init__(self, features, data_url, **kwargs):
|
8 |
+
super(relHeterConfig, self).__init__(**kwargs)
|
9 |
self.features = features
|
10 |
self.data_url = data_url
|
11 |
|
12 |
|
13 |
+
class relHeter(datasets.GeneratorBasedBuilder):
|
14 |
BUILDER_CONFIGS = [
|
15 |
relHeterConfig(
|
16 |
name="pairs",
|