Upload stream.py with huggingface_hub
Browse files
stream.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
from
|
2 |
|
3 |
-
from
|
4 |
|
5 |
-
from
|
6 |
|
7 |
|
8 |
class Stream:
|
|
|
1 |
+
from typing import Dict, Iterable
|
2 |
|
3 |
+
from datasets import Dataset, DatasetDict, IterableDataset, IterableDatasetDict
|
4 |
|
5 |
+
from .generator_utils import ReusableGenerator
|
6 |
|
7 |
|
8 |
class Stream:
|