Download blocks.py from unitxt/data: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/datasets/unitxt/data/resolve/2bada9c99bc4e82ef94f5daec8c0cb73818aa382/blocks.py
- Command line
-
hf download hf://datasets/unitxt/data@2bada9c99bc4e82ef94f5daec8c0cb73818aa382/blocks.py
-
curl -L -o blocks.py https://huggingface.co/datasets/unitxt/data/resolve/2bada9c99bc4e82ef94f5daec8c0cb73818aa382/blocks.py
1.14 kB
| from .recipe import ( | |
| SequentialRecipe, | |
| ) | |
| from .loaders import ( | |
| LoadHF, | |
| ) | |
| from .splitters import ( | |
| SplitRandomMix, | |
| SliceSplit, | |
| SpreadSplit, | |
| RandomSampler, | |
| ) | |
| from .task import ( | |
| FormTask, | |
| ) | |
| from .templates import ( | |
| RenderAutoFormatTemplate, | |
| RenderFormatTemplate, | |
| RenderTemplatedICL, | |
| TemplatesList, | |
| InputOutputTemplate, | |
| AutoInputOutputTemplate, | |
| ) | |
| from .catalog import ( | |
| LocalCatalog, | |
| ) | |
| from .operators import ( | |
| AddFields, | |
| MapInstanceValues, | |
| ) | |
| from .normalizers import ( | |
| NormalizeListFields, | |
| ) | |
| from .instructions import ( | |
| InstructionsList, | |
| InstructionsDict, | |
| Instruction, | |
| TextualInstruction, | |
| ) | |
| from .templates import ( | |
| TemplatesList, | |
| TemplatesDict, | |
| Template, | |
| ) | |
| from .card import ( | |
| TaskCard, | |
| ) | |
| from .collections import ( | |
| ItemPicker, | |
| RandomPicker, | |
| ) | |
| from .common import ( | |
| CommonRecipe, | |
| ) | |
| # from .validate import ( | |
| # ValidateStandartSchema | |
| # ) | |
| from .stream import ( | |
| MultiStream, | |
| ) | |
| # from .metric import ( | |
| # MetricRecipe, | |
| # ) | |
| from .processors import ( | |
| ToString, | |
| ) | |
| from .metrics import ( | |
| Accuracy, | |
| ) | |