unitxt.instructions module
- class unitxt.instructions.EmptyInstruction(*argv, **kwargs)
Bases:
Instruction
- class unitxt.instructions.Instruction(*argv, **kwargs)
Bases:
StreamInstanceOperatorThe role of instruction is to add instruction to every instance.
Meaning the instruction is taking the instance and generating instruction field for it.
- class unitxt.instructions.InstructionsList(*argv, **kwargs)
Bases:
ListCollection
- class unitxt.instructions.TextualInstruction(*argv, **kwargs)
Bases:
Instruction