PacktPublishing / Building-LLM-Powered-Applications

Building Large Language Model Applications, Published by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building-LLM-Powered-Applications

This is the code repository for Building LLM Powered Application, Published by Packt.

Create intelligent apps and agents with large language models

About the book

The book provides a solid theoretical foundation of what LLMs are, their architecture. With a hands-on approach we provide readers with a step-by-step guide to implementing LLM-powered apps for specific tasks and using powerful frameworks like LangChain.

What you will learn

  • Explore the core components of LLM architecture, including encoder-decoder blocks and embeddings
  • Understand the unique features of LLMs like GPT-3.5/4, Llama 2, and Falcon LLM
  • Use AI orchestrators like LangChain, with Streamlit for the frontend
  • Get familiar with LLM components such as memory, prompts, and tools
  • Learn how to use non-parametric knowledge and vector databases
  • Understand the implications of LFMs for AI research and industry applications
  • Customize your LLMs with fine tuning
  • Learn about the ethical implications of LLM-powered applications

Table of Contents

Chapters

  1. Introduction to Large Language Models
  2. LLMs for AI-Powered Applications
  3. Choosing an LLM for Your Application
  4. Prompt Engineering
  5. Embedding LLMs within Your Applications
  6. Building Conversational Applications
  7. Search and Recommendation Engines with LLMs
  8. Using LLMs with Structured Data
  9. Working with Code
  10. Building Multimodal Applications with LLMs
  11. Fine-Tuning Large Language Models
  12. Responsible AI
  13. Emerging Trends and Innovations

Platforms

You can run the notebooks directly from the table below:

Chapters Colab Kaggle
Chapter 4: Prompt Engineering
  • 🛠Prompt_Engineering
Open In Colab Kaggle
Chapter 5: Embedding LLMs within your Applications
  • 🛠Embedding_LLMs_within_your_Applications
Open In Colab Kaggle
Chapter 6: Building Conversational Applications
  • 🛠Building_Conversational_Applications
Open In Colab Kaggle
Chapter 7: Search and Recommendation Engines with LLMs
  • 🛠Search_and_Recommendation_Engines_with_LLMs
Open In Colab Kaggle
Chapter 8: Using LLMs with Structured Data
  • 🛠Using_LLMs_with_Structured_Data
Open In Colab Kaggle
Chapter 9: Working with Code
  • 🛠Working_with_Code
Open In Colab Kaggle
Chapter 10: Building Multimodal Applications with LLMs
  • 🛠Building_Multimodal_Applications_with_LLMs
Open In Colab Kaggle
Chapter 11: Fine-Tuning Large Language Models
  • 🛠Fine-Tuning_Large_Language_Models
Open In Colab Kaggle

If you feel this book is for you, get your copy today! Coding

Following is what you need for this book:

With the following software and hardware list you can run all code files present in the book.

Software and Hardware List

Chapter Software required Link to the software Hardware specifications OS required
4-11 Python Download Suitable Windows/Linux/MacOS

Errata

  • Page 8, Chapter 1 : P(“table”), P(“chain”), and P(“roof”) are the prior probabilities for each candidate word, based on the language model’s knowledge of the frequency of these words in the training data. Correction: P(“table”), P(“chair”), and P(“roof”) are the prior probabilities for each candidate word, based on the language model’s knowledge of the frequency of these words in the training data.

Know more on the Discord server Coding

You can get more engaged on the discord server for more latest updates and discussions in the community at Discord

Download a Free PDF Coding

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. Free-PDF Coding

We also provide a PDF file that has color images of the screenshots/diagrams used in this book at Color Images Coding

Get to Know the Author

After completing her bachelor's degree in finance, Valentina Alto pursued a master's degree in data science in 2021. She began her professional career at Microsoft as an Azure Solution Specialist, and since 2022, she has been primarily focused on working with Data & AI solutions in the Manufacturing and Pharmaceutical industries. Valentina collaborates closely with system integrators on customer projects, with a particular emphasis on deploying cloud architectures that incorporate modern data platforms, data mesh frameworks, and applications of Machine Learning and Artificial Intelligence.

About

Building Large Language Model Applications, Published by Packt

License:MIT License


Languages

Language:Jupyter Notebook 98.7%Language:Python 1.3%