Coder Social home page Coder Social logo

llmops-workshop's Introduction

Streamline LLM operations using Amazon SageMaker

Getting started

This workshop is designed to help you operationalize an open source Large Language Model (LLM), and use the LLM to build a generative AI Q&A bot. Basically, this workshop is broken down into the following parts:

Part 1: Finetune and operationalize an LLM

  1. Register a base LLM model using SageMaker Model Registry

  2. Finetune a Llama2 model with custom dataset using SageMaker Processing, Training and Inference using SageMaker Hosting.

  3. Create an automated LLM training pipeline that orchestrates the LLM finetuning jobs using SageMaker Pipelines. Triggers an LLM deployment to production through CICD pipeline supported via CodePipeline.

  4. Model Monitoring for LLM.

Part 2: Build a generative AI Q&A Chatbot with RAG architecture on AWS

  1. Deploy an Embedding Model through SageMaker Jumpstart. The embedding model will be used for creating embedding for the content to be stored in a vector database.

  2. Build a vector database using Amazon OpenSearch serverless. Ingest content (news articles) into the vector database using langchain library. These content will be used in a retrieval Q&A bot to provide accurate answer based on user queries.

  3. Build a fully functional Q&A chatbot using open source components. In particular, 1/ Amazon OpenSearch Serverless as a vector database for knowledge base repository. 2/ Open Sorce LLM (Llama2) to handle user queries, answers using natural language. 3/ Langchain framework for orchestrating the chat application. 4/ Streamlit framework to build a fully working chat user interface.

The following diagram depicts the building blocks used in the workshop:

llmpos-architecture

LLMOps Workshop

This repository contains the materials and source codes required to complete the workshop. For instruction on how to get started, please refer to this link:

llmops-workshop's People

Contributors

wei-m-teh avatar agungor2 avatar amazon-auto avatar niswitze avatar

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.