簡明解釋大型語言模型:英語精讀講義

3Blue1Brown

學習難度
1,244 詞 179 詞/分

影片簡介:本片以逐步視覺化的方式說明聊天機器人如何反覆預測下一個詞、語言模型如何透過大量文本與參數調整完成訓練,以及 Transformer 如何利用平行處理和 attention 建立符合上下文的表示並產生流暢文字。 主要英語知識點: 1. happen across——片語動詞,表示沒有刻意尋找卻偶然發現或遇見某物,可用來描述意外看到資料、地點或機會。 2. well over——數量搭配,表示明顯超過指定門檻,比只說 over 更能突顯超出的幅度,適合數據、時間與估算情境。 3. rather than——對比結構,把偏好的選項與捨棄的替代項並列;使用時讓兩側文法形式保持平行,能更清楚表達取捨。

本篇講解

Imagine you happen across a short movie script that describes a scene between a person and their AI assistant. 片語動詞

0:01

想像一下,你偶然發現了一個簡短的電影劇本,裡面描述了一個人和他們的AI助理之間的場景。

片語動詞

happen across:偶然發現某物

happen across 表示沒有事先計畫或刻意尋找,卻偶然發現某物或遇見某人。這裡用它帶出一個設想:說話者偶然發現了一份短片劇本。 結構是 happen across + 名詞片語,例如 happen across a script、a photo 或 an old friend。過去式是 happened across。

練習

哪一個句子中的 happen across 表示「偶然發現」?

  1. A box of letters happened across Nora while she was cleaning.
  2. While cleaning the attic, Nora happened across a box of old letters.
  3. Nora happened across the attic to put away a box.
查看答案

While cleaning the attic, Nora happened across a box of old letters.

The script has what the person asks the AI,

0:07

劇本裡有這個人問AI的問題,

but the AI's response has been torn off. 片語動詞

0:10

但AI的回答部分被撕掉了。

片語動詞

has been torn off:強調結果的被動形式

在 has been torn off 中,torn 是 tear 的過去分詞,off 與 tear 組成片語動詞 tear off,表示透過撕扯使一部分從較大的整體上脫離。 has been + 過去分詞是現在完成式的被動語態。它強調目前的結果——回應部分已經缺失——而沒有說明是誰把它撕掉的。

練習

用 tear off 的正確形式完成句子:The bottom half of the note is missing because it has been ____.

查看答案

torn off

Suppose you also have this powerful magical machine

0:13

假設你還有一台強大的神奇機器,

that can take any text and provide a sensible prediction

0:16

它可以接收任何文本並提供合理的預測,

of what word comes next.

0:19

猜出下一個詞是什麼。

You could then finish the script by feeding in what you have to the machine, 片語動詞

0:21

你可以把你手頭上的內容輸入到這台機器中來完成劇本,

片語動詞

feeding in:將資訊輸入系統

在這句話中,feeding in 表示把未完成的腳本當作輸入內容交給電腦系統處理。這裡的 feed 是比喻用法,和食物無關。 這個片語動詞可以拆開。在 feeding in what you have 中,較長的受詞 what you have 放在 in 後面。受詞是代名詞時,要放在動詞和介系詞之間:feed it in。

練習

用 feed in 的正確形式完成句子:Before the program can sort the cards, ____ the card numbers one at a time.

查看答案

feed in

seeing what it would predict to start the AI's answer,

0:24

看看它會預測出什麼詞作為AI回答的開頭,

and then repeating this over and over 片語搭配

0:28

然後一遍又一遍地重複這個過程,

片語搭配

over and over:把同一件事重複很多次

Over and over 表示很多次,也就是同一個動作或事件不斷重複。這裡指的是重複整個過程,而不是某個東西位於另一個東西上方。 這個片語常帶有堅持、厭倦或煩躁的感覺,但確切語氣要依上下文判斷。

練習

在句子“Nina read the message over and over,”中,over and over 是什麼意思?

  1. 最後一次
  2. 從上到下
  3. 很多次
查看答案

很多次

with a growing script completing the dialogue.

0:30

隨著劇本不斷變長,最終完成整個對話。

When you interact with a chatbot,

0:33

當你與聊天機器人互動時,

this is exactly what's happening.

0:35

發生的情況正是如此。

A large language model is a sophisticated mathematical function

0:37

大型語言模型是一個複雜的數學函數,

that predicts what word comes next for any piece of text.

0:40

用於為任何文本片段預測下一個出現的詞。

Instead of predicting one word with certainty, though,

0:44

然而,它並不是絕對確定地預測某一個詞,

what it does is assign a probability 文法

0:47

它所做的是分配一個機率

文法

what it does is assign:說明實際作用

what it does is + 動詞原形這個框架用來指出某個事物執行的動作。這裡,what it does 指這個系統的運作方式,is assign 說明該動作是「分配」;它為候選項分配機率,而不是直接確定地選出一個。 需要說明某個工具、機制或職責時,也可以使用同一個框架。is 後面的動詞保持原形,所以這裡使用 assign 是正確的。

練習

哪一句正確使用了這個框架來說明系統的功能?

  1. What the scanner does is reads the code.
  2. What the scanner does to read the code.
  3. What the scanner does is read the code.
查看答案

What the scanner does is read the code.

to all possible next words.

0:49

給所有可能的下一個詞。

To build a chatbot,

0:51

要建立一個聊天機器人,

what you do is lay out some text 片語動詞

0:53

你需要做的是列出一些文本,

片語動詞

lay out:有條理地呈現文字

在 what you do is lay out some text 中,lay out 表示把文字按照清楚的順序或格式整理並呈現出來。some text 是被整理的內容;這個片語強調讓資訊更容易看懂或跟上,而不是單純把一個物體放下。 這裡的 lay out 是及物片語動詞,作用於 text。呈現說明、計畫、理由或論點時,只要重點是有條理地安排內容,也可以使用這個意思。

練習

某個網站按照清楚的順序呈現說明。哪個片語可以自然地填入句子?The website ____ the instructions in three sections。

  1. lays out
  2. lies down
  3. lays down
