- 7
- 200 777
Decoder
United States
Приєднався 24 гру 2023
Exploring Large Language Models, Machine Learning, and Image Generation through hands-on tutorials, discussions, and reviews.
LangChain Fundamentals: Build your First Chain
LangChain is one of the most popular frameworks for coding complex LLM-powered logic. It provides the ability to batch and stream calls across different LLM providers, vector databases, 3rd party APIs, and much more. In this video, we explore the very basics of getting started with LangChain - understanding how to build a rudimentary chain complete with templating and an LLM call. Let's go!
Links:
Code from video - decoder.sh/videos/langchain-fundamentals:-build-your-first-chain
LangChain - langchain.com
Ollama Integration - api.python.langchain.com/en/latest/llms/langchain_community.llms.ollama.Ollama.html
Prompts & Templates - python.langchain.com/v0.1/docs/modules/model_io/prompts/quick_start/
Timestamps:
00:00 - Intro
00:25 - Set up Environment
02:41 - Introducing Runnable
03:15 - Message Format
03:52 - ChatModel
05:10 - Why are there so many ways to do the same thing?
06:05 - Types of Messages
07:10 - Introducing Templates
11:12 - Combining Templates w/ LLMs
12:09 - Introducing Pipe
12:36 - Running our chain
13:36 - Review
Links:
Code from video - decoder.sh/videos/langchain-fundamentals:-build-your-first-chain
LangChain - langchain.com
Ollama Integration - api.python.langchain.com/en/latest/llms/langchain_community.llms.ollama.Ollama.html
Prompts & Templates - python.langchain.com/v0.1/docs/modules/model_io/prompts/quick_start/
Timestamps:
00:00 - Intro
00:25 - Set up Environment
02:41 - Introducing Runnable
03:15 - Message Format
03:52 - ChatModel
05:10 - Why are there so many ways to do the same thing?
06:05 - Types of Messages
07:10 - Introducing Templates
11:12 - Combining Templates w/ LLMs
12:09 - Introducing Pipe
12:36 - Running our chain
13:36 - Review
Переглядів: 6 924
Відео
Meta's Llama3 - The Mistral Killer?
Переглядів 2 тис.6 місяців тому
Meta's LLama3 family of models in 8B and 30B flavors was just released and is already making waves in the open source community. With a much larger tokenizer, GQA for all model sizes, and 7.7 million GPU hours spent training on 15 TRILLION tokens, LLama3 seems primed to overtake incumbent models like Mistral and Gemini. I review the most important parts of the announcement before testing the ne...
RAG from the Ground Up with Python and Ollama
Переглядів 34 тис.7 місяців тому
Retrieval Augmented Generation (RAG) is the de facto technique for giving LLMs the ability to interact with any document or dataset, regardless of its size. Follow along as I cover how to parse and manipulate documents, explore how embeddings are used to describe abstract concepts, implement a simple yet powerful way to surface the most relevant parts of a document to a given query, and ultimat...
LLM Chat App in Python w/ Ollama-py and Streamlit
Переглядів 9 тис.8 місяців тому
In this video I walk through the new Ollama Python library, and use it to build a chat app with UI powered by Streamlit. After reviewing some important methods from this library, I touch on Python generators as we construct our chat app, step by step. Check out my other Ollama videos - ua-cam.com/play/PL4041kTesIWby5zznE5UySIsGPrGuEqdB.html Links: Code from video - decoder.sh/videos/llm-chat-ap...
Importing Open Source Models to Ollama
Переглядів 36 тис.9 місяців тому
Hugging Face is a machine learning platform that's home to nearly 500,000 open source models. In this video, I show you how to download, transform, and use them in your local Ollama setup. Get access to the latest and greatest without having to wait for it to be published to Ollama's model library. Let's go! Check out my other Ollama videos - ua-cam.com/play/PL4041kTesIWby5zznE5UySIsGPrGuEqdB.h...
Use Your Self-Hosted LLM Anywhere with Ollama Web UI
Переглядів 77 тис.9 місяців тому
Take your self-hosted Ollama models to the next level with Ollama Web UI, which provides a beautiful interface and features like chat history, voice input, and user management. We'll also explore how to use this interface and the models that power it on your phone using the powerful Ngrok tool. Watch my other Ollama videos - ua-cam.com/play/PL4041kTesIWby5zznE5UySIsGPrGuEqdB.html Links: Code fr...
Installing Ollama to Customize My Own LLM
Переглядів 36 тис.10 місяців тому
Ollama is the easiest tool to get started running LLMs on your own hardware. In my first video, I explore how to use Ollama to download popular models like Phi and Mistral, chat with them directly in the terminal, use the API to respond to HTTP requests, and finally customize our own model based on Phi to be more fun to talk to. Watch my other Ollama videos - ua-cam.com/play/PL4041kTesIWby5zznE...