Pratica di Shadowing: What Is Jev? The AI Model That Doesn't Generate Text - Impara a parlare inglese con i video

Creazione lezione...
1
all right i want to talk about jev jev's a new ai model from a startup called type safe
2
and it's a bit unusual because it's an ai model
3
that doesn't actually write any text it actually answers questions by picking from a list
4
and then giving a probability for each one of his answers
5
now type safe calls this a new type of ai model it's a system one model
6
which is a name borrowed from Daniel Kahneman in his book one of my favorites thinking fast
7
and slow Kahneman describes two modes of thinking human thinking
8
that is and the first of those modes is called system one thinking
9
and system one thinking is fast and automatic
10
so what's two times two you instantly know the answer is
11
four without having to really work it out in your head that's system one thinking the other type
12
of thinking is classified as system two thinking and that's slow
13
and deliberate so
14
if i ask you what's 17 times 24 well you're probably going to need to work through
15
that one step by step to figure it out
16
or just look at the answer on your teleprompter
17
which is uh 408 there we go got it now most
18
of the ai models we use are built to write stuff
19
and a chatbot produces its answers one token at a time
20
in a ford pass now a reasoning model goes a bit further than
21
that and it actually writes out its chain of thought as we're going through this
22
so you can actually kind of see what it was thinking
23
which is basically as close to a system two model as ai gets
24
but but a lot of decisions inside software are not really system two they're just kind of quick judgment calls
25
so let me give you an example of that let's say
26
that we have got a email for customer support and
27
that email says that I was charged twice this month please fix it all right
28
so how do we respond to this email well the software
29
that's handling this email probably has to look at three types
30
of question one of the questions is is this a refund request yes
31
or no another question might be
32
which team needs to process this email maybe the billing team
33
or maybe it's the technical support team or maybe it's the sales team
34
and then also how urgent is this request how quickly do we need to respond
35
now a person just skimming an email like that they would instantly know
36
that refund yeah it's yes this is a refund request that's kind of a system one bit of work
37
and it's that kind of work that jev is built for
38
so a common way to automate a support email problem like
39
this today using an llm would be to send this email to the llm
40
and ask for the answers back the answers to these things in a structured format
41
so maybe we would go through this large language model output some tokens
42
and these tokens would represent a format maybe in json now
43
that mostly works
44
but it doesn't come back with a reliable sense of how
45
sure the model is how confident is a large language model
46
that it got the answer to these questions right well we could ask the model
47
but whatever it responds with wouldn't necessarily actually match the real
48
probabilities the model used to come up with this answer
49
but jev well jev does come up with probabilities so
50
if we send these questions to JEV we're going to get a very different looking response
51
so it takes in two things it takes in what's called state
52
which is the data the decision is about so
53
that might include our support email
54
that might include some recent customer charges as well all of
55
that is input into the JEV model
56
and it also takes in each of these questions as well into the model as input
57
and our three questions are actually three different types of questions so refund that is a yes
58
or no question
59
which type safe calls a null a team this team question it really comes down to a choice as to
60
which team is this so picking one option from a list
61
and then urgent
62
that really comes down to a score on a scale from
63
low to critical now all three of these questions go in in a single request
64
and whereas an llm would write its json answer out one token at a time jeff doesn't generate any text
65
so all three answers they all come back at once
66
and that's a big part of why this is so much faster
67
and cheaper than an llm on these types of questions now
68
we provide questions as input what is coming back i said
69
jeff doesn't give you text what it gives you coming back our probabilities as the output
70
so for refund it's going to be a single number let's
71
say it's going to come back with 0 .9 meaning there is a 90 chance that yes this is a
72
refund request for the team it's a probability for each one of the options that were part of this choice.
73
So for example, the billing choice, which is one of the three, may come back with a probability score of 0 .85.
74
And by the way, the answer to choice can only be the options that we give it.
75
So for team, it's always going to be billing or technical or sales.
76
And then urgency, well, that's going to come back if we kind of put this on a scale, pretty high to critical here so this is quite important.
77
Now, the model can still pick the wrong options or score any of these questions incorrectly,
78
of course, but the probability tells us how likely that is.
79
So how do you train a model to give accurate probabilities like this?
80
Well, let me go back to training traditional LLMs for a moment.
81
Most language models, they start with a stage known as pre -training.
82
So you pre -train a model first.
83
That means the model reads a huge amount of text and it learns to predict the next token.
84
Now that creates a model that knows a lot of stuff but it isn't much use to talk to yet.
85
So if we want to use this as a chatbot then we need to go to a second stage, which is called post -training.
86
Now, a lot of post -training uses a technique called reinforcement learning.
87
The model produces an answer, something scores that answer, and the model kind of gets nudged towards the answers that score well.
88
so the question is what's doing the scoring well one way to do that is with a technique called rl
89
hf reinforcement learning from human feedback
90
so people are doing the scoring there human raters look at two responses from the model
91
and they pick the one they like best
92
and those choices train a reward model and then
93
that chatbot is going to be trained to give answers
94
that the reward model scores highly people tend to like answers
95
that sound confident so an unfortunate side effect of rlhf is
96
that a model can learn to sound like really sure of itself even
97
when it's wrong
98
but that's just one form of reinforcement learning another form is r l v r that's reinforcement learning with verifiable rewards.
99
And the scoring here is automatic.
100
Did the model get the right answer to the math problem?
101
Does the code it wrote pass its unit tests?
102
Those sort of things.
103
And that's a big reason that reasoning models today have got so good at math and coding.
104
But the reward here only checks whether the final answer was right.
105
It doesn't reward the model for knowing how sure it should be.
106
And those models spend a
107
while working through their chain of thought before they come up with an answer
108
and that can make them a little bit slow and expensive to run.
109
Now JEV is trained with a different form of reinforcement learning.
110
It's called RLCD, reinforcement learning for calibrated decisions.
111
Now TypeSafe haven't published much about JEV's architecture
112
so i'll stick to what they have said well we know that jeff gives a probability
113
for each option and it's rewarded when those probabilities turn out to be right
114
so that's what the C is all about it's saying the model is calibrate it.
115
And a model that's calibrated kind of basically looks like this.
116
So along the bottom axis here if we map probability
117
and then along the side axis here we can map whether the model is correct.
118
So a well calibrated model is going to have kind of a diagonal line much like this.
119
So when we say that there is a 80 probability that 80 probability is going to be correct about 80
120
of the time that's calibration so back to the the refund question
121
that was the first of the three questions we posed to jeff about
122
that support email so
123
if we have probabilities we can use them to inform code using a threshold like this
124
so we've got a probability threshold here one is certainty zero is definitely not kind of thing
125
so if a probability score is above let's say 0 .9
126
so maybe our score comes back here somewhere
127
that means we can treat this support email as a legit refund request
128
and we can send that straight to the refund queue for processing
129
if however the score comes back anywhere kind of around between here and let's say 0 .1
130
well there's some uncertainty here so the code
131
that received a number like this would know to actually get a human involved
132
so now we need to bring in a person to actually check
133
that because we're not sure and
134
if a score comes in below 0 .1 well i think we can say that's not a refund request
135
so keep calm and carry on we don't need to do anything with that one because the numbers are calibrated,
136
the threshold also tells us roughly how often the automatic path will be wrong.
137
So the more a mistake is going to cost, the higher we would set the threshold.
138
Now this works for more than support emails of course.
139
Jeff can act as a guardrail
140
that can be used around all sorts of things like around a chat bot that's checking messages going in
141
and out for things like well jailbreak attempts
142
but there are limits jev only takes text in as of today it's not very good at math
143
or even counting so you're going to want to leave
144
that stuff to something else
145
and like any ai model it can be tricked by instructions hidden in the data it's reading
146
so is it time to throw away large language models
147
and replace them completely with system one models no hardly
148
but the two can work together so
149
if you think about a workflow maybe we have jev in the workflow
150
that can make quick calls like sorting
151
that customer support email to see whether it's a refund or not
152
and then in the workflow we could go to a large
153
language model to do the slower work work like replying to the customer
154
and then we could go back to use Jev to classify any response
155
that came back from the customer
156
which is pretty much how Danny Kahneman said we work too
157
most of what we do runs on those fast automatic system one processes
158
so that's these two stages here and then the slow and careful system two, which is the large language model in this case,
159
that only kicks in when something needs real thought.
160
Oh, and I wanted to share a thing about the name of Jev as well.
161
Jev is named after William Stanley Jevons, who was an economist who pointed out in 1865
162
that as steam engines got more efficient britain actually used more coal that's known as jevons paradox
163
so perhaps the same thing will happen with system one models
164
when a judgment call is super fast
165
and super cheap like with jev well it can go into places where an llm would be too slow
166
or too expensive today like in every row of a database or on every line of a log file. Who knows?
167
All right, that's Jev.
168
Where would a System 1 model fit into the software that you work on?
169
Let me know in the comments.

