Shadowing Practice: Introduction to Generative AI and LLMs [Pt 1] | Generative AI for Beginners - Learn English Speaking with Video

Kies een oefenmodus

Elke modus opent een volledig scherm oefenruimte.

93 zinnen
Als zinnen te kort of te lang zijn, klik op Bewerken om ze aan te passen.
1
Hi everyone and welcome to the first lesson of the Generative AI for Beginners course.
2
This course is based on an open source curriculum with the same name available on GitHub
3
that you can find at the link on the screen.
4
I'm Carlotta Castelluccio, I'm a cloud advocate at Microsoft focused on artificial intelligence technologies
5
and in this video I'm going to introduce you to generative AI and large language models.
6
Large language models represent the pinnacle of AI technology, pushing the boundaries of what was once thought impossible.
7
They've conquered numerous challenges that older language models struggled with, achieving human-leavened performance in various tasks.
8
They have similar capabilities and applications, but for the sake of this course,
9
we'll explore how large language models are revolutionizing education through a fictional startup that we'll be referring to as Our Startup.
10
Our startup works in the education domain with the ambitious mission of improving accessibility in learning on a global scale,
11
ensuring equitable access to education, and providing personalized learning experiences to every learner, according to their needs.
12
In this course, we'll delve into how our startup harnesses the power of generative AI to unlock new possibilities in education.
13
We'll also examine how they address the inevitable challenges tied to the social impact of this technology and its technological limitations.
14
But let's start by defining some basic concepts we'll be using throughout the course.
15
Despite the relatively recent hype surrounding generative AI,
16
we can say that in the last couple of years we have really heard of generative AI everywhere and every time.
17
But this technology has been decades in the making, with its origins tracing back to the 1950s, 1960s.
18
The earliest AI prototypes consisted of typewritten chatbots relying on knowledge bases maintained experts.
19
These chatbots generated responses based on keywords found in user input,
20
but it soon became clear that this approach had scalability limitations.
21
A significant turning point arrived in the 1990s when a statistical approach was applied to text analysis.
22
And this gave birth to machine learning algorithms which could learn patterns from data without explicit programming.
23
And these algorithms allowed machines to stimulate human language understanding, having the way for the eye we know today.
24
In more recent times, advancements in hardware technology allowed for development of advanced machine learning algorithms, particularly neural networks.
25
These innovations significantly improved natural language processing, enabling machines to understand the context of words in sentences.
26
This breakthrough technology powered the birth of virtual assistants in the early 21st century.
27
This virtual assistants excelled at interpreting human language, identifying needs, and taking actions to fulfill them,
28
such as answering queries with predefined scripts or connecting to third-party services.
29
And so we arrived at Generative AI, a subset of deep learning.
30
After decades of AI research,
31
a new model architecture known as the Transformer emerged transformers could handle longer text sequences as input
32
and work based on the attention mechanism, enabling them to focus on the most relevant information,
33
regardless of its order in the input text.
34
Today, mass-generative AI models, often referred to as large language models,
35
are built upon the transformer architecture, and that's what the T in GPT actually means.
36
These models trained on vast amounts of data from sources like books, articles, and websites possess a unique adaptability.
37
They can tackle a wide range of tasks and generate chromatically correct text with a hint of creativity.
38
But let's dive deeper into the mechanism of large language models
39
and shed light on the inner workings of models like the OpenAI GPT's.
40
One of the key concepts to grasp is tokenization.
41
Large language models receive text as input and produce text as output, if you want to really simplify the mechanism.
42
However, these models work much more efficiently with numbers rather than with raw text sequences.
43
And that's where the tokenizer comes into play.
44
Text prompts are chunked into tokens, helping the model in predicting the next token for completion.
45
Models also have a maximum length of token window,
46
and model pricing is also tightly computed by the number of tokens used in output and inputs.
47
So tokenization is really an important concept in large language models and generative AI domain.
48
Now, a token is essentially a chunk of text which can vary in length and typically consists of a sequence of characters.
49
And the tokenizer's primary job is to really break down the input text into an array of those tokens,
50
which are then further mapped to token indices.
51
These token indices are essentially integer and coding of the original text chunks, making it easier for the model to process and understand.
52
Now let's move to predicting the output tokens.
53
Given an input sequence of and tokens with the maximum and varying from one model to another according to the maximum
54
content window length of for one model, the model is designed to predict a single token as its output.
55
But here's where it gets interesting.
56
The predicted token is then incorporated into the input of the next iteration, creating an expanding window pattern.
57
And this pattern allows the model to provide more coherent and contextually relevant responses,
58
often extending to one or multiple sentences.
59
Now let's delve into the selection process.
60
The model chooses the output token based on its probability of occurring after the current text sequence.
61
This probability distribution is calculated using the model's training data.
62
However, here's the twist.
63
The model doesn't always choose the token with the highest probability from the distribution.
64
To simulate the process of creative thinking, a degree of randomness is introduced into the selection process.
65
This means that the model doesn't produce the exact same output for the same input every time.
66
That's the element that allows generative AI to generate text that feels, you know, creative and engaging.
67
Now, we see that the main capability of a large language model is generating text from scratch, starting from a textual input written in natural language.
68
But what kind of textual input and output?
69
First of all, let me say that the input of a large language model is known as prompt, while the output is known as completion,
70
a term that refers to the model mechanism of generating the next token to complete the current input.
71
Let's do some examples of prompts and completion by using the OpenAI ChatGPT Playground, always in our educational scenario.
72
Now, a prompt may include an instruction specifying the type of output we expect from the model.
73
In the example we are seeing, we are asking to write an assignment for high school students,
74
including four open-ended questions about Louis XIV and his court.
75
You can see that the output is exactly what I'm asking for.
76
The model was able to generate an assignment with the questions.
77
Now, another prompt might be a question, asking in the form of a conversation with an agent.
78
In this example, we are asking about in a question.
79
So we asked who is Louis XIV and why he is an important historical character?
80
And we've got an answer.
81
Another type of prompt might be a chunk of text to complete.
82
So an incipit of a text to complete.
83
And you can see now that we used an incipit of a text to complete to complete as prompt,
84
and we've got a whole paragraph to complete the current input.
85
So this is basically an implicit ask for writing assistance.
86
Now, the examples I just did are quite simple, and don't want to be an exhaustive demonstration of large language models capabilities.
87
They just want to show you the potential of using Generative AI,
88
in particular, but not limited in a context such as the educational context we have used today as an example.
89
That's all for now.
90
In the following lesson, we are going to explore different types of generative AI models.
91
And we're going to cover also how to test, to iterate, and to improve the performance,
92
and compare also different models to find the most suitable one for a specific use case.
93
Thank you.

