What it is
NLP tasks are the concrete jobs we ask of language technology: translating between languages, extracting names, dates and facts from text, classifying a text (spam, sentiment, topic), answering questions, holding a dialogue. Benchmarks such as GLUE bundle several of them to compare models on the same footing.
What it is for
Choosing the right task shape is the first step of any language project. Many real needs are one of these in disguise: sorting support emails is classification, filling a form from a contract is extraction, a help desk bot is dialogue.
How to do it
- Describe your need in one sentence and match it to a task: classify, extract, translate, summarise, answer, converse.
- Write down what a correct output looks like with ten real examples, including the awkward ones.
- Try a general language model with a clear prompt first; it often handles these tasks with no training.
- Measure it on a small labelled set with a fitting metric (accuracy for classification, exact match for extraction, human judgement for summaries).
- If a general model is too slow, expensive or unreliable, fine-tune a smaller model on your examples.
- Re-check on new data from time to time, since the language people use changes.