Train T5 model with two different datasets

Hi All,

I trained t5-base for a particular dataset to split a sentence into two and got a Pytorch model. Now, I want to train the pytorch model for another dataset for translation. How do I go about doing it?

I cannot use the following for my trained model:

from simpletransformers.t5 import T5Model
model = T5Model(“t5”,“t5-base”, args=args)

model.train_model(train_data, eval_data=test_data, use_cuda=True,acc=sklearn.metrics.accuracy_score)