シャドーイング練習: Large Language Models explained briefly - YouTubeで英語スピーキングを学ぶ

C2
Imagine you happen across a short movie script that describes a scene between a person and their AI assistant.
⏸ 一時停止中
54
文が短すぎたり長すぎる場合は、Editをタップして調整してください。
1
Imagine you happen across a short movie script that describes a scene between a person and their AI assistant.
2
The script has what the person asks the AI, but the AI's response has been torn off.
3
Suppose you also have this powerful magical machine that can take any text and provide a sensible prediction of what word comes next.
4
You could then finish the script by feeding in what you have to the machine, seeing what it would predict to start the AI's answer, and then repeating this over and over with a growing script completing the dialogue.
5
When you interact with a chatbot, this is exactly what's happening.
6
A large language model is a sophisticated mathematical function that predicts what word comes next for any piece of text.
7
Instead of predicting one word with certainty, though, what it does is assign a probability to all possible next words.
8
To build a chatbot, you lay out some text that describes an interaction between a user and a hypothetical AI assistant, add on whatever the user types in as the first part of the interaction, and then have the model repeatedly predict the next word that such a hypothetical AI assistant would say in response, and that's what's presented to the user.
9
In doing this, the output tends to look a lot more natural if you allow it to select less likely words along the way at random.
10
So what this means is even though the model itself is deterministic, a given prompt typically gives a different answer each time it's run.
11
Models learn how to make these predictions by processing an enormous amount of text, typically pulled from the internet.
12
For a standard human to read the amount of text that was used to train GPT-3, for example, if they read non-stop 24-7, it would take over 2600 years.
13
Larger models since then train on much, much more.
14
You can think of training a little bit like tuning the dials on a big machine.
15
The way that a language model behaves is entirely determined by these many different continuous values, usually called parameters or weights.
16
Changing those parameters will change the probabilities that the model gives for the next word on a given input.
17
What puts the large in large language model is how they can have hundreds of billions of these parameters.
18
No human ever deliberately sets those parameters.
19
Instead, they begin at random, meaning the model just outputs gibberish, but they're repeatedly refined based on many example pieces of text.
20
One of these training examples could be just a handful of words, or it could be thousands, but in either case, the way this works is to pass in all but the last word from that example into the model and compare the prediction that it makes with the true last word from the example.
21
An algorithm called backpropagation is used to tweak all of the parameters in such a way that it makes the model a little more likely to choose the true last word and a little less likely to choose all the others.
22
When you do this for many, many trillions of examples, not only does the model start to give more accurate predictions on the training data, but it also starts to make more reasonable predictions on text that it's never seen before.
23
Given the huge number of parameters and the enormous amount of training data, the scale of computation involved in training a large language model is mind-boggling.
24
To illustrate, imagine that you could perform one billion additions and multiplications every single second.
25
How long do you think it would take for you to do all of the operations involved in training the largest language models?
26
Do you think it would take a year?
27
Maybe something like 10,000 years?
28
The answer is actually much more than that.
29
It's well over 100 million years.
30
This is only part of the story, though.
31
This whole process is called pre-training.
32
The goal of auto-completing a random passage of text from the internet is very different from the goal of being a good AI assistant.
33
To address this, chatbots undergo another type of training, just as important, called reinforcement learning with human feedback.
34
Workers flag unhelpful or problematic predictions, and their corrections further change the model's parameters, making them more likely to give predictions that users prefer.
35
Looking back at the pre-training, though, this staggering amount of computation is only made possible by using special computer chips that are optimized for running many operations in parallel, known as GPUs.
36
However, not all language models can be easily parallelized.
37
Prior to 2017, most language models would process text one word at a time, but then a team of researchers at Google introduced a new model known as the transformer.
38
Transformers don't read text from the start to the finish, they soak it all in at once, in parallel.
39
The very first step inside a transformer, and most other language models for that matter, is to associate each word with a long list of numbers.
40
The reason for this is that the training process only works with continuous values, so you have to somehow encode language using numbers, and each of these lists of numbers may somehow encode the meaning of the corresponding word.
41
What makes transformers unique is their reliance on a special operation known as attention.
42
This operation gives all of these lists of numbers a chance to talk to one another and refine the meanings they encode based on the context around, all done in parallel.
43
For example, the numbers encoding the word bank might be changed based on the context surrounding it to somehow encode the more specific notion of a riverbank.
44
Transformers typically also include a second type of operation known as a feed-forward neural network, and this gives the model extra capacity to store more patterns about language learned during training.
45
All of this data repeatedly flows through many different iterations of these two fundamental operations, and as it does so, the hope is that each list of numbers is enriched to encode whatever information might be needed to make an accurate prediction of what word follows in the passage.
46
At the end, one final function is performed on the last vector in this sequence, which now has had a chance to be influenced by all the other context from the input text, as well as everything the model learned during training, to produce a prediction of the next word.
47
Again, the model's prediction looks like a probability for every possible next word.
48
Although researchers design the framework for how each of these steps work, it's important to understand that the specific behavior is an emergent phenomenon based on how those hundreds of billions of parameters are tuned during training.
49
This makes it incredibly challenging to determine why the model makes the exact predictions that it does.
50
What you can see is that when you use large language model predictions to autocomplete a prompt, the words that it generates are uncannily fluent, fascinating, and even useful.
51
If you're a new viewer and you're curious about more details on how transformers and attention work, boy do I have some material for you.
52
One option is to jump into a series I made about deep learning, where we visualize and motivate the details of attention and all the other steps in a transformer.
53
Also, on my second channel I just posted a talk I gave a couple months ago about this topic for the company TNG in Munich.
54
Sometimes I actually prefer the content I make as a casual talk rather than a produced video, but I leave it up to you which one of these feels like the better follow-on.

