Datasets:

ArXiv:
data / blocks.py
Elron's picture
Upload blocks.py with huggingface_hub
e29ba96
raw
history blame
1.01 kB
from .card import TaskCard
from .catalog import LocalCatalog
from .collections import ItemPicker, RandomPicker
from .instructions import (
Instruction,
InstructionsDict,
InstructionsList,
TextualInstruction,
)
from .loaders import LoadFromIBMCloud, LoadHF
from .metrics import Accuracy
from .normalizers import NormalizeListFields
from .operators import (
AddFields,
AddID,
CastFields,
CopyFields,
DivideAllFieldsBy,
MapInstanceValues,
RenameFields,
)
from .processors import ToString, ToStringStripped
from .recipe import SequentialRecipe
from .splitters import RandomSampler, SliceSplit, SplitRandomMix, SpreadSplit
from .stream import MultiStream
from .task import FormTask
from .templates import (
AutoInputOutputTemplate,
InputOutputTemplate,
MultiLabelTemplate,
OutputQuantizingTemplate,
RenderAutoFormatTemplate,
RenderFormatTemplate,
RenderTemplatedICL,
SpanLabelingTemplate,
Template,
TemplatesDict,
TemplatesList,
)