You can just append a space and   </s> at the end of each source and target text
so if youe source_text is This is source tetx and summary or target_text is This is summary then it’ll become
This is source text </s>
and
This is summary </s>