Tranformers Trainer API

does the trainer class for the transformer we use to pass the arguments
in that does both training and validation uses same forward class means that both traind and validation uses the teacher forcing?
can some one explain this?
thanks

1 Like