App downloaden

Alles wat je nodig hebt om vloeiend te spreken

AI UitspraakScoor elke zin
IPA OefeningBeheers elk geluid
WoordenschatBouw je woordenschat op
WoordenspelLeren terwijl je speelt

Zelfde Kanaal

FOR YOU

Aanbevolen Video

Woordenschat en spreektips bij deze les

Deze spreekles op niveau C1 is gebaseerd op de video “Introduction to Generative AI and LLMs”. Deze woorden komen het vaakst terug: model, text, token, language, input. Deze video bevat 93 zinnen en 1349 woorden om na te spreken. Het gesproken deel duurt 10:25. De spreker praat in een gelijkmatig tempo van ongeveer 129 woorden per minuut, prettig om te shadowen. Slechts 75% van de woorden hoort bij de 3.000 meest gebruikte Engelse woorden, dus de woordenschat is pittig.

Belangrijke woorden in deze video

De 15 moeilijkste woorden uit de video, met uitspraak en betekenis:

WoordUitspraakBetekenis
token zelfstandig naamwoord/ˈtoʊkən/teken
prompt werkwoord/pɹɑmpt/aansporen, aanmoedigen
chunk zelfstandig naamwoord/t͡ʃʌŋk/stuk, brok
startup zelfstandig naamwoord/ˈstɑɹtˌʌp/opstart, opstarting
predict werkwoord/pɹɪˈdɪkt/voorspellen
transformer zelfstandig naamwoord/tɹænsˈfoɹməɹ/transformator
probability zelfstandig naamwoord/ˌpɹɑ.bəˈbɪl.ə.ti/waarschijnlijkheid
algorithm zelfstandig naamwoord/ˈælɡəɹɪðm̩/algoritme
chatbot zelfstandig naamwoord/ˈtʃætbɑt/chatbot
delve werkwoord/dɛlv/delven
textual bijvoeglijk naamwoord/ˈtɛks.tju.əl/tekstueel
limitation zelfstandig naamwoord/lɪmɪˈteɪʃən/begrenzing, beperking
consist zelfstandig naamwoord/kənˈsɪst/samenstelling
compute werkwoord/kəmˈpjuːt/uitrekenen, berekenen
equitable bijvoeglijk naamwoord/ˈɛk.wɪ.tə.bəl/rechtvaardig

