ejschwartz commited on
Commit
9199788
1 Parent(s): f29e00c

Update oo-method-test-split.py

Browse files
Files changed (1) hide show
  1. oo-method-test-split.py +5 -5
oo-method-test-split.py CHANGED
@@ -47,12 +47,12 @@ class OOMethodTestDataset(datasets.ArrowBasedBuilder):
47
  def _info(self):
48
  return datasets.DatasetInfo(
49
  features = datasets.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
  def _split_generators(self, dl_manager):
58
  ds = datasets.load_dataset(BASE_DATASET)['combined']
 
47
  def _info(self):
48
  return datasets.DatasetInfo(
49
  features = datasets.Features({'Binary': datasets.Value(dtype='string', id=None),
50
+ 'Addr': datasets.Value(dtype='string'),
51
+ 'Name': datasets.Value(dtype='string'),
52
  'Type': datasets.ClassLabel(num_classes=2, names=['func', 'method']),
53
+ 'Disassembly': datasets.Value(dtype='string'),
54
+ 'Dirname': datasets.Value(dtype='string'),
55
+ 'Exename': datasets.Value(dtype='string')}))
56
 
57
  def _split_generators(self, dl_manager):
58
  ds = datasets.load_dataset(BASE_DATASET)['combined']