Datasets:

ArXiv:
Elron commited on
Commit
b28ffab
1 Parent(s): d1c4a3a

Upload blocks.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. blocks.py +11 -2
blocks.py CHANGED
@@ -8,10 +8,18 @@ from .instructions import (
8
  InstructionsList,
9
  TextualInstruction,
10
  )
11
- from .loaders import LoadHF
12
  from .metrics import Accuracy
13
  from .normalizers import NormalizeListFields
14
- from .operators import AddFields, MapInstanceValues
 
 
 
 
 
 
 
 
15
  from .processors import ToString
16
  from .recipe import SequentialRecipe
17
  from .splitters import RandomSampler, SliceSplit, SplitRandomMix, SpreadSplit
@@ -20,6 +28,7 @@ from .task import FormTask
20
  from .templates import (
21
  AutoInputOutputTemplate,
22
  InputOutputTemplate,
 
23
  RenderAutoFormatTemplate,
24
  RenderFormatTemplate,
25
  RenderTemplatedICL,
 
8
  InstructionsList,
9
  TextualInstruction,
10
  )
11
+ from .loaders import LoadFromIBMCloud, LoadHF
12
  from .metrics import Accuracy
13
  from .normalizers import NormalizeListFields
14
+ from .operators import (
15
+ AddFields,
16
+ AddID,
17
+ CastFields,
18
+ CopyFields,
19
+ DivideAllFieldsBy,
20
+ MapInstanceValues,
21
+ RenameFields,
22
+ )
23
  from .processors import ToString
24
  from .recipe import SequentialRecipe
25
  from .splitters import RandomSampler, SliceSplit, SplitRandomMix, SpreadSplit
 
28
  from .templates import (
29
  AutoInputOutputTemplate,
30
  InputOutputTemplate,
31
+ OutputQuantizingTemplate,
32
  RenderAutoFormatTemplate,
33
  RenderFormatTemplate,
34
  RenderTemplatedICL,