Download blocks.py from unitxt/data: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/datasets/unitxt/data/resolve/175f6e2aa0fa60b211efee6eec0f334080d771ae/blocks.py
- Command line
-
hf download hf://datasets/unitxt/data@175f6e2aa0fa60b211efee6eec0f334080d771ae/blocks.py
-
curl -L -o blocks.py https://huggingface.co/datasets/unitxt/data/resolve/175f6e2aa0fa60b211efee6eec0f334080d771ae/blocks.py
1.09 kB
| 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 LoadFromIBMCloud, LoadHF | |
| from .metrics import Accuracy | |
| from .normalizers import NormalizeListFields | |
| from .operators import ( | |
| AddFields, | |
| AddID, | |
| CastFields, | |
| CopyFields, | |
| DivideAllFieldsBy, | |
| MapInstanceValues, | |
| RenameFields, | |
| ) | |
| 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, | |
| OutputQuantizingTemplate, | |
| RenderAutoFormatTemplate, | |
| RenderFormatTemplate, | |
| RenderTemplatedICL, | |
| Template, | |
| TemplatesDict, | |
| TemplatesList, | |
| ) | |
| # from .validate import ( | |
| # ValidateStandartSchema | |
| # ) | |
| # from .metric import ( | |
| # MetricRecipe, | |
| # ) | |