Datasets:

ArXiv:
Elron commited on
Commit
249a1e4
1 Parent(s): 8f3bc41

Upload common.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. common.py +7 -8
common.py CHANGED
@@ -1,17 +1,16 @@
1
- from .stream import MultiStream
2
- from .operator import SourceOperator
3
  from .card import TaskCard
4
- from .splitters import SliceSplit, SpreadSplit, RandomSampler
5
- from .recipe import SequentialRecipe, Recipe
6
  from .collections import ItemPicker, RandomPicker
7
- from .templates import RenderTemplatedICL
 
8
  from .schema import ToUnitxtGroup
9
-
10
- from typing import Union
 
11
 
12
 
13
  class CommonRecipe(Recipe, SourceOperator):
14
-
15
  card: TaskCard
16
  demos_pool_name: str = "demos_pool"
17
  demos_pool_size: int = None
 
1
+ from typing import Union
2
+
3
  from .card import TaskCard
 
 
4
  from .collections import ItemPicker, RandomPicker
5
+ from .operator import SourceOperator
6
+ from .recipe import Recipe, SequentialRecipe
7
  from .schema import ToUnitxtGroup
8
+ from .splitters import RandomSampler, SliceSplit, SpreadSplit
9
+ from .stream import MultiStream
10
+ from .templates import RenderTemplatedICL
11
 
12
 
13
  class CommonRecipe(Recipe, SourceOperator):
 
14
  card: TaskCard
15
  demos_pool_name: str = "demos_pool"
16
  demos_pool_size: int = None