-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
255 lines (216 loc) · 7.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Why my Project is pointless</title>
<meta name="author" content="Dhruv Dhamani"/>
<style type="text/css">
.underline { text-decoration: underline; }
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/css/reveal.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/css/theme/simple.css" id="theme"/>
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section id="sec-title-slide">
<h1>Why my Project is pointless</h1>
</section>
<section>
<section id="slide-1">
<h2 id="1"><span class="section-number-2">1</span> Natural Language Understanding</h2>
<ul>
<li>A subtask of Natural Language Understanding that deal with machine reading</li>
</ul>
<p>
comprehension.
</p>
</section>
</section>
<section>
<section id="slide-2">
<h2 id="2"><span class="section-number-2">2</span> Natural Language Understanding</h2>
<ul>
<li>Consider the sentence - <code>Charlotte is in North Carolina.</code>
<ul>
<li>If a program can successfuly carry out NLU, you’d expect it to comprehend
that Charlotte is in fact in North Carolina.</li>
<li>How do you know if your program comprehended the meaning successfully?
<ul>
<li>You ask it a question!
<ul>
<li><code>Where is Charlotte?</code></li>
<li><code>Is Charlotte in NC?</code></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</section>
</section>
<section>
<section id="slide-3">
<h2 id="3"><span class="section-number-2">3</span> Natural Language Understanding</h2>
<ul>
<li>Generative Language Models can potentially implicitly solve this problem, without any
task-specific training.</li>
</ul>
</section>
</section>
<section>
<section id="slide-4">
<h2 id="4"><span class="section-number-2">4</span> An example.</h2>
<ul>
<li>Book a spot for three at Maid-Rite Sandwich Shop in Antigua and Barbuda. I’ll
book a table for you at […]</li>
<li>Book a spot for three at Maid-Rite Sandwich Shop in Antigua and Barbuda. Which
place? […]</li>
<li>Book a spot for three at Maid-Rite Sandwich Shop in Antigua and Barbuda. I’ll
book a table for […]</li>
</ul>
</section>
</section>
<section>
<section id="slide-5">
<h2 id="5"><span class="section-number-2">5</span> An example.</h2>
<ul>
<li>Book a spot for three at Maid-Rite Sandwich Shop in Antigua and Barbuda. I’ll
book a table for you at <span class="underline">Maid-Rite Sandwich</span></li>
<li>Book a spot for three at Maid-Rite Sandwich Shop in Antigua and Barbuda. Which
place? <span class="underline">Maid-Rite Sandwich</span></li>
<li>Book a spot for three at Maid-Rite Sandwich Shop in Antigua and Barbuda. I’ll
book a table for <span class="underline">three</span></li>
</ul>
</section>
</section>
<section>
<section id="slide-6">
<h2 id="6"><span class="section-number-2">6</span> RoBERTa</h2>
<p>
RoBERTa iterates on BERT’s pretraining procedure, including training the model longer, with bigger batches over more data; removing the next sentence prediction objective; training on longer sequences; and dynamically changing the masking pattern applied to the training data.
</p>
</section>
</section>
<section>
<section id="slide-7">
<h2 id="7"><span class="section-number-2">7</span> RoBERTa</h2>
<ul>
<li>Bi-directional masked language model.</li>
</ul>
</section>
</section>
<section>
<section id="slide-8">
<h2 id="8"><span class="section-number-2">8</span> What I intended to do -</h2>
<ul>
<li>Book a spot for three at Eve’s Pizzeria. Which place? <code><mask></code></li>
</ul>
</section>
</section>
<section>
<section id="slide-9">
<h2 id="9"><span class="section-number-2">9</span> What I intended to do -</h2>
<ul>
<li>Book a spot for three at Eve’s Pizzeria. Which place? <code><mask></code></li>
<li>Book a spot for three at Eve’s Pizzeria. Which place? Eve’s <code><mask></code></li>
<li>Book a spot for three at Eve’s Pizzeria. Which place? Eve’s Pizzeria</li>
</ul>
</section>
</section>
<section>
<section id="slide-10">
<h2 id="10"><span class="section-number-2">10</span> What actually happens -</h2>
<ul>
<li><s> Book a spot for three at Eve’s Pizzeria. Which place? </s></li>
</ul>
</section>
</section>
<section>
<section id="slide-11">
<h2 id="11"><span class="section-number-2">11</span> What actually happens -</h2>
<ul>
<li><s> Book a spot for three at Eve’s Pizzeria. Which place? </s></s></li>
<li><s> Book a spot for three at Eve’s Pizzeria. Which place? </s></s></s></s></s></s></s></s></li>
</ul>
</section>
</section>
<section>
<section id="slide-12">
<h2 id="12"><span class="section-number-2">12</span> How to get it to work -</h2>
<ul>
<li>Don’t use a birdirectional masked language model.</li>
<li>Examples of GPT2, a uni-directional transformer model trained for the same
task -
<ul>
<li>add artist to All Out 70s . Where should I add ? All Out 70s</li>
<li>Give the current book a three . What is the rating ? three</li>
<li><a href="https://colab.research.google.com/drive/1MGDjZDdgzxZtAI_KO2yDEOkRmX3jj2LD">https://colab.research.google.com/drive/1MGDjZDdgzxZtAI_KO2yDEOkRmX3jj2LD</a></li>
</ul></li>
<li>Do not use dynamic masking, as the orignal paper did, instead mask only the
final answer.
<ul>
<li>What the paper did -
<ul>
<li>Book a <code><mask></code> for three <code><mask></code> Eve’s Pizzeria. Which place? Eve’s
Pizzeria.</li>
</ul></li>
<li>Instead, do -
<ul>
<li>Book a spot for three at Eve’s Pizzeria. Which place? <code><mask>
<mask></code></li>
</ul></li>
</ul></li>
</ul>
</section>
</section>
<section>
<section id="slide-13">
<h2 id="13"><span class="section-number-2">13</span> Any questions?</h2>
</section>
</section>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/lib/js/head.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/js/reveal.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: false,
center: true,
slideNumber: 'c',
rollingLinks: false,
keyboard: true,
mouseWheel: false,
fragmentInURL: false,
hashOneBasedIndex: false,
pdfSeparateFragments: true,
overview: true,
width: 1920,
height: 1080,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'convex', // see README of reveal.js for options
transitionSpeed: 'default',
// Optional libraries used to extend reveal.js
dependencies: [
{src: "./script.js"},
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }]
});
</script>
</body>
</html>