大型語言模型與文字生成

Let's build GPT: from scratch, in code, spelled out.

由 Andrej Karpathy 製作的 116 分鐘入門課程,累計 8.3M 次觀看,主題為大型語言模型與文字生成。

教學內容

由 Andrej Karpathy 製作的 116 分鐘入門課程,主題為大型語言模型與文字生成。全片分為 24 個章節,從基礎到實作依序講解,可直接跳到需要的段落。累計 8.3M 次觀看、172K 次按讚。

課程大綱

  1. 00:00:00intro: ChatGPT, Transformers, nanoGPT, Shakespeare
  2. 00:07:52reading and exploring the data
  3. 00:09:28tokenization, train/val split
  4. 00:14:27data loader: batches of chunks of data
  5. 00:22:11simplest baseline: bigram language model, loss, generation
  6. 00:34:53training the bigram model
  7. 00:38:00port our code to a script
  8. 00:42:13version 1: averaging past context with for loops, the weakest form of aggregation
  9. 00:47:11the trick in self-attention: matrix multiply as weighted aggregation
  10. 00:51:54version 2: using matrix multiply
  11. 00:54:42version 3: adding softmax
  12. 00:58:26minor code cleanup

+12

頻道
Andrej Karpathy
時長
1:56:20
次觀看
8.3M
按讚
172K
留言
3K
難度
入門
形式
實戰
主題
大型語言模型與文字生成

內容精選自 YouTube 公開課程,播放與署名均保留在 YouTube。

同主題的其他教學