查看答案

lays out

that describes an interaction between a user and a hypothetical AI assistant.

0:54

描述使用者和假設的AI助理之間的互動。

You add on whatever the user types in 片語動詞

0:59

無論使用者輸入什麼,你都把它加進去

片語動詞

add on:附加額外內容

在這句話中,add on 表示「把額外內容附加或追加到已有內容上」。它說的是擴充現有文字,不是進行算術加法。 整個子句 whatever the user types in 是被附加的內容。這個結構也可以用於費用、功能、備註或最後一個步驟等額外項目。

練習

哪一個片語動詞最適合填入句子?「The basic plan is ready, and you can ___ extra storage later.」

  1. type in
  2. add on
  3. add up
查看答案

add on

片語動詞

types in:用鍵盤輸入文字

在這句話中,types in 表示「按下鍵盤按鍵來輸入文字」。它是 type in 的第三人稱單數形式,因為主詞是 the user。 in 是片語動詞的一部分,不是用來引出地點的介系詞。整個片語 whatever the user types in 指使用者輸入的任何文字。

練習

哪一個片語最適合填入句子?「To find your order, ___ the tracking number and press Enter.」

  1. sign in
  2. type in
  3. add on
查看答案

type in

as the first part of that interaction,

1:01

作為這種互動的第一部分,

and then you have the model repeatedly predict the next word

1:03

然後讓模型反覆預測下一個詞,

that such a hypothetical AI assistant would say in response,

1:06

也就是這個假設的AI助理會用來作為回答的詞,

and that's what's presented to the user.

1:10

這就是展示給使用者的內容。

In doing this,

1:13

在執行這個過程中,

the output tends to look a lot more natural 文法

1:13

產生的輸出往往看起來自然得多,

文法

tends to:描述通常的傾向

「tends to」後面接動詞原形,結構是 tend(s) to + 動詞。這裡的「tends to look」表示在這些條件下,輸出通常會顯得更自然。 它描述的是一種傾向,不是保證。某件事經常發生但可能有例外時,可以使用這個結構。

練習

請用一個表示「通常如此,但不一定每次都如此」的兩個字詞片語完成句子:On busy mornings, the bus ____ arrive a few minutes late.

查看答案

tends to

if you allow it to select less likely words

1:15

如果你允許它選擇那些機率較低的詞,

along the way at random. 片語搭配

1:17

在這個過程中隨機選擇。

片語搭配

along the way:在途中或過程中

「Along the way」是一個副詞片語,表示「在旅途中」或「在某個過程進行期間」。在本句中,way 指的是產生輸出的過程,而不是真實的道路。 這個片語常用來指出在過程結束之前,各個階段發生的事件、發現或變化。

練習

如果要表達「在過程中」,哪個片語最適合完成下面的句子? We changed our plan several times ____, but we still finished the project.

  1. on the way
  2. along the way
  3. by the way
查看答案

along the way

片語搭配

用「at random」表示沒有固定模式的選擇

at random 表示靠隨機方式,而不是按照事先規劃的模式來做選擇或決定順序。這裡用來說明某個項目在過程中是如何被選出的。 隨機方法可以是刻意採用並仔細設計的。這個片語表示結果不是事先固定的;並不表示某個人或流程很草率。

練習

用表示「透過隨機選擇的方法」的兩個字片語完成句子:The survey software chose 200 names ____ from the full list.

查看答案

at random

So what this means is even though the model itself is deterministic, 文法

1:20

那麼這意味著,儘管模型本身是確定性的,

a given prompt typically gives a different answer each time it's run. 用詞

1:23

同一個提示在每次運行時,通常都會給出不同的答案。

文法

用「even though」表達事實與意外結果的對比

Even though 引導讓步子句:它先提出一個事實,而這個事實原本可能讓主要子句的結果顯得不太可能。在這句話中,模型本身具有確定性被視為事實,但答案仍可能每次執行都不同。 結構是 even though + 子句,主要子句(也可以是主要子句 + even though + 子句)。它相當於「儘管有……這個事實」,所以目前情境中的兩個情況都被當成真實情況。

練習

說話者知道圖書館很快就要關門,但想表達一個意外結果。選擇最適合的連接詞:____ the library was about to close, the staff let us finish our project.

  1. Even if
  2. Even though
  3. Because
查看答案

Even though

用詞

a given prompt:given 表示「某一個特定的」

在 a given prompt 中,given 放在 prompt 前面,用來限定名詞,意思是概括陳述中「正在考慮的某一個特定提示」。因此,這句話談的是同一個選定提示被多次執行時會發生什麼。 這裡的 given 並不表示有人「給出」了提示。a given + 單數名詞這個結構常用來說明:一個群體中的任意某個具體成員都適用某種情況。

練習

用本課中表示「正在考慮的任意一個特定提示」的片語完成句子:In repeated tests, ____ may produce more than one answer.

查看答案

a given prompt

Models learn how to make these predictions

1:27

模型學會如何做出這些預測

by processing an enormous amount of text,

1:29

是透過處理海量的文本,

typically pulled from the internet.

1:32

這些文本通常來自網際網路。

For a standard human to read the amount of text that was used to train GPT-3,

1:34

對於一個普通人來說,要讀完用於訓練GPT-3的文本量,

for example,

1:38

例如,

if they read non-stop 24/7,

1:39

如果他們24小時不停地閱讀,

it would take over 2600 years.

1:42

這需要超過2600年。

Larger models since then train on much, much more.

1:44

從那以後,更大的模型在比這多得多的資料上進行訓練。

You can think of training a little bit like tuning the dials on a big machine. 文法

1:48

你可以把訓練看作有點像在一台大機器上調轉盤。

文法

think of X like Y:建立類比

Think of X like Y 是一個類比框架。think of 引導聽者在腦中想像 X,like 則帶出更熟悉的比較對象 Y。這裡透過把訓練與調整大型機器上的旋鈕相比,幫助理解訓練。 這個框架只強調兩者之間有用的相似點,並不是說 X 和 Y 完全相同。在這個用法中,like 是表示「像、與……相似」的介系詞,不是表示「喜歡」的動詞。

