ejschwartz
commited on
Commit
•
01df533
1
Parent(s):
755bba7
Update oo-method-test-split.py
Browse files- oo-method-test-split.py +7 -7
oo-method-test-split.py
CHANGED
@@ -46,13 +46,13 @@ class OOMethodTestDataset(datasets.ArrowBasedBuilder):
|
|
46 |
|
47 |
def _info(self):
|
48 |
return datasets.DatasetInfo(
|
49 |
-
features = {'Binary': Value(dtype='string', id=None),
|
50 |
-
'Addr': Value(dtype='string', id=None),
|
51 |
-
'Name': Value(dtype='string', id=None),
|
52 |
-
'Type': ClassLabel(num_classes=2, names=['func', 'method']),
|
53 |
-
'Disassembly': Value(dtype='string', id=None),
|
54 |
-
'Dirname': Value(dtype='string', id=None),
|
55 |
-
'Exename': Value(dtype='string', id=None)}
|
56 |
)
|
57 |
|
58 |
def _split_generators(self, dl_manager):
|
|
|
46 |
|
47 |
def _info(self):
|
48 |
return datasets.DatasetInfo(
|
49 |
+
features = {'Binary': datasets.Value(dtype='string', id=None),
|
50 |
+
'Addr': datasets.Value(dtype='string', id=None),
|
51 |
+
'Name': datasets.Value(dtype='string', id=None),
|
52 |
+
'Type': datasets.ClassLabel(num_classes=2, names=['func', 'method']),
|
53 |
+
'Disassembly': datasets.Value(dtype='string', id=None),
|
54 |
+
'Dirname': datasets.Value(dtype='string', id=None),
|
55 |
+
'Exename': datasets.Value(dtype='string', id=None)}
|
56 |
)
|
57 |
|
58 |
def _split_generators(self, dl_manager):
|