Repost: Wikipedia (or something else) text to input output

Thank you for the reply.

How can I “feed” a model with text? As far as I know, when training a model, I need input_ids and attention_mask for the inputs and labels for the outputs. However, I don’t see how it’s possible to train a model using just text.

Edit: I see that if I leave the input blank and put the text I want in the output, it works.