3.4 Model Selection
In the previous section, you undertook your first interactions with different LLMs. A selection of the models was given. But you might ask how to select the “right” model for your task. Depending on your project, you might have hard criteria and soft criteria. To process long input prompts, the context window (see the info box in the previous section) is a hard factor. To interact with a model that includes recent developments and trends, the model cutoff date could be extremely important.
A sweet spot can be found within the boundaries of model price, latency, and performance. Finding the right balance is important for any generative AI application. This trade-off is highly contextual and influenced by the specific requirements ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access