Building Text-Based Applications with the ChatGPT API and LangChain
Published by O'Reilly Media, Inc.
How to build with large language models
Course outcomes
- Learn the basics of working with large language models
- Gain proficiency in working with the ChatGPT API and its functionality
- Understand concepts like text summarization, questions answering, and information extraction
- Understand the basics of prompt engineering
Course description
Join expert Lucas Soares to explore ChatGPT, one of the most powerful and widely used large language models. You’ll learn the basics of large language models and their applications as well as how to implement and use ChatGPT for tasks ranging from text summarization, building simple question and answering systems, and other applications. Through a combination of presentations and hands-on exercises, you’ll gain a solid understanding of how to use the ChatGPT API and how to fine-tune large language models and use them to solve real-world problems.
What you’ll learn and how you can apply it
- Build text-based applications using the ChatGPT API
- Build a text summarizer with the ChatGPT API
- Build a learning chatbot with the ChatGPT API
- Understand extractive and abstractive text summarization techniques
- Learn how to leverage ChatGPT to build a text summarization application
This live event is for you because...
- You’re a software or machine learning engineer, a software developer, or data scientist who wants to learn about large language models, specifically ChatGPT, and how to build applications.
Prerequisites
- Familiarity with Python programming
- Some knowledge of machine learning concepts
- Basic understanding of natural language processing (NLP)
Recommended preparation:
- Read chapters 1, 6, and 7 in Natural Language Processing with Transformers (book)
Recommended follow-up:
- Read Language Models in Plain English (report)
- Watch NLP Using Transformers Architectures (video)
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Basics of large language models and their applications
- Presentation: Introduction to large language models and their applications; the essence of LLMs to build applications; introduction to ChatGPT and its API
- Hands-on exercise: Testing the ChatGPT API
- Q&A
- Break
Prompt engineering for ChatGPT-based applications
- Presentation: Prompt engineering (prompting basics and best practices); prompt engineering concepts (few-shot, zero-shot, and chain-of-thought prompting)
- Hands-on exercises: Getting started with basic prompts for ChatGPT; prompt engineering for text summarization and question answering
- Q&A
- Break
Building simple real-world applications with ChatGPT
- Presentation: Building a simple quiz generator; building a notes summarizer
- Hands-on exercises: Build a simple quiz generator app; build a simple notes summarizer app
- Break
Fine-tuning and customizing ChatGPT applications
- Presentation: Fine-tuning ChatGPT applications; customizing and evaluating the notes summarizer app
- Hands-on exercises: Getting familiar with fine-tuning techniques; customizing the notes summarizer app for specific domains
- Q&A
Your Instructor
Lucas Soares
Lucas Soares is an AI engineer who worked as a research assistant at the Champalimaud Neuroscience Institute where he finished his masters working on an application of generative adversarial networks to predict mouse behavior. He switched his focus to industry and worked as a machine learning engineer for K1 Digital and Biometrid, developing computer vision and NLP based applications and gaining experience working with Pytorch. More recently over the last 2 years he has developed expertise working with LLM models, developing applications for his current employer Otovo as well as developing courses for OReilly Media and periodically making technical content about AI for Medium and Youtube.