https://github.com/fastai/fastbook/blob/master/17_foundations.ipynb

General Terms

Preprocessing

Adding Context (Feature Engineering)

Classification

This is the task of assigning a predefined category or label to a given text. Examples of text classification tasks include sentiment analysis, spam detection, and topic classification.

Add context by combining the different input fields.

df['input'] = 'TEXT1: ' + df.context + '; TEXT2: ' + df.target + '; ANC1: ' + df.anchor

Next Sequence Prediction