Vocabolario e note di pronuncia per questa lezione

Questo video contiene 169 frasi e 2101 parole da ripetere con lo shadowing. Il parlato dura 14:51. Chi parla mantiene un ritmo costante di circa 141 parole al minuto, comodo per lo shadowing. Il 85% delle parole rientra nelle 3.000 più comuni dell’inglese; conviene studiare le altre prima di iniziare.

Vocaboli chiave di questo video

15 parole del video che vale la pena imparare, con pronuncia e significato:

ParolaPronunciaSignificato
probability sostantivo/ˌpɹɑ.bəˈbɪl.ə.ti/probabilità
refund sostantivo/ɹɪˈfʌnd/rimborso
reward sostantivo/ɹɪˈwɔɹd/ricompensa
token sostantivo/ˈtoʊkən/simbolo, segno
automatic aggettivo/ˌɔː.təˈmæt.ɪk/automatico
threshold sostantivo/ˈθɹɛʃ(h)oʊld/soglia
input sostantivo/ˈɪnpʊt/immissione
mathematics sostantivo/mæθ(.ə)ˈmæt.ɪks/matematica
format sostantivo/ˈfɔːɹ.mæt/formato
technique sostantivo/tɛkˈniːk/tecnica
output sostantivo/ˈaʊtpʊt/risultato, produzione
judgment sostantivo/ˈd͡ʒʌd͡ʒ.mənt/giudizio
urgent aggettivo/ˈɜː.d͡ʒənt/urgente
axis sostantivo/ˈæksɪs/asse
necessarily avverbio/ˌnɛs.əˈsɛɹ.ə.li/necessariamente, a tutti i costi

