Giter Site home page Giter Site logo

building-llm-powered-applications's Introduction

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.

building-llm-powered-applications's People

Contributors

anirudhsinghs avatar namratakpackt avatar valentina-alto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

building-llm-powered-applications's Issues

Using open LLM as Llama 2 or LLama 3

Hello ,
Any piece of advice or code snippets of using open LLMs in your notebook scripts ?
That would be an superb improvement for your book.
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.