fixing
This commit is contained in:
parent
9ba7e24ebd
commit
c7b2f1d20a
2
train.py
2
train.py
@ -35,8 +35,8 @@ def main(config, hug_token):
|
||||
added_tokens = []
|
||||
|
||||
dataset = load_dataset(config.dataset_path, split='train', streaming=True)
|
||||
train_dataset = dataset.skip(100)
|
||||
validation_dataset = dataset.take(100)
|
||||
train_dataset = dataset.skip(10000)
|
||||
|
||||
train_dataset = DonutDataset(
|
||||
train_dataset,
|
||||
|
Loading…
Reference in New Issue
Block a user