練習

用缺少的兩個部分完成類比框架:You can ____ a budget ____ a plan for where your money will go.

查看答案

think of · like

The way that a language model behaves

1:52

語言模型的表現方式

is entirely determined by these many different continuous values,

1:53

完全由這許多不同的連續數值決定,

usually called parameters or weights.

1:58

這些數值通常被稱為參數或權重。

Changing those parameters will change the probabilities

2:01

改變這些參數將改變機率,

that the model gives for the next word on a given input.

2:04

即模型在給定輸入下為下一個詞提供的機率。

What puts the large in large language model 慣用語

2:07

大型語言模型之所以能被稱為「大」,

is how they can have hundreds of billions of these parameters.

2:10

是因為它們可以擁有數千億個這樣的參數。

慣用語

是什麼讓大型語言模型中的「大型」名副其實

what puts X in Y 這個句型表示「某個特徵讓 Y 真正具備 X 這項特質」。在這裡,龐大的參數數量說明了為什麼大型語言模型配得上 large 這個詞。 puts 不是指真的把東西放進去。說話者重複使用 large,把技術名稱變成一個小小的文字遊戲:第一個 large 是正在解釋的特質,第二個 large 是 large language model 這個名稱的一部分。

練習

下列哪一句使用 what puts X in Y 來說明某個稱呼為什麼名副其實?

  1. Fast service means answering customers quickly.
  2. We put the express package in the delivery truck.
  3. Our five-minute response time is what puts the fast in fast service.
查看答案

Our five-minute response time is what puts the fast in fast service.

No human ever deliberately sets those parameters.

2:15

從來沒有人類刻意去設定這些參數。

Instead, they begin at random,

2:18

相反地,它們從隨機值開始,

meaning the model just outputs gibberish,

2:20

這意味著模型一開始只會輸出胡言亂語,

but they're repeatedly refined based on many example pieces of text.

2:22

但它們會根據許多文本範例被反覆微調。

One of these training examples could be just a handful of words, 片語搭配

2:27

這些訓練範例之一可能只有幾個詞,

片語搭配

a handful of 表示「少量幾個」

a handful of 放在複數可數名詞前,表示「少量幾個」。在這句話中,訓練範例可能只包含幾個詞。 這個數量是概略的,並不是固定數字。雖然 handful 原本和一隻手能抓住的量有關,但這裡使用的是比喻義。

練習

用本課中表示「數量很少且不精確」的表達完成句子:The tiny workshop has only ____ employees, so everyone knows each other.

查看答案

a handful of

or it could be thousands,

2:30

或者也可能有成千上萬個詞,

but in either case,

2:31

但無論是哪種情況,

the way this works is to pass in all but the last word from that example 文法

2:32

它的工作原理都是將除了該範例最後一個詞之外的所有內容輸入

文法

all but + 名詞片語:除指定對象外全部

在本句中,all but the last word 表示「除了最後一個單字以外的所有單字」。這個表達先涵蓋整個群體,再排除 but 後面點明的人或事物。 這裡,最後一個單字被留下,其餘較前面的單字都會被傳入。可套用的結構 all but + 名詞片語表示「除了……以外全部」,而不是「幾乎」。

練習

在句子 “The team finished all but the last task,” 中,哪個意思正確?

  1. 團隊差一點完成最後一項任務。
  2. 團隊完成了除了最後一項以外的所有任務。
  3. 團隊只完成了最後一項任務。
查看答案

團隊完成了除了最後一項以外的所有任務。

into the model and compare the prediction

2:36

到模型中,並比較模型的預測結果

that it makes with the true last word from the example.

2:39

與範例中真實的最後一個詞。

An algorithm called backpropagation is used to tweak all of the parameters

2:43

一種被稱為反向傳播的演算法被用來調整所有的參數,

in such a way that it makes the model 文法

2:48

其調整的方式是使模型

a little more likely to choose the true last word

2:49

稍微更有可能選擇真實的最後一個詞,

and a little less likely to choose all the others.

2:52

而稍微減少選擇所有其他詞的可能性。

文法

in such a way that:連接方法與其結果

in such a way that 把一個動作或方法與它產生的結果連接起來。這個片語前面的部分說明做了什麼;that 引導的子句說明以這種方式做之後會發生什麼。 這裡,參數經過調整,使模型更有可能選到真正的最後一個單字,也更不可能選到其他單字。可套用的結構是 do something in such a way that + 結果子句。

練習

用強調動作方式如何產生結果的五字表達補完整句子:He labeled the boxes ____ anyone could find the right one quickly.

查看答案

in such a way that

When you do this for many, many trillions of examples,

2:56

當你對成千上萬億個範例執行此操作時,

not only does the model start to give more accurate predictions on the training data, 文法

2:59

模型不僅開始在訓練資料上給出更準確的預測,

but it also starts to make more reasonable predictions

3:03

而且它也開始做出更合理的預測,

on text that it's never seen before.

3:06

針對它以前從未見過的文本。

文法

句首 not only ... but it also 結構

not only ... but it also ... 連接兩個平行的結果,並強調兩者都成立。在本句中,第一個結果是模型對訓練資料的預測更準確,第二個結果則進一步說明模型也能對從未見過的文字做出更合理的預測。 當 not only 位於第一個子句的開頭時,要使用主詞和助動詞倒裝:does 放在 the model 前面,start 保持原形。but 後的子句使用一般語序:but it also starts ...。

練習

補上這組強調結構:____ did the update reduce errors, ____ made the app faster.

查看答案

Not only · but it also

Given the huge number of parameters

3:09

考慮到龐大的參數數量

and the enormous amount of training data,

3:11

和海量的訓練資料,

the scale of computation involved in training a large language model

3:13

訓練一個大型語言模型所涉及的運算規模

is mind-boggling. 用詞

3:17

是令人難以置信的。

