跳到主要內容
AI 武林
影片進階EN9.3 萬 次觀看

Retrieval Augmented Generation (RAG) Explained: Embedding, Sentence BERT, Vector Database (HNSW)

來源 Umar Jamil

看影片(在新分頁開啟原站)連到 YouTube・Umar Jamil

摘要

深入解析檢索增強生成(RAG)流程,涵蓋語言模型訓練、提示工程、嵌入向量計算及向量資料庫運作原理。講者詳細說明 Sentence BERT 如何生成句向量,並介紹 HNSW 演算法如何透過跳表與小世界網路結構,在海量資料中快速檢索相似向量以輔助 AI 回答問題。

This video explains the Retrieval Augmented Generation pipeline, covering language models, embedding vectors, Sentence BERT, and the HNSW algorithm for efficient vector database search.

摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。

重點

  • RAG 流程包含檢索向量與語言模型生成答案兩個主要步驟。
  • Sentence BERT 透過對比學習將句子轉換為可比較數值的向量。
  • HNSW 演算法結合跳表與小世界概念,大幅提升向量檢索速度。

章節

依話題轉折切分,標題由 AI 產生

  1. 00:00Introduction
  2. 02:22Language Models
  3. 04:33Fine-Tuning
  4. 06:04Prompt Engineering (Few-Shot)
  5. 07:24Prompt Engineering (QA)
  6. 10:15RAG pipeline (introduction)
  7. 13:38Embedding Vectors
  8. 19:41Sentence Embedding
  9. 23:17Sentence BERT
  10. 28:10RAG pipeline (review)
  11. 29:50RAG with Gradient
  12. 31:38Vector Database
  13. 33:11K-NN (Naive)
  14. 35:16Hierarchical Navigable Small Worlds (Introduction)
  15. 35:54Six Degrees of Separation
  16. 39:35Navigable Small Worlds
  17. 43:08Skip-List
  18. 45:23Hierarchical Navigable Small Worlds
  19. 47:27RAG pipeline (review)
  20. 48:22Closing

提到的工具與公司

  • Sentence BERT
  • HNSW
  • K-NN
  • Llama Index
  • Gradient

適合誰看

適合希望深入理解 RAG 架構、向量檢索演算法及 Sentence BERT 原理的開發者與技術人員。

摘要依據

依據
自動字幕

為什麼排在這裡

人氣
0.40
新鮮
0.01

在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算

這個來源最近的內容

Umar Jamil 的所有內容

摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)