Seq2Seq Model - Simple Transformers
https://simpletransformers.ai/docs/seq2seq-model30.12.2020 · from simpletransformers.seq2seq import Seq2SeqModel, Seq2SeqArgs model_args = Seq2SeqArgs () model_args. num_train_epochs = 3 model = Seq2SeqModel ( encoder_type, "roberta-base", "bert-base-cased", args = model_args, ) Note: For configuration options common to all Simple Transformers models, please refer to the Configuring a Simple Transformers ...