用詞

語氣強烈的形容詞 mind-boggling

mind-boggling 表示某件事驚人、龐大或複雜到讓人難以想像。這裡用它形容運算量大得驚人。 這個詞表達的是強烈的震撼感,而不只是一般的困難。它常用來描述讓人驚嘆的數字、規模、複雜程度、速度或成就。

練習

一份報告指出,某個系統一天處理了 400 兆筆紀錄。哪個句子最能表達對這個規模的驚嘆?

  1. The number of records is difficult.
  2. The number of records is confusing.
  3. The number of records is mind-boggling.
查看答案

The number of records is mind-boggling.

To illustrate, 表達脈絡

3:19

為了說明這一點,

imagine that you could perform 1 billion additions and multiplications

3:20

想像一下,如果你能每秒執行10億次加法和乘法

every single second.

3:24

運算。

表達脈絡

用「To illustrate,」引出例子

To illustrate 是一個篇章標記,用來把聽者從概括或抽象的觀點帶到具體例子、計算或假想情境。本句中,它引出以 imagine 開始的思考實驗。 這裡的 illustrate 表示「透過舉例把觀點說明清楚」,不一定是指畫圖。To illustrate 作為句首標記時,後面通常要加逗號。

練習

為第二句選擇最合適的開頭:「Many small daily choices can save energy. _____ turning off one unused light each evening reduces waste.」

  1. As a result,
  2. In contrast,
  3. To illustrate,
查看答案

To illustrate,

How long do you think that it would take

3:25

你認為需要多長時間,

for you to do all of the operations

3:27

才能完成所有的運算,

involved in training the largest language models?

3:30

也就是訓練最大語言模型涉及的運算?

Do you think it would take a year?

3:33

你覺得需要一年嗎?

Maybe something like 10,000 years?

3:35

也許是1萬年左右?

The answer is actually much more than that.

3:38

答案其實遠不止於此。

It's well over 100 million years. 片語搭配

3:41

這需要遠超過1億年的時間。

片語搭配

well over:明顯超過某個數字

Well over 表示「明顯超過」某個數字、數量、限度或時長。本句用它強調估算結果超過一億年,而且超出的幅度很大但未說明確切數值,並不是只多一點。 這裡的 well 是程度副詞,用來修飾 over。這個結構常與數量和限度搭配:well over 50 people、well over budget 和 well over an hour。

練習

情境:最終帳單為 240 萬美元,遠高於 100 萬美元的原估算。選出最能補完整句子並強調大幅超出的片語:「The final bill was _____ $1 million.」

  1. almost
  2. just over
  3. well over
查看答案

well over

This is only part of the story, though. 慣用語

3:45

然而,這只是故事的一部分。

慣用語

only part of the story:解釋還不完整

“Only part of the story”表示剛才所說的內容是正確的,但並不完整。這裡的 story 指「完整的情況或解釋」,而不是虛構故事。 這個表達會限制前面的結論,並提示接下來還有另一個重要因素。

練習

請補全這個固定表達,表示這項估算並不是完整情況:The repair cost is ____; we also need to consider how long the work will take.

查看答案

only part of the story

This whole process is called pretraining.

3:47

這整個過程被稱為預訓練。

The goal of autocompleting a random passage of text from the internet

3:49

從網際網路上自動補齊一段隨機文本的目標,

is very different from the goal of being a good AI assistant.

3:53

與成為一個優秀的AI助理的目標截然不同。

To address this, 表達脈絡

3:56

為了解決這個問題,

chatbots undergo another type of training, 片語搭配

3:57

聊天機器人經歷了另一種類型的訓練,

just as important, called reinforcement learning with human feedback.

4:00

同樣重要,這被稱為基於人類回饋的增強學習。

表達脈絡

To address this:從問題轉向因應措施

“To address this”放在句首,用來說明後續行動的目的:這個行動是為了處理剛剛提到的問題。this 回指的就是這個問題。 這個句首結構按照「問題 → 因應措施」來組織資訊,讓聽者明白為什麼要帶出下一步。這裡的 address 是動詞,表示「處理、因應」,不是表示地點的名詞,也不是「向聽眾發表談話」的動詞。

練習

請用目標動詞補全「問題—因應措施」的連結:The waiting list was too long. To ____ this, the clinic added evening appointments.

查看答案

address

片語搭配

undergo another type of training:接受另一種訓練

在本句中,undergo another type of training 表示「經歷或接受一個額外的訓練過程」。聊天機器人是接受訓練的一方,而不是主持訓練的一方。 undergo 是較正式的動詞,常用於主詞受到某個計畫性過程影響的情況,例如訓練、測試、治療或變化。結構是 undergo + 名詞片語,如 undergo training、undergo testing 或 undergo major changes。

練習

請用表示「經歷訓練過程」的正式動詞完成句子:Before working alone, every technician must ____ safety training.

查看答案

undergo

Workers flag unhelpful or problematic predictions, 用詞

4:04

工作人員標記出無益或有問題的預測,

and their corrections further change the model's parameters,

4:07

他們的修正會進一步改變模型的參數,

making them more likely to give predictions

4:11

使它們更有可能給出預測,

that users prefer.

4:13

也就是使用者更偏好的預測。

用詞

flag 作為動詞:標記以供審查

這裡的 flag 表示「把某個內容標為需要注意、審查或處理」。工作人員指出可能沒有幫助或有問題的預測,以便之後進行檢查和修正。 flag 用作工作流程中的動詞時,通常直接接受詞,如 flag a comment、flag a transaction 或 flag an error。這個受詞就是需要特別注意的項目。

練習

在內容審查流程中,"flag this comment" 最可能是什麼意思?

  1. 只是把這則留言歸入一般類別。
  2. 立刻刪除這則留言。
  3. 標記這則留言,以便注意或審查。
查看答案

標記這則留言,以便注意或審查。

Looking back at the pretraining, though, 表達脈絡

4:15

不過,回顧預訓練,

this staggering amount of computation

4:17

這種驚人的運算量