I phrasal verb che sentirai

ParolaSignificato
come back verbotornare
come up with verboideare, escogitare
go through verboattraversare
throw away verbobuttare via
write out verboappuntare, emettere

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 called · is classified · are built
Frasi relative who / which + frase — un’informazione in più su una persona o una cosachoice, which is · stage, which is · two, which is
Present perfect have/has + participio passato — un’azione passata che conta ancora adessohaven't published · have said

Pronuncia a cui fare attenzione

Chi parla usa 17 contrazioni e forme ridotte, come doesn't, we're, you're. Pronunciale nella forma breve, così come le senti.

  • I suoni “th”: threshold /ˈθɹɛʃ(h)oʊld/, mathematics /mæθ(.ə)ˈmæt.ɪks/
  • I suoni “sh” e “zh”: threshold /ˈθɹɛʃ(h)oʊld/, unusual /ʌnˈjuːʒ(u)əl/, efficient /ɪˈfɪʃənt/, instruction /ɪnˈstɹʌkʃən/, calibration /ˌkæl.ɪˈbɹeɪ.ʃən/
  • Parole lunghe — attenzione all’accento: probability /ˌpɹɑ.bəˈbɪl.ə.ti/, automatic /ˌɔː.təˈmæt.ɪk/, mathematics /mæθ(.ə)ˈmæt.ɪks/, necessarily /ˌnɛs.əˈsɛɹ.ə.li/, unusual /ʌnˈjuːʒ(u)əl/

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 probability, refund, reward.

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 →