Download card.py from unitxt/data: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/datasets/unitxt/data/resolve/34330aeb5cbdfd2b29cd97db656304eb9b38eda9/card.py
- Command line
-
hf download hf://datasets/unitxt/data@34330aeb5cbdfd2b29cd97db656304eb9b38eda9/card.py
-
curl -L -o card.py https://huggingface.co/datasets/unitxt/data/resolve/34330aeb5cbdfd2b29cd97db656304eb9b38eda9/card.py
535 Bytes
| from .artifact import Artifact | |
| from .operator import StreamingOperator | |
| from .templates import TemplatesList, TemplatesDict | |
| from .instructions import InstructionsList, InstructionsDict | |
| from .loaders import Loader | |
| from .task import FormTask | |
| from typing import Union, List, Optional | |
| class TaskCard(Artifact): | |
| loader: Loader | |
| task: FormTask | |
| preprocess_steps: Optional[List[StreamingOperator]] = None | |
| templates: Union[TemplatesList, TemplatesDict] = None | |
| instructions: Union[InstructionsList, InstructionsDict] = None | |