Upload card.py with huggingface_hub
Browse files
card.py
CHANGED
@@ -12,7 +12,7 @@ from .task import FormTask
|
|
12 |
class TaskCard(Artifact):
|
13 |
loader: Loader
|
14 |
task: FormTask
|
15 |
-
preprocess_steps:
|
16 |
templates: Collection = None
|
17 |
instructions: Collection = None
|
18 |
sampler: Sampler = OptionalField(default_factory=RandomSampler)
|
|
|
12 |
class TaskCard(Artifact):
|
13 |
loader: Loader
|
14 |
task: FormTask
|
15 |
+
preprocess_steps: List[StreamingOperator] = None
|
16 |
templates: Collection = None
|
17 |
instructions: Collection = None
|
18 |
sampler: Sampler = OptionalField(default_factory=RandomSampler)
|