Pratica di Shadowing: Introduction to Generative AI and LLMs [Pt 1] | Generative AI for Beginners - Impara a parlare inglese con i video

Scegli una modalità di pratica

Ogni modalità apre una sala di pratica a schermo intero.

93 frasi
Se le frasi sono troppo corte o troppo lunghe, clicca su Edit per modificarle.
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.

Scarica l'app

Tutto ciò che serve per parlare fluentemente

Pronuncia con IAVoto per ogni frase
Pratica IPAPadroneggia ogni suono
VocabolarioCostruisci il tuo lessico
Gioco di vocabolarioImpara giocando

Stesso Canale

FOR YOU

Video consigliato

Vocabolario e note di pronuncia per questa lezione

Questa lezione di conversazione di livello C1 si basa sul video “Introduction to Generative AI and LLMs”. Le parole che ritornano più spesso: model, text, token, language, input. Questo video contiene 93 frasi e 1349 parole da ripetere con lo shadowing. Il parlato dura 10:25. Chi parla mantiene un ritmo costante di circa 129 parole al minuto, comodo per lo shadowing. Solo il 75% delle parole rientra nelle 3.000 più comuni dell’inglese, quindi il lessico è impegnativo.

Vocaboli chiave di questo video

Le 15 parole più avanzate del video, con pronuncia e significato:

ParolaPronunciaSignificato
token sostantivo/ˈtoʊkən/simbolo, segno
generative aggettivo/ˈd͡ʒɛnəɹətɪv/generativo
prompt verbo/pɹɑmpt/incitare, guidare
chunk sostantivo/t͡ʃʌŋk/pezzo, tocco
startup sostantivo/ˈstɑɹtˌʌp/avvio, inizio
predict verbo/pɹɪˈdɪkt/profetizzare
transformer sostantivo/tɹænsˈfoɹməɹ/trasformatore
probability sostantivo/ˌpɹɑ.bəˈbɪl.ə.ti/probabilità
algorithm sostantivo/ˈælɡəɹɪðm̩/algoritmo
capability sostantivo/ˌkeɪ.pəˈbɪl.ɪ.ti/capacità, possibilità
delve verbo/dɛlv/scavare
textual aggettivo/ˈtɛks.tju.əl/testuale
limitation sostantivo/lɪmɪˈteɪʃən/limitazione
consist sostantivo/kənˈsɪst/composizione, configurazione
adaptability sostantivo/ədæptəˈbɪlɪti/adattabilità

La grammatica di questo video

Le strutture che chi parla usa di più, con le parole esatte del video:

StrutturaNel video
Forma passiva be + participio passato — conta ciò che accade, non chi lo fais based · was applied · are built
Present perfect have/has + participio passato — un’azione passata che conta ancora adessoThey've conquered · have really heard · has been

Pronuncia a cui fare attenzione

Chi parla usa 16 contrazioni e forme ridotte, come we'll, I'm, doesn't. Pronunciale nella forma breve, così come le senti.

  • I suoni “th”: algorithm /ˈælɡəɹɪðm̩/, breakthrough /ˈbɹeɪk.θɹuː/
  • I suoni “sh” e “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/
  • Parole lunghe — attenzione all’accento: 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/

I suoni difficili per chi parla italiano:

  • /h/ — va soffiata, non è muta: coherent /koʊˈhɛɹ.ənt/, harness /ˈhɑɹ.nəs/, hype /haɪp/, hint /hɪnt/
  • Consonante finale — senza aggiungere una vocale dopo: generative /ˈd͡ʒɛnəɹətɪv/, prompt /pɹɑmpt/, chunk /t͡ʃʌŋk/, startup /ˈstɑɹtˌʌp/, predict /pɹɪˈdɪkt/
  • /æ/ — più aperta della “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/

Come esercitarsi con questo video

  1. Ascolta tutto il video una volta senza parlare e annota le parole che non conosci.
  2. Fai shadowing frase per frase a velocità normale, ripetendo ognuna finché il tuo ritmo coincide con quello di chi parla.
  3. Registrati e confronta con l’originale, facendo attenzione a parole come token, generative, prompt.

Cos'è la tecnica dello Shadowing?

Shadowing è una tecnica di apprendimento delle lingue supportata da studi scientifici, originariamente sviluppata per la formazione dei traduttori professionisti e resa popolare dal poliglotta Dr. Alexander Arguelles. Il metodo è semplice ma potente: ascolti un audio in inglese di madrelingua e lo ripeti immediatamente ad alta voce — come un'ombra che segue il parlante con un ritardo di solo 1–2 secondi. A differenza dell'ascolto passivo o degli esercizi di grammatica, lo shadowing costringe il tuo cervello e i muscoli della bocca a elaborare e riprodurre simultaneamente i modelli di discorso reale. La ricerca dimostra che migliora significativamente la precisione della pronuncia, l'intonazione, il ritmo, il discorso connesso, la comprensione dell'ascolto e la fluidità del parlato — rendendolo uno dei metodi più efficaci per la preparazione alla prova di speaking dell'IELTS e per la comunicazione reale in inglese.

Tecnica dello shadowing: leggi la guida completa passo dopo passo →