Elron commited on
Commit
21c8786
1 Parent(s): c8488bd

Upload common.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. common.py +2 -0
common.py CHANGED
@@ -21,6 +21,7 @@ class CommonRecipe(Recipe, SourceOperator):
21
  sampler: Sampler = None
22
  instruction_item: Union[str, int] = None
23
  template_item: Union[str, int] = None
 
24
 
25
  def verify(self):
26
  super().verify()
@@ -82,6 +83,7 @@ class CommonRecipe(Recipe, SourceOperator):
82
  instruction=instruction,
83
  template=template,
84
  demos_field=self.demos_field,
 
85
  )
86
 
87
  steps.append(render)
 
21
  sampler: Sampler = None
22
  instruction_item: Union[str, int] = None
23
  template_item: Union[str, int] = None
24
+ system_prompt: str = None
25
 
26
  def verify(self):
27
  super().verify()
 
83
  instruction=instruction,
84
  template=template,
85
  demos_field=self.demos_field,
86
+ system_prompt=self.system_prompt,
87
  )
88
 
89
  steps.append(render)