-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I have noticed that in some cases the split order is not preserved.
For example, consider a no-script dataset with configs:
configs:
- config_name: default
data_files:
- split: train
path: train.csv
- split: test
path: test.csv- Note the defined split order is [train, test]
Once the dataset is loaded, the split order is not preserved:
In [16]: ds
Out[16]:
DatasetDict({
test: Dataset({
features: ['text', 'label'],
num_rows: 1
})
train: Dataset({
features: ['text', 'label'],
num_rows: 2
})
})- Note the obtained split order is [test, train]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working