YoVDO

LangChain Data Loaders, Tokenizers, Chunking, and Datasets - Data Prep

Offered By: James Briggs via YouTube

Tags

LangChain Courses Data Preparation Courses

Course Description

Overview

Explore essential data preparation techniques for Large Language Models in this comprehensive tutorial video. Learn how to effectively use LangChain data loaders, tokenize text with tiktoken tokenizers, implement chunking strategies using LangChain text splitters, and store data using Hugging Face datasets. Gain practical insights into preparing text for OpenAI embedding and completion models, with principles applicable to other LLMs like those from Hugging Face and Cohere. Follow along as the instructor demonstrates downloading LangChain documentation, utilizing document loaders, determining optimal text lengths for LLMs, and implementing recursive text splitting with chunk overlap. Discover the importance of proper data preparation and learn how to create, save, and load datasets using JSONL files.

Syllabus

Data preparation for LLMs
Downloading the LangChain docs
Using LangChain document loaders
How much text can we fit in LLMs?
Using tiktoken tokenizer to find length of text
Initializing the recursive text splitter in Langchain
Why we use chunk overlap
Chunking with RecursiveCharacterTextSplitter
Creating the dataset
Saving and loading with JSONL file
Data prep is important


Taught by

James Briggs

Related Courses

Passion Driven Statistics
Wesleyan University via Coursera
Machine Learning With Big Data
University of California, San Diego via Coursera
Big Data - Capstone Project
University of California, San Diego via Coursera
Data Science at Scale - Capstone Project
University of Washington via Coursera
Анализ данных: финальный проект
Moscow Institute of Physics and Technology via Coursera