From the course: Applied AI for Human Resources

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Text generation with LLMs

Text generation with LLMs - Python Tutorial

From the course: Applied AI for Human Resources

Text generation with LLMs

- [Instructor] What are LLMs, and how do we use them in generative AI? Large language models, or LLMs, form the foundation for generative AI in text. They're arguably the most popular models used today for gen AI. LLMs are neural network models that are built using transformer architectures. If you would like to learn more about transformers, please review other courses on this topic. LLMs can comprehend multiple languages. They can understand inputs in natural language and generate outputs in natural language. They also serve as knowledge bases and answer questions based on that knowledge. Some of the popular LLMs include GPT 3.5 from OpenAI, PaLM2 from Google, Claude from Anthropic, and LLaMA from Meta. How does the generation process work with LLMs? At the center of the solution is the LLM itself that is either deployed locally or used as a third-party service. To use the LLM, a prompt is provided as a request.…

Contents