(self, encoder, decoding)
| 320 | |
| 321 | class FTBart(nn.Module): |
| 322 | def __init__(self, encoder, decoding): |
| 323 | super().__init__() |
| 324 | self.encoder = encoder |
| 325 | self.decoding = decoding |
| 326 | |
| 327 | def forward(self, input_ids, attention_mask, inputs_embeds, beam_size, max_seq_len, |
| 328 | top_k, top_p, beam_search_diversity_rate, |