all AI news
How to use LLMs: Summarize long documents
May 1, 2024, 8:54 p.m. | Roger Oriol
DEV Community dev.to
One of the tasks Generative AI models are good at is summarizing texts. However, if you want to summarize a text, you need the whole text to fit in the context window, plus the command to summarize it. The following is an example prompt (you can test it yourself using the Google Colab notebook for this article):
Write a concise summary of the following text:
The Turing test, originally called the imitation game by Alan Turing in 1950, is …
ai ai models colab command context context window documents example generative generative ai models good google however llms machinelearning prompt summarizing tasks test text tutorial
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US
Research Engineer
@ Allora Labs | Remote
Ecosystem Manager
@ Allora Labs | Remote
Founding AI Engineer, Agents
@ Occam AI | New York