is only made possible by using special computer chips 文法

4:19

只有透過使用特殊的電腦晶片才能實現,

that are optimized for running many, many operations in parallel, 片語搭配

4:22

這些晶片針對平行執行許多操作進行了最佳化,

片語搭配

optimized for running:be optimized for + -ing 形式

be optimized for + 名詞或 -ing 形式表示「經過設計或調整,以便有效率地處理特定任務」。這裡指這些晶片特別適合同時執行大量運算。 在 optimized for running 中,for 是介系詞,running 是說明任務的 -ing 形式。這個結構不是 for + 不定詞。

練習

用 optimize 和 render 的正確形式完成句子:This graphics card is ____ complex visual effects in real time.

查看答案

optimized for rendering

known as GPUs.

4:26

它們被稱為GPU。

表達脈絡

Looking back at:回到先前的話題

Looking back at the pretraining 表示說話者在談過其他內容後,正回到先前提過的主題——預訓練。這裡的 looking back 不是回憶個人的人生經歷。 放在句首時,Looking back at + 名詞片語可以組織較長的說明:它先告訴聽者接下來要重新檢視前面的哪個主題,然後說話者再補充新的觀察。

練習

在這句話中,Looking back at the pretraining 向聽者傳達了什麼?

  1. 它回到先前提過的預訓練主題,以補充新的觀點。
  2. 它把預訓練當成全新的主題來介紹。
  3. 它描述某個人真的轉身去看訓練。
查看答案

它回到先前提過的預訓練主題,以補充新的觀點。

文法

made possible by:指出讓結果得以實現的因素

在 is only made possible by using special computer chips 中,被動結構 be made possible by + 名詞或 -ing 片語用來指出是什麼讓某個結果得以實現。它不是在描述一般的製作或製造動作。 這裡,this staggering amount of computation 是結果,using special computer chips 是促成結果的因素。only 加強了說法:說話者認為該結果依賴這項因素。

練習

用本課中表示「因……而得以實現」的三個英文字補完整句子:The rapid rescue was ____ the new warning system.

查看答案

made possible by

However,

4:28

然而,

not all language models can be easily parallelized.

4:28

並不是所有的語言模型都能輕易地平行化。

Prior to 2017, 用詞

4:32

在2017年之前,

most language models would process text one word at a time. 片語搭配

4:33

大多數語言模型每次只能處理文本中的一個詞。

用詞

Prior to + 名詞或時間表達

Prior to 表示「在……之前」,把某件事放在指定時間或事件之前。這裡的 Prior to 2017 為大多數語言模型如何處理文字的說明設定了正式的時間界線。 在這個固定片語中,to 是介系詞。後面可以接日期、名詞片語或 -ing 形式,但不能接原形動詞。

練習

哪一個句子正確使用 prior to 構成正式的時間表達?

  1. Prior the inspection, all equipment must be switched off.
  2. Prior to the inspection, all equipment must be switched off.
  3. Prior to inspect the equipment, switch off the power.
查看答案

Prior to the inspection, all equipment must be switched off.

片語搭配

one word at a time:一次一個詞

number + 可數單位 + at a time 這個結構表示每個步驟或每一輪只處理指定數量的單位。這裡的單位是 one word,所以模型會依序處理文字,而不是把整段文字一起處理。 數字和單位都可以替換,例如 one question at a time 和 two files at a time。這個結構常強調每個步驟可處理數量的實際限制。

練習

哪一句明確表示程式在每個步驟只處理一個請求?

  1. The program handles one request at a time.
  2. The program handles every request at once.
  3. At one time, the program handled one request.
查看答案

The program handles one request at a time.

But then,

4:37

但後來,

a team of researchers at Google

4:37

Google的一組研究人員

introduced a new model known as the Transformer.

4:39

推出了一種被稱為Transformer的新模型。

Transformers don't read text from the start to the finish.

4:43

Transformer不會從頭到尾閱讀文本。

They soak it all in at once, 片語動詞

4:46

它們一次性吸收全部文本,

片語動詞

soak it all in:充分感受並吸收這一切

Soak it all in 是比喻用法,表示接收並充分吸收資訊、感受、氣氛或經歷。在這句話中,主詞把整段文字當成一個整體接收進來,並不是把什麼東西放進液體裡浸泡。 在常見結構 soak it in 和 soak it all in 中,代名詞 it 放在 soak 和 in 之間。All 加入了完整、全部的意思。

練習

哪一句自然地使用 soak it all in 來表示停下來充分感受一段經歷?

  1. After reaching the summit, Lena ignored the view and left immediately.
  2. After reaching the summit, Lena stood quietly and soaked it all in.
  3. After reaching the summit, Lena poured water over her map.
查看答案

After reaching the summit, Lena stood quietly and soaked it all in.

in parallel.

4:48

以平行的方式。

The very first step inside a Transformer,

4:49

在Transformer內部的第一步,

and most other language models for that matter, 表達脈絡

4:52

其實對於大多數其他語言模型也是如此,

is to associate each word with a long list of numbers.

4:54

是將每個詞與一長串數字關聯起來。

表達脈絡

用「for that matter」擴大判斷範圍

for that matter 是一個插入性的話語標記。這裡,說話者在提到 Transformer 後,用它把同一個判斷擴展到大多數其他語言模型:這兩類模型都採用這個第一步。 它通常放在新補充的相關人物、事物或情況之後。它不是在詢問某件 matter,而是大致表示「這個相關情況也是如此」。

練習

在句子“The museum is free for children, and for students for that matter,”中,for that matter 有什麼作用?

  1. 它把學生補充為同樣符合該判斷的另一個群體。
  2. 它表示博物館正在討論某件具體的事情。
  3. 它修正原來的說法,表示兒童必須付費。
查看答案

它把學生補充為同樣符合該判斷的另一個群體。

The reason for this is that the training process only works with continuous values, 文法

4:57

原因是訓練過程只處理連續數值,

文法

The reason for this is that ... 句型

