BERT-insight: Question Answering
Loading model ...
Enter passage:
John and Mary went to a party. Mary bought a superamazing gift for the host. John brought his guitar. At the party, Mary gave the host a bottle of wine. John played songs after dinner. Fred was also at the party. He brought his dog with him.
Enter question:
What instrument did John play?
Answer:
Attention layer visualization
---Choose layer---
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---Choose layer---
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---Choose layer---
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---Choose layer---
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---Choose layer---
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This work was funded by National Science Foundation award IIS-2112633.
Authors: Neel Pawar and David S. Touretzky