Phrasal verbs die je zult horen

WoordBetekenis
break down werkwoordstukgaan, kapot gaan

Grammatica in deze video

De structuren die de spreker het meest gebruikt, met de exacte woorden uit de video:

StructuurIn de video
Lijdende vorm be + voltooid deelwoord — het gaat om wat er gebeurt, niet om wie het doetis based · was applied · are built
Present perfect have/has + voltooid deelwoord — iets uit het verleden dat nu nog teltThey've conquered · have really heard · has been

Uitspraak om op te letten

De spreker gebruikt 16 samentrekkingen en verkorte vormen, zoals we'll, I'm, doesn't. Spreek ze kort uit, zoals je ze hoort.

  • De “th”-klanken: algorithm /ˈælɡəɹɪðm̩/, breakthrough /ˈbɹeɪk.θɹuː/
  • De klanken “sh” en “zh”: limitation /lɪmɪˈteɪʃən/, iteration /ˌɪt.əˈɹeɪ.ʃən/, revolutionize /ˌɹɛv.əˈl(j)u.ʃəˌnaɪz/, fictional /ˈfɪkʃənəl/, ambitious /æmˈbɪʃ.əs/
  • Lange woorden — let op de klemtoon: generative /ˈd͡ʒɛnəɹətɪv/, probability /ˌpɹɑ.bəˈbɪl.ə.ti/, capability /ˌkeɪ.pəˈbɪl.ɪ.ti/, limitation /lɪmɪˈteɪʃən/, adaptability /ədæptəˈbɪlɪti/

Klanken die Nederlandstaligen lastig vinden:

  • Stemhebbende eindmedeklinker — /b/, /d/, /g/, /z/, /v/ niet verscherpen: generative /ˈd͡ʒɛnəɹətɪv/, delve /dɛlv/, exhaustive /ɪɡˈzɔstɪv/, keyword /ˈkiː.wɜːd/, personalize /ˈpɜː.sə.nə.laɪz/
  • /æ/ — opener dan de Nederlandse “e”: transformer /tɹænsˈfoɹməɹ/, algorithm /ˈælɡəɹɪðm̩/, chatbot /ˈtʃætbɑt/, adaptability /ədæptəˈbɪlɪti/, chromatically /kroʊˈmæt̬.ɪk.li/
  • /g/ — een harde plofklank, geen Nederlandse “g”: algorithm /ˈælɡəɹɪðm̩/, exhaustive /ɪɡˈzɔstɪv/, grasp /ɡɹæsp/, paragraph /ˈpæɹəɡɹæf/

Zo oefen je met deze video

  1. Luister de hele video één keer zonder te spreken en noteer de woorden die je niet kent.
  2. Spreek zin voor zin na op normale snelheid en herhaal elke zin tot je ritme gelijk is aan dat van de spreker.
  3. Neem jezelf op en vergelijk met het origineel; let daarbij op woorden als token, prompt, chunk.

Wat is de Shadowing-techniek?

Shadowing is een wetenschappelijk onderbouwde taalleermethode die oorspronkelijk is ontwikkeld voor professionele tolkentraining en gepopulariseerd door polyglot Dr. Alexander Arguelles. De methode is eenvoudig maar krachtig: je luistert naar native Engelse audio en herhaalt het onmiddellijk hardop — als een schaduw die de spreker volgt met slechts 1–2 seconden vertraging. In tegenstelling tot passief luisteren of grammaticadrills, dwingt shadowing je hersenen en mondspieren om echte spraakpatronen tegelijkertijd te verwerken en te reproduceren. Onderzoek toont aan dat het de uitspraaknauwkeurigheid, intonatie, ritme, verbonden spraak, luisterbegrip en spreekvaardigheid aanzienlijk verbetert — waardoor het een van de meest effectieve methoden is voor IELTS Speaking-voorbereiding en echte Engelse communicatie.

Shadowing-techniek: lees de volledige stap-voor-stap-gids →