Skip to content

Commit c76f543

Browse files
committed
add video transcript summarization of Lance Martin videos
1 parent fb8bea5 commit c76f543

File tree

3 files changed

+900
-0
lines changed

3 files changed

+900
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ This repository contains my WIP ramblings around Machine-, Deep-Learning:
44
2. [Kaggle's Pneumonia - Chest X-Ray Images](./kaggle/pneumonia/)
55
3. [Kaggle's Titanic - Machine Learning from Disaster](./kaggle/titanic/)
66
4. [Time Series - Stock Market ACF, PACF Analysis on Log-Returns](./time_series/returns/)
7+
4. [LLM - Transcript summarization of the `RAG From Scratch` videos by Lance Martin](./llm/summarization/)

llm/summarization/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# What is this codebase about?
2+
3+
See the `rag_from_scratch_summarization.ipynb` notebook in this folder.
4+
5+
# How to run
6+
7+
I use [miniconda](https://docs.conda.io/en/latest/miniconda.html) through [Homebrew](https://formulae.brew.sh/cask/miniconda) on my Mac to setup the required environment:
8+
9+
```
10+
conda create -n rag-from-scratch -c conda-forge notebook==7.1.0 langchain=0.1.20 langchain-community=0.0.38 langchain-openai=0.0.8 pydub=0.25.1 pytube=15.0.0 yt-dlp=2024.4.9 python=3.10.13
11+
conda activate rag-from-scratch
12+
pip install openai-whisper==20231117
13+
jupyter notebook rag_from_scratch_summarization.ipynb
14+
```
15+
16+
The corresponding LangSmith traces are [here](https://smith.langchain.com/public/7ac73fde-b775-47ca-be38-adcb3f7d1606/r).
17+
18+
Finally the created environment above can be removed through:
19+
20+
```
21+
conda deactivate && conda remove --name rag-from-scratch --all
22+
```

0 commit comments

Comments
 (0)