Trainer
TrainerError
¶
Bases: FedRAGError
Base errors for all rag trainer relevant exceptions.
InconsistentDatasetError
¶
Bases: TrainerError
Raised if underlying datasets between dataloaders are inconsistent.
InvalidLossError
¶
Bases: TrainerError
Raised if an unexpected loss is attached to a trainer object.
InvalidDataCollatorError
¶
Bases: TrainerError
Raised if an invalid data collator is attached to a trainer object.