Data Preparation for a Text Transfer Task with supervised non-parallel data

The example in the course provides a straight forward example for a QA task. If I have dataset containing text for class A and text for class B.

I want to use the dataset to transfer a text from class A to class B. Important note is that the data is not parallel so I can not prepare the data to imitate the task at hand.

would the following work for the structure of the fine-tuned data?

This is a text that is labeled as A: {text}
This is a text that is labeled as B: {text}