예제 #1
0
 def finetune(self, Xs, Y=None, batch_size=None):
     """
     :param \*Xs: lists of text inputs, shape [batch, n_fields]
     :param Y: floating point targets
     :param batch_size: integer number of examples per batch. When N_GPUS > 1, this number
                        corresponds to the number of training examples provided to each GPU.
     """
     return BaseModel.finetune(self, Xs, Y=Y, batch_size=batch_size)
예제 #2
0
 def finetune(self, Xs, Y=None, batch_size=None):
     """
     :param \*Xs: lists of text inputs, shape [batch, n_fields]
     :param Y: integer or string-valued class labels. It is necessary for the items of Y to be sortable.
     :param batch_size: integer number of examples per batch. When N_GPUS > 1, this number
                        corresponds to the number of training examples provided to each GPU.
     """
     return BaseModel.finetune(self, Xs, Y=Y, batch_size=batch_size)