mirror of
https://github.com/frankwxu/AI4DigitalForensics.git
synced 2026-02-20 13:40:40 +00:00
add youtube link to lab1
This commit is contained in:
@@ -121,12 +121,6 @@ We use a pre-trained AI model called **BERT (Bidirectional Encoder Representatio
|
||||
|
||||
### How BERT Works
|
||||
|
||||
<img src="images/self-attention.png" width="60%">
|
||||
|
||||
[](https://www.youtube.com/watch?v=EOmd5sUUA_A)
|
||||
|
||||
[](https://www.youtube.com/watch?v=xI0HHN5XKDo)
|
||||
|
||||
BERT reads the entire sentence at once and uses a mechanism called **self-attention** to focus on important words. For example:
|
||||
|
||||
```
|
||||
@@ -134,6 +128,12 @@ Sentence: "The bank was robbed."
|
||||
BERT understands that "bank" refers to a financial institution because of the word "robbed."
|
||||
```
|
||||
|
||||
<img src="images/self-attention.png" width="60%">
|
||||
|
||||
[](https://www.youtube.com/watch?v=EOmd5sUUA_A)
|
||||
|
||||
[](https://www.youtube.com/watch?v=xI0HHN5XKDo)
|
||||
|
||||
### Why Use BERT?
|
||||
|
||||
- **Pre-trained**: BERT has already learned from millions of sentences, so it understands language well.
|
||||
|
||||
Reference in New Issue
Block a user