The reason for this is that 用完整、結構清楚的方式帶出原因。The reason for this 指出前面已經提到的結果或情況,後面的 that 子句說明原因。 用 reason for + 名詞或代名詞指出需要解釋的事項,再用 be + that 子句帶出原因。這裡的 this 指把每個詞與一串數字連結起來這件事。

練習

請使用本課中帶出原因的準確框架完成說明:The file opens quickly after the first use. ____ the app saves a local copy.

查看答案

The reason for this is that

so you have to somehow encode language using numbers,

5:02

所以你必須想辦法用數字來編碼語言,

and each of these lists of numbers

5:05

而這每一個數字列表

may somehow encode the meaning of the corresponding word.

5:07

可能以某種方式編碼了對應詞的含義。

What makes Transformers unique 文法

5:10

讓Transformer獨一無二的是,

is their reliance on a special operation known as attention. 片語搭配

5:12

它們依賴於一種稱為注意力機制的特殊操作。

文法

What makes Transformers unique is ...:焦點結構

What makes Transformers unique is ... 是一個焦點結構。整個 What makes Transformers unique 子句作主詞,意思是「使 Transformer 獨特的因素」。它不是直接問句。 is 後面才是答案:their reliance on ...。可套用的架構是 What makes X + 形容詞 + is + 關鍵原因或特徵。它先提出要解釋的特點,再給出答案。

練習

用 What makes X adjective is Y 結構完成句子:____ this backpack practical ____ its many pockets.

查看答案

What makes · is

片語搭配

reliance on:名詞加固定介系詞

在 reliance on 中,reliance 是名詞,表示「依賴」或「需要某個事物提供支援」。在本句中,their reliance on a special operation 表示這個系統仰賴那種運算。 在所依賴的人或事物前,這個名詞固定搭配介系詞 on,例如 reliance on technology、reliance on a guide。要保留 on,不能換成 of 或 to。

練習

用 rely 的名詞形式及其固定介系詞完成句子:The hospital's ____ backup generators increased during the storm.

查看答案

reliance on

This operation gives all of these lists of numbers

5:16

這個操作給所有的這些數字列表

a chance to talk to one another 慣用語

5:19

一個相互交流的機會,

and refine the meanings that they encode

5:21

並根據周圍的上下文

based on the context around,

5:23

完善它們所編碼的含義,

all done in parallel.

5:25

一切都在平行進行。

慣用語

作為技術隱喻的 talk to one another

這裡的 talk to one another 是擬人化表達:數字清單並不會真的說話。這個片語把清單描寫得像是在溝通,讓抽象的運算更容易想像。 在這個語境中,它表示這些表徵透過交換或結合語境資訊而互相影響。技術物件被說成會「交談」「傾聽」「知道」或「決定」時,要找出這些人類動作實際上代表的處理過程。

練習

閱讀這個句子:The two software modules talk to one another before producing a result. 這裡的 talk to one another 最可能是什麼意思?

  1. 它們交換資訊。
  2. 它們像人一樣大聲說話。
  3. 它們被列在彼此旁邊。
查看答案

它們交換資訊。

For example,

5:27

例如,

the numbers encoding the word bank

5:27

編碼單詞「bank」的數字,

might be changed based on the context surrounding it

5:30

可能會根據它周圍的上下文被修改,

to somehow encode the more specific notion of a river bank.

5:32

從而以某種方式編碼了「河岸」這一更具體的概念。

Transformers typically also include a second type of operation

5:37

Transformer通常還包括第二種操作,

known as a feed-forward neural network,

5:40

被稱為前饋神經網路,

and this gives the model extra capacity

5:43

這給了模型額外的容量

to store more patterns about language learned during training.

5:45

來儲存在訓練期間學到的關於語言的更多模式。

All of this data repeatedly flows through many different iterations

5:49

所有這些資料反覆流經這兩種基本操作的

of these two fundamental operations,

5:52

許多不同迭代中,

and as it does so, 表達脈絡

5:55

在這個過程中,

the hope is that each list of numbers

5:56

人們期望每個數字列表

is enriched to encode whatever information might be needed 文法

5:58

都能得到豐富,從而編碼任何可能需要的資訊,

to make an accurate prediction

6:02

以做出準確的預測,

of what word follows in the passage.

6:03

預測段落中接下來的詞是什麼。

表達脈絡

用 as it does so 連接同時發生的動作

As it does so 把接下來的事件與剛才提到的動作連接起來。這裡的 it 指 all of this data,而 does so 代替 flows through many different iterations of these two fundamental operations。 整個片語表示資料流經那些重複運算的同時。它不必重複完整的動詞片語,就能讓較長的流程說明順暢地繼續。在這個結構中,so 代替先前的動作,並不表示 therefore。

練習

閱讀這個句子:The robot scans each shelf. As it does so, it updates the store map. 這裡的 As it does so 是什麼意思?

  1. 在另一台機器人掃描完貨架之後
  2. 因此,機器人會更新地圖
  3. 機器人掃描每個貨架的同時
查看答案

機器人掃描每個貨架的同時

文法

whatever information might be needed:任何可能需要的資訊

whatever information 表示「任何最後證明有需要的資訊」,即使事先並不知道具體是哪些資訊。從文法上來說,whatever 引出自由選擇關係結構。 might be needed 是被動結構,並刻意保留不確定性。might 表示尚不確定哪些資訊會有需要;be needed 表示這些資訊是任務所要求的。這裡 whatever 不是「無所謂」,might 也不是過去式標記。

練習

在英文句子 ‘The guide includes whatever details might be needed by first-time visitors,’ 中,‘whatever details might be needed’ 是什麼意思?

  1. 任何最後可能證明有需要的細節
  2. 隨機挑選的細節,不論是否有用
  3. 只有過去確定需要的細節
查看答案

任何最後可能證明有需要的細節

At the end,

6:06

在最後,

one final function is performed on the last vector in this sequence,

6:07

序列中最後一個向量會執行最後一個函數,

which now has had a chance to be influenced by all the other context 文法

6:11

這個向量現在已經有機會受到來自輸入文本的

from the input text,

6:15

所有其他上下文的影響,

as well as everything the model learned during training,

6:16

以及模型在訓練期間學到的所有內容的影響,

to produce a prediction of the next word.

6:19

從而產生對下一個詞的預測。

文法

has had a chance to be influenced by:已經有機會受到……的影響

has had 看起來像重複,但兩個字的作用不同。has 標示現在完成式,had 則是 have 的過去分詞。這表示這個機會存在於一路延伸到目前步驟的時間範圍內。 a chance to 後面接被動不定詞 be influenced by。向量是影響的接受者,上下文和訓練資訊是影響的來源。這裡 chance 表示已有時間或機會讓影響發生,並不是說結果靠運氣產生。 整個片語表示:截至目前步驟,最後一個向量已經有可能受到這些來源的影響。但這個片語本身並不表示每個來源都一定改變了向量。

練習

在 ‘The design has had a chance to be influenced by user feedback,’ 中,哪一項分析正確?

  1. 設計影響使用者回饋,而且整個事件只屬於已結束的過去。
  2. 使用者回饋受到設計的影響,而且 has had 表示未來時間。
  3. 設計可能受到影響,而且這個情況被看成一路延伸到現在。
查看答案

設計可能受到影響,而且這個情況被看成一路延伸到現在。

Again,

6:22

同樣,

the model's prediction looks like a probability for every possible next word.

6:22

模型的預測看起來像是每個可能的下一個詞的機率。

Although researchers design the framework for how each of these steps work, 表達脈絡

6:28

儘管研究人員設計了每個步驟如何運行的框架,

it's important to understand that the specific behavior is an emergent phenomenon 用詞

6:32

但重要的是要理解,具體的行為是一種湧現現象,

用詞

emergent phenomenon:由互動產生的行為

Emergent phenomenon 是一個技術名詞片語,指許多較小部分互動後產生的整體模式或行為,即使沒有人直接指定那個確切的整體結果。 在本句中,這種行為來自大量參數在訓練期間的調整方式。因此,emergent 說明的是行為如何產生,而不只是表示這種行為是新的。

練習

哪一句中的 emergent phenomenon 表示由許多局部互動產生的結果?

  1. A newly announced movie is an emergent phenomenon simply because it is new.
  2. The wave moving through a crowd can be an emergent phenomenon produced by many local reactions.
  3. A machine part built exactly from a blueprint is an emergent phenomenon because its shape was specified in advance.
查看答案

The wave moving through a crowd can be an emergent phenomenon produced by many local reactions.

based on how those hundreds of billions of parameters

6:37

基於那數千億個參數

are tuned during training.

6:40

在訓練期間是如何被調整的。

表達脈絡

Although ... it's important to understand that:先讓步,再指出重點

Although 引出讓步:它先承認研究人員設計框架這項事實,但不把這項事實當成最後結論。接著主句把注意力轉向一項限制,也就是具體行為究竟從何而來。 it's important to understand that 是一個話語提示,提醒聽者後面的內容才是用來修正簡化理解的關鍵觀點。兩部分合在一起,形成這樣的資訊層次:前一點確實成立,但更需要記住後面的限制。

練習

哪一句使用了相同的資訊組織方式:先用 Although 承認一項事實,再用 it's important to understand that 標出主要的修正訊息?

  1. The shortcut saves time, and it's important to understand how shortcuts are designed.
  2. Because the shortcut saves time, it can also miss rare errors.
  3. Although the shortcut saves time, it's important to understand that it can miss rare errors.
查看答案

Although the shortcut saves time, it's important to understand that it can miss rare errors.

This makes it incredibly challenging to determine 文法

6:42

這使得確定模型為什麼會做出它具體的預測

why the model makes the exact predictions that it does.

6:45

變得極其具有挑戰性。

文法

makes it incredibly challenging to determine:make it + 形容詞 + to-infinitive

在 makes it incredibly challenging to determine 中,make 後接形式受詞 it,再接受詞補語 incredibly challenging。真正的內容由不定詞子句 to determine why... 表達:變得困難的是「判斷原因」這件事。 可以用 make it + 形容詞 + to-infinitive 表示某個因素改變了做某件事的難易度、便利性或可能性。這裡的 makes 與單數主詞 This 一致;it 並不是指模型或某個預測。

練習

哪個句子正確使用 make it + 形容詞 + to-infinitive,並以 it 作為形式受詞?

  1. The faded signs make it difficult to find the entrance.
  2. The faded signs make difficult to find the entrance.
  3. The faded signs make the entrance difficult to find.
查看答案

The faded signs make it difficult to find the entrance.

What you can see is that when you use large language model predictions to autocomplete a prompt, 表達脈絡

6:48

你能看到的是,當你使用大型語言模型的預測來自動補齊提示時,

the words that it generates

6:53

它生成的詞

are uncannily fluent, 用詞

6:55

異常流暢,

fascinating,

6:56

令人著迷,

and even useful.

6:58

甚至非常有用。

表達脈絡

What you can see is that:先呈現可以觀察到的結果

What you can see is that 把可以觀察到的結果放在前面。What 子句擔任主詞,that 子句說明結果:在這個句子中,產生的文字非常流暢、引人入勝,而且很實用。 這個框架將證據與解釋分開。see 表示「觀察到」或「看出」,不一定是用眼睛看。說話者可以藉此對事實做出有根據的總結,而不宣稱自己知道結果為何會發生。

練習

你測量到有所改善,但還不知道原因。哪個句子只報告可以觀察到的結果?

  1. What you can see is that the new filter reduces the measured background noise.
  2. This proves that the new filter will remove background noise from every recording.
  3. The reason the recording is clearer is that the new filter removes the background noise.
查看答案

What you can see is that the new filter reduces the measured background noise.

用詞

uncannily fluent:流暢得出奇,甚至略顯詭異

