TextGradientTrainer
Methods
__init__
It shares the same parameters as the Trainer class, with some additional unique parameters.
unique parameters:
batch_size: Size of minibatches for evaluation.max_proposals_per_step: Maximum number of proposals to generate per step.TextGradientTrainerwill retry generating optimized promptearly_stopping_roundstimes for each batch.