Datasets:

ArXiv:
data / blocks.py
Elron's picture
Upload blocks.py with huggingface_hub
d6bb650
raw
history blame
944 Bytes
from .card import TaskCard
from .catalog import LocalCatalog
from .collections import ItemPicker, RandomPicker
from .common import CommonRecipe
from .instructions import (
Instruction,
InstructionsDict,
InstructionsList,
TextualInstruction,
)
from .loaders import LoadHF
from .metrics import Accuracy
from .normalizers import NormalizeListFields
from .operators import AddFields, MapInstanceValues
from .processors import ToString
from .recipe import SequentialRecipe
from .splitters import RandomSampler, SliceSplit, SplitRandomMix, SpreadSplit
from .stream import MultiStream
from .task import FormTask
from .templates import (
AutoInputOutputTemplate,
InputOutputTemplate,
RenderAutoFormatTemplate,
RenderFormatTemplate,
RenderTemplatedICL,
Template,
TemplatesDict,
TemplatesList,
)
# from .validate import (
# ValidateStandartSchema
# )
# from .metric import (
# MetricRecipe,
# )