title
stringlengths
12
112
published
stringlengths
19
23
url
stringlengths
28
28
video_id
stringlengths
11
11
channel_id
stringclasses
5 values
id
stringlengths
16
31
text
stringlengths
0
596
start
float64
0
37.8k
end
float64
2.18
37.8k
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1274.0
going to need to use a PyTorch
1,274
1,278
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1276.0
data loader object.
1,276
1,280
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1278.0
And to create that data loader
1,278
1,282
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1280.0
object we need to create
1,280
1,284
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1282.0
a PyTorch data set object
1,282
1,286
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1284.0
from our data.
1,284
1,288
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1286.0
So to do that we
1,286
1,290
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1288.0
write this. So we're going to be using
1,288
1,292
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1290.0
a data set
1,290
1,294
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1292.0
class here. So I'm going to call it
1,292
1,296
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1294.0
MeditationsDataSet.
1,294
1,300
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1298.0
And in here we write torch
1,298
1,302
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1300.0
utils data
1,300
1,304
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1302.0
data set. So that
1,302
1,306
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1304.0
makes sure that we are
1,304
1,308
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1306.0
using the correct format for the
1,306
1,310
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1308.0
class for a data set.
1,308
1,314
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1312.0
Now we need to define a few
1,312
1,316
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1314.0
methods inside here.
1,314
1,318
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1316.0
So our initialization method
1,316
1,320
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1318.0
and for our initialization
1,318
1,322
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1320.0
method we need to be able to pass our
1,320
1,324
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1322.0
data. So we'll pass
1,322
1,326
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1324.0
it through this encodings variable.
1,324
1,328
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1326.0
And all we need to
1,326
1,330
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1328.0
do in here is assign our encodings
1,328
1,332
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1330.0
variable to be an internal attribute
1,330
1,334
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1332.0
of that data set or that
1,332
1,336
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1334.0
class. So write self
1,334
1,338
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1336.0
encodings
1,336
1,340
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1338.0
equals encodings.
1,338
1,342
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1340.0
So that allows us to
1,340
1,344
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1342.0
create our data set class.
1,342
1,346
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1344.0
And then our
1,344
1,348
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1346.0
data loader needs two
1,346
1,350
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1348.0
different methods from this class as well.
1,348
1,352
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1350.0
It needs a get item method
1,350
1,354
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1352.0
and a
1,352
1,356
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1354.0
length method. So let's do
1,354
1,358
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1356.0
the length method first. It's easier.
1,356
1,362
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1360.0
So our length
1,360
1,364
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1362.0
we don't need to pass anything to this.
1,362
1,366
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1364.0
It's just the same
1,364
1,368
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1366.0
as when you would write
1,366
1,370
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1368.0
this and you put something
1,368
1,372
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1370.0
inside it. So list
1,370
1,374
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1372.0
0 1. We get that length.
1,372
1,376
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1374.0
That's exactly what we're doing here.
1,374
1,378
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1376.0
So this creates a
1,376
1,380
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1378.0
enables you to do this same
1,378
1,382
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1380.0
method on your class.
1,380
1,384
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1382.0
And
1,382
1,386
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1384.0
inside here all we need to do is
1,384
1,388
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1386.0
return the length. So what
1,386
1,390
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1388.0
length should we return? Well
1,388
1,392
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1390.0
if we just do length
1,390
1,394
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1392.0
of inputs
1,392
1,396
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1394.0
we get 4 because we only
1,394
1,398
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1396.0
have 4 items in there.
1,396
1,400
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1398.0
So we don't want that.
1,398
1,402
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1400.0
We actually want the number of samples
1,400
1,404
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1402.0
that we have within
1,402
1,406
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1404.0
our inputs. So what
1,404
1,408
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1406.0
we can do instead is we write inputs
1,406
1,410
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1408.0
input ids
1,408
1,412
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1410.0
shape 0.
1,410
1,414
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1412.0
So we have these
1,412
1,416
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1414.0
317 items.
1,414
1,418
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1416.0
So just show
1,416
1,420
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1418.0
you here. See this is
1,418
1,422
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1420.0
our encoding
1,420
1,424
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1422.0
size. So the
1,422
1,426
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1424.0
max length we set here.
1,424
1,430
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1428.0
And this is the number of
1,428
1,432
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1430.0
sentences or sentence pairs
1,430
1,434
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1432.0
that we have.
1,432
1,436
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1434.0
So
1,434
1,440
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1438.0
we take that
1,438
1,442
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1440.0
and we return it. But obviously we
1,440
1,444
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1442.0
don't have inputs. We now have this
1,442
1,446
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1444.0
self encodings. So
1,444
1,448
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1446.0
swap it like
1,446
1,450
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1448.0
that. And then
1,448
1,452
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1450.0
we want to
1,450
1,454
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1452.0
pass this get item
1,452
1,456
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1454.0
method. And what
1,454
1,458
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1456.0
this does is given a certain
1,456
1,460
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1458.0
index it will return
1,458
1,462
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1460.0
your 4 dictionaries
1,460
1,464
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1462.0
your input ids, token type ids
1,462
1,466
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1464.0
attention mask and labels
1,464
1,468
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1466.0
dictionary which we've created down here
1,466
1,470
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1468.0
for that specific index.
1,468
1,472
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1470.0
So we need to
1,470
1,474
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1472.0
allow it to take an index
1,472
1,476
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1474.0
argument there.
1,474
1,478
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1476.0
What we do
1,476
1,480
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1478.0
is return
1,478
1,482
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1480.0
let me
1,480
1,484
Training BERT #4 - Train With Next Sentence Prediction (NSP)
2021-05-27 16:15:39 UTC
https://youtu.be/x1lAcT3xl5M
x1lAcT3xl5M
UCv83tO5cePwHMt1952IVVHw
x1lAcT3xl5M-t1482.0
show you down here what that would look like.
1,482
1,486