Pratique du Shadowing: What Is Jev? The AI Model That Doesn't Generate Text - Apprendre l'anglais à l'oral avec la vidéo

Création de la leçon...
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.

Vocabulaire et conseils d’expression pour cette leçon

Cette vidéo contient 169 phrases et 2101 mots à répéter en shadowing. La partie parlée dure 14:51. Le locuteur parle à un rythme régulier d’environ 141 mots par minute, confortable pour le shadowing. 85 % des mots font partie des 3 000 mots les plus courants en anglais ; le reste mérite d’être vu avant de commencer.

Vocabulaire clé de cette vidéo

15 mots de la vidéo à retenir, avec leur prononciation et leur sens :

MotPrononciationSens
probability nom/ˌpɹɑ.bəˈbɪl.ə.ti/probabilité
refund nom/ɹɪˈfʌnd/remboursement
reward nom/ɹɪˈwɔɹd/récompense, salaire
token nom/ˈtoʊkən/symbole
automatic adjectif/ˌɔː.təˈmæt.ɪk/automatique
threshold nom/ˈθɹɛʃ(h)oʊld/seuil
mathematics nom/mæθ(.ə)ˈmæt.ɪks/mathématiques
format nom/ˈfɔːɹ.mæt/format
technique nom/tɛkˈniːk/technique
output nom/ˈaʊtpʊt/sortie
judgment nom/ˈd͡ʒʌd͡ʒ.mənt/jugement
instantly adverbe/ˈɪnstəntli/instantanément
urgent adjectif/ˈɜː.d͡ʒənt/urgent
axis nom/ˈæksɪs/axe
necessarily adverbe/ˌnɛs.əˈsɛɹ.ə.li/absolument, nécessairement

Les verbes à particule que vous entendrez

MotSens
come back verberevenir
come up with verbeinventer, imaginer
go through verbetraverser
throw away verberejeter, jeter

La grammaire de cette vidéo

Les structures que le locuteur utilise le plus, avec les mots exacts de la vidéo :

StructureDans la vidéo
Voix passive be + participe passé — l’accent est mis sur ce qui arrive, pas sur qui le faitis called · is classified · are built
Propositions relatives who / which + proposition — une précision sur une personne ou une chosechoice, which is · stage, which is · two, which is
Present perfect have/has + participe passé — une action passée qui compte encore maintenanthaven't published · have said

Prononciation à surveiller

Le locuteur utilise 17 contractions et formes réduites, comme doesn't, we're, you're. Prononcez-les sous leur forme courte, telles que vous les entendez.

  • Les sons « th »: threshold /ˈθɹɛʃ(h)oʊld/, mathematics /mæθ(.ə)ˈmæt.ɪks/
  • Les sons « sh » et « zh »: threshold /ˈθɹɛʃ(h)oʊld/, unusual /ʌnˈjuːʒ(u)əl/, efficient /ɪˈfɪʃənt/, instruction /ɪnˈstɹʌkʃən/, calibration /ˌkæl.ɪˈbɹeɪ.ʃən/
  • Mots longs — placez bien l’accent: 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/

Comment s’entraîner avec cette vidéo

  1. Écoutez la vidéo en entier une fois sans parler et notez les mots que vous ne connaissez pas.
  2. Répétez phrase par phrase à vitesse normale, en reprenant chacune jusqu’à ce que votre rythme corresponde à celui du locuteur.
  3. Enregistrez-vous et comparez avec l’original, en faisant attention à des mots comme probability, refund, reward.

Qu'est-ce que la technique du Shadowing ?

Le Shadowing est une technique d'apprentissage des langues fondée sur la science, développée à l'origine pour la formation des interprètes professionnels. Le principe est simple mais puissant : vous écoutez de l'anglais natif et le répétez immédiatement à voix haute — comme une ombre suivant le locuteur avec un décalage de 1 à 2 secondes. Les recherches montrent une amélioration significative de la précision de la prononciation, de l'intonation, du rythme, des liaisons, de la compréhension orale et de la fluidité.

Technique du shadowing : lire le guide complet étape par étape →