Elron commited on
Commit
895d817
1 Parent(s): c85069b

Upload card.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. card.py +1 -4
card.py CHANGED
@@ -19,14 +19,11 @@ class TaskCard(Artifact):
19
 
20
  task: specifies the fields (of the already (pre)processed instance) making the inputs, the fields making the outputs, and the metrics to be used for evaluating the model output.
21
 
22
- templates: format strings to be applied on the input fields (specified by the task) and the output fields. The templates also carry with them the list of postprocessing steps, to be applied to the model output.
23
-
24
- instructions: as presented to the executor of the task.
25
  """
26
 
27
  loader: Loader
28
  preprocess_steps: List[StreamingOperator] = None
29
  task: FormTask
30
  templates: Collection = None
31
- instructions: Collection = None
32
  sampler: Sampler = OptionalField(default_factory=RandomSampler)
 
19
 
20
  task: specifies the fields (of the already (pre)processed instance) making the inputs, the fields making the outputs, and the metrics to be used for evaluating the model output.
21
 
22
+ templates: format strings to be applied on the input fields (specified by the task) and the output fields. The template also carries the instructions and the list of postprocessing steps, to be applied to the model output.
 
 
23
  """
24
 
25
  loader: Loader
26
  preprocess_steps: List[StreamingOperator] = None
27
  task: FormTask
28
  templates: Collection = None
 
29
  sampler: Sampler = OptionalField(default_factory=RandomSampler)