Datasets:

ArXiv:
Elron commited on
Commit
f71785d
1 Parent(s): 2f710b1

Upload recipe.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. recipe.py +23 -0
recipe.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .operator import SourceSequntialOperator
2
+
3
+
4
+ class Recipe:
5
+ pass
6
+
7
+
8
+ class SequentialRecipe(Recipe, SourceSequntialOperator):
9
+ pass
10
+
11
+
12
+ # class CommonRecipe(Recipe, SourceOperator):
13
+
14
+ # task_card: TaskCard = None
15
+
16
+ # def prepare(self):
17
+ # self.recipe = SequentialRecipe(
18
+ # self.task_card.preprocess,
19
+ # self.task_card.task,
20
+ # RenderTemplatedICL(
21
+
22
+ # )
23
+ # )