-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Generative AI with Python and PyTorch - Second Edition
By :
The next logical step, once we have a set of strategies for developing prompts in our backpack, is to understand some of the well-known prompting techniques. Some of these are well suited for certain types of tasks while others are applicable in general. Let us explore some of these techniques in detail with examples.
The below list of tasks is pretty self-explanatory, and traditionally, special-purpose NLP models were required for each of these. Since the advent of transformer-based models, these tasks have increasingly become easy to solve, and for most scenarios, LLMs can tackle these out of the box. We will now cover some basic tips and tricks to improve performance on typical NLP tasks: