T5
class T5ConfigWithLoss
Parameters:
loss_type (str): Loss function that will be called if labels are passed.
focal_loss_alpha (float, optional): Weighting factor between 0 and 1. (Defaults to 0.5).
focal_loss_gamma (float, optional): Focusing parameter gamma >= 0. (Defaults to 2.0).
**kwargs: T5 model configuration.
class T5ForZeroShotClassification
Parameters:
config (DebertaConfigWithLoss): Deberta model configuration.
Using T5 Model:
Last updated