Update README.md
Browse files
README.md
CHANGED
@@ -165,7 +165,7 @@ dataset = dataset.map(preprocess, fn_kwargs={'tokenizer': tokenizer,
|
|
165 |
# PyTorch dataloader
|
166 |
dataloader = DataLoader(dataset, batch_size=1, num_workers=1)
|
167 |
|
168 |
-
|
169 |
for batch in dataloader:
|
170 |
# do stuff
|
171 |
print(batch)
|
|
|
165 |
# PyTorch dataloader
|
166 |
dataloader = DataLoader(dataset, batch_size=1, num_workers=1)
|
167 |
|
168 |
+
|
169 |
for batch in dataloader:
|
170 |
# do stuff
|
171 |
print(batch)
|