這裡的 uncannily fluent 指流暢得不同尋常,令人印象深刻,甚至讓人覺得有些難以解釋。uncannily 不只是加強程度;它也表現出說話者的驚訝,有時帶有一絲詭異或令人不安的感覺。 這個片語是在評價產生的文字顯得多麼像真人寫的、多麼流暢自然。在其他語境中,uncannily + 形容詞通常表示「出乎意料地具有某種特徵,甚至讓人覺得奇怪」,而不只是「非常……」。

練習

在“The chatbot's answer was uncannily fluent”中,uncannily fluent 最能表達什麼意思?

  1. 它有很多文法錯誤,但聽起來很有自信。
  2. 它只是流暢程度很高,不包含說話者的任何反應。
  3. 它自然流暢得令人驚訝,而且略顯奇怪。
查看答案

它自然流暢得令人驚訝,而且略顯奇怪。

If you're a new viewer

7:05

如果你是一位新觀眾,

and you're curious about more details on how Transformers and attention work,

7:06

並且對Transformer和注意力機制的具體工作原理感到好奇,

boy do I have some material for you. 文法

7:10

哇,我正好為你準備了一些資料。

文法

boy do I have...:表示強調的感嘆結構

這裡的 boy 是感嘆詞,不是在稱呼一名男性。Boy, do I have... 這個結構透過助動詞與主詞倒裝來構成感嘆,強調的意思是「我這裡真的有資料給你」。 雖然 do 放在 I 前面,但這不是一般疑問句。這個形式會加入興奮、俏皮的自信或期待感,常暗示說話者有特別好或很多的內容可以分享。

練習

用目標結構補完這個興奮的感嘆句:Boy, ____ a surprise for you!

查看答案

do I have

One option is to jump into a series I made about deep learning 片語動詞

7:12

一個選擇是去看我製作的關於深度學習的系列影片,

片語動詞

用「jump into」表示立刻開始

這裡的「jump into」表示立刻開始接觸或投入某件事,通常帶有積極、快速開始而且沒有太多鋪陳的感覺。說話人是在建議觀眾開始觀看這個系列,並不是指身體上的跳躍。 常用結構是 jump into + 活動、主題、計畫或內容。它讓下一個步驟聽起來輕鬆而直接。

練習

在句子「After a quick introduction, we'll jump into the first activity,」中,「jump into」是什麼意思?

  1. 立刻開始這項活動
  2. 用身體跳進這項活動裡
  3. 把這項活動從計畫中刪掉
查看答案

立刻開始這項活動

where we visualize and motivate the details of attention 用詞

7:16

在那個系列中,我們將注意力機制的細節視覺化,並解釋了它的動機,

用詞

技術講解中的「motivate the details」

在這個技術語境中,「motivate」表示提供理由或直覺,讓某個概念或設計選擇變得容易理解。因此,「motivate the details」是說明這些細節為什麼存在,以及它們如何產生,並不是「激勵這些細節」。 這種用法通常回答「為什麼要這樣設計?」,而不只是「有哪些細節?」。它的受詞可以是定義、方法、假設、公式或設計選擇。

練習

在技術講座中,「motivate the choice of this formula」最可能是什麼意思?

  1. 大聲讀出公式中的每個符號
  2. 提供選擇這個公式的推理或直覺
  3. 鼓勵聽眾記住這個公式
查看答案

提供選擇這個公式的推理或直覺

and all the other steps in a Transformer.

7:19

以及Transformer中的所有其他步驟。

But also, on my second channel,

7:22

另外,在我的第二個頻道上,

I just posted a talk that I gave a couple months ago 用詞

7:23

我剛發布了幾個月前發表的一場演講,

用詞

a couple months ago:非正式英語中省略 of

這句中的 a couple months ago 說明說話者是在什麼時候做那場演講的:大約在現在之前兩個月。a couple 通常表示兩個,但在輕鬆口語中也可以作為約數使用。 在非正式美式英語中,a couple 可以直接放在複數時間名詞前,因此 a couple months 省略了 of。完整形式 a couple of months 也正確,而且在較謹慎或正式的書面語中通常更合適。

練習

用包含 a couple 且省略 of 的非正式美式英語片語完成句子:I joined the chess club ____.

查看答案

a couple months ago

about this topic for the company TNG in Munich.

7:25

是關於這個主題的,當時在慕尼黑的TNG公司講的。

Sometimes I actually prefer the content that I make as a casual talk

7:29

有時候,我其實更喜歡我作為非正式演講所製作的內容,

rather than a produced video, 文法

7:32

而不是製作精良的影片,

文法

用 rather than 對比不同選項

Rather than 引出不受偏好的那個選項。這裡,它把 a casual talk 和 a produced video 作對比,因此說話者是在比較兩種形式,而不是說明哪件事先發生。 兩邊使用相互對應的形式時,對比最清楚,例如 a casual talk rather than a produced video,或 talk casually rather than make a produced video。這個結構可以清楚呈現兩個選項之間的選擇。

練習

在句子“Nora chose to bike rather than take the bus,”中,rather than 表示什麼?

  1. Nora 認為兩個選項都不可能。
  2. Nora 選擇騎自行車,而不選擇搭公車。
  3. Nora 先騎自行車,之後又搭了公車。
查看答案

Nora 選擇騎自行車,而不選擇搭公車。

but I leave it up to you which one of these feels like the better follow-on. 慣用語

7:33

但我讓你來決定這兩者中哪個更適合作為後續內容。

慣用語

leave it up to you:把決定權交給對方

在本句中,leave it up to you 的意思是「讓你來決定」。代名詞 it 指的是選擇哪一個後續內容比較合適這件事,並不是某個實體物品。 結構 leave + it/某個決定 + up to + 某人,表示把選擇權交給這個人。它常用在提出幾個選項之後,表明無論對方比較喜歡哪一個,說話者都接受。

練習

哪一個句子有禮貌地把最後選擇權交給了對方?

  1. I’ll leave you to it while you finish the report.
  2. I’ve already chosen the restaurant for us.
  3. I’ll leave it up to you which restaurant we choose.
查看答案

I’ll leave it up to you which restaurant we choose.