アプリをダウンロード

話したすべての文をAIが採点

スキャンしてダウンロード
スキャンしてダウンロード
TRENDING

人気動画

コンテキストと背景

この動画では、大規模な言語モデルについての基本的な説明が行われています。特に、AIアシスタントとの対話を通じて、どのように言語モデルが次に来る言葉を予測するのかを詳しく解説しています。AIがどのように自然な応答を生成するのか、その背後にある数学的な機構についても触れています。英語を学ぶ君にとっては、この動画の内容を理解することで、英語の発音を良くする手助けとなるでしょう。

日常コミュニケーションのためのトップ5フレーズ

  • “What do you think about this?” - このことについてどう思いますか?
  • “Could you help me with this?” - これを手伝ってもらえますか?
  • “I don't understand this part.” - この部分が理解できません。
  • “Can you explain that further?” - それをもっと詳しく説明してもらえますか?
  • “Let’s work on this together.” - これを一緒にやりましょう。

ステップバイステップ シャドーイングガイド

この動画の内容を効果的に学ぶためには、シャドーイング手法を活用することが重要です。以下のステップに従って、効率的にスキルを向上させましょう。

  1. 動画を視聴する: 最初に、全体を通して動画を視聴し、話の流れを把握します。このとき、特に気になるフレーズを書き留めておきましょう。
  2. フレーズを選ぶ: 上記のトップ5フレーズの中から、特に自分が使いたいフレーズに注目します。
  3. 音声に合わせてシャドーイング: 同じフレーズを繰り返し聞き、徐々に自分の声で復唱していきます。この際、発音やイントネーションにも意識を向けてください。
  4. 録音して確認: 自分の声を録音し、動画の音声と比較します。音の違いや改善点を見つける良い機会です。
  5. 反復練習: 繰り返し練習することで、内面的な理解が深まり、英語スピーキング練習における自信がつきます。

このように、YouTubeで英語学習を行いながら、実際の会話で使われる表現を習得し、英語の発音を良くするためにシャドーイングを活用していきましょう。各ステップを実行すれば、自然な会話力の向上が期待できます。

シャドーイングとは?英語上達に効果的な理由

シャドーイング(Shadowing)は、もともとプロの通訳者養成プログラムで開発された言語学習法で、多言語習得者として知られるDr. Alexander Arguelles によって広く普及されました。方法はシンプルですが非常に効果的:ネイティブスピーカーの英語を聞きながら、1〜2秒の遅延で声に出してすぐに繰り返す——まるで「影(shadow)」のように話者を追いかけます。文法ドリルや受動的なリスニングと異なり、シャドーイングは脳と口の筋肉が同時にリアルタイムで英語を処理・再現することを強制します。研究により、発音精度、抑揚、リズム、連音、リスニング力、そして会話の流暢さが大幅に向上することが確認されています。IELTSスピーキング対策や自然な英語コミュニケーションを目指す方に特におすすめです。

コーヒーをおごる