-
Notifications
You must be signed in to change notification settings - Fork 23
/
nlp_course.html
1341 lines (1030 loc) · 56.3 KB
/
nlp_course.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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
layout: lecture
title: NLP Course | For You
description: Natural Language Processing course with interactive lectures-blogs, research thinking exercises and related papers with summaries. Also a lot of fun inside!
menu: yes
order: 4
---
<div class="sidebar" id="sidebar">
<a href="javascript:void(0)" id="close_sidebar_btn" onclick="closeNav()"
style="text-align:center;font-size:30px;padding:0px;">⇤</a>
<a class="active" href="#main_page_content" style="font-weight: bold;">
<img height="18" class='sidebar_ico' src="../resources/lectures/ico/course_logo.png" style="margin-right: 8px;margin-left: 8px;margin-top: 4px;"/>
NLP Course <font color="#92bf32" id="for_you_in_sidebar">| For You</font></a>
<a href="#whats_inside">What's inside</a>
<div class="dropdown-scope">
<a class="dropdown-btn active_caret" >Course
<i class="fa fa-caret-down"></i>
</a>
<div class="dropdown-container" style="display:block;">
<a href="#preview_word_emb"><span style="margin-right:15px;font-size:14px;">•</span>
Word Embeddings</a>
<a href="#preview_text_clf"><span style="margin-right:15px;font-size:14px;">•</span>
Text Classification</a>
<a href="#preview_lang_models"><span style="margin-right:15px;font-size:14px;">•</span>
Language Modeling</a>
<a href="#preview_seq2seq_attn"><span style="margin-right:15px;font-size:14px;">•</span>
Seq2seq and Attention</a>
<a href="#preview_transfer"><span style="margin-right:15px;font-size:14px;">•</span>
Transfer Learning</a>
<a href="#coming_soon_main_course"><span style="margin-right:15px;font-size:14px;">•</span>
<font color="#888"> ...to be continued</font></a>
</div>
</div>
<div class="dropdown-scope">
<a class="dropdown-btn active_caret" >Supplementary
<i class="fa fa-caret-down"></i>
</a>
<div class="dropdown-container" style="display:block;">
<a href="#supplementary"><span style="margin-right:15px;font-size:14px;">•</span>
Convolutional Networks</a>
</div>
</div>
</div>
<div class="sidebar" id="sidebar_small" style="background-color: #f5f5f5;">
<a class="active" onclick="openNav()" style="text-align:center;">☰</a>
<a href="#main_page_content" style="text-align:center; font-size:20px;color:#7ca81e"> <i class="fa fa-home"></i></a>
<!--<a href="#whats_inside" style="text-align:center; font-size:20px;color:#7ca81e"> <i class="fa fa-search"></i></a>-->
<!--<a href="#whats_inside_lectures" id="sidebar_analysis"> <img height="25" src="../resources/lectures/ico/analysis_empty.png"/></a>
<div class="extra_components">
<a href="#whats_inside_research_thinking" id="sidebar_research_thinking"><img height="30" src="../resources/lectures/ico/bulb_empty.png"/></a>
<a href="#whats_inside_related_papers" id="sidebar_related_papers"><img height="22" src="../resources/lectures/ico/book_empty.png"/></a>
<a href="#whats_inside_fun" id="sidebar_fun"><img height="30" src="../resources/lectures/ico/fun_empty.png" /></a>-->
<a href="#lectures" style="text-align:center; font-size:20px;color:#7ca81e"> <i class="fa fa-list-ul"></i></a>
</div>
</div>
<script>
function openNav() {
document.getElementById("sidebar").style.display = "block";
document.getElementById("sidebar_small").style.display = "none";
document.getElementById("close_sidebar_btn").style.display = "block";
}
function closeNav() {
document.getElementById("sidebar").style.display = "none";
document.getElementById("sidebar_small").style.display = "block";
document.getElementById("close_sidebar_btn").style.display = "none";
}
</script>
<script>
function onResize() {
if (window.innerWidth >= 800) {
document.getElementById("sidebar").style.display = "block";
document.getElementById("sidebar_small").style.display = "none";
document.getElementById("close_sidebar_btn").style.display = "none";
}
else {
document.getElementById("sidebar").style.display = "none";
document.getElementById("sidebar_small").style.display = "block";
}
}
window.onresize = onResize;
onResize();
</script>
<script>
/* Loop through all dropdown buttons to toggle between hiding and showing its dropdown content - This allows the user to have multiple dropdowns without any conflict */
var dropdown = document.getElementsByClassName("dropdown-btn");
var i;
for (i = 0; i < dropdown.length; i++) {
dropdown[i].addEventListener("click", function(event) {
this.classList.toggle("active_caret");
var dropdownButton = event.target || event.srcElement;
while(dropdownButton.className != "dropdown-scope")
dropdownButton = dropdownButton.parentElement;
var dropdownContent = dropdownButton.getElementsByClassName("dropdown-container")[0];
if (dropdownContent.style.display === "block") {
dropdownContent.style.display = "none";
} else {
dropdownContent.style.display = "block";
}
});
}
</script>
<div class="wrapper" id="main_page_content">
<div class="header"><h1>NLP Course <font color="#92bf32">| For You</font></h1></div>
<div class="main_content">
<p class="data_text">
This is an extension to the (ML for)
<a href="https://github.com/yandexdataschool/nlp_course" target="_blank">Natural Language Processing course</a>
I teach at the <a href="https://yandexdataschool.com" target="_blank">Yandex School of Data Analysis (YSDA)</a>
since fall 2018 (from 2022, in Israel branch). For now, only part of the topics is likely to be covered here.</p>
<div style="display: grid;
grid-template-columns: auto 290px;">
<div style="margin-right: 30px;">
<h3>This new format of the course is designed for:</h3>
<ul>
<li><span style="font-size:18px;">convenience</span><br>
<span class="data_text">Easy to find, learn or recap material (both standard and more advanced), and to
try in practice.</span>
</li>
<li style="margin-top:10px;"><span style="font-size:18px; ">clarity</span><br>
<span class="data_text">
Each part, from front to back, is a result of my care
not only about what to say, but also
how to say and, especially, how to show something.
</span>
</li>
<li style="margin-top:10px;"><span style="font-size:18px; ">you</span> <br>
<span class="data_text">
I wanted to make these materials so that you (yes, you!)
could study on your own, what you like, and at your pace.
My main purpose is to help you enter your own very personal adventure.
<strong><font color="#92bf32">For you.</font></strong></span>
</li>
</li>
</ul>
</div>
<div class="demo_sidebar" style="font-family:helvetica;">
<div class="main_components">
<a href="#whats_inside_lectures">
Lectures-blogs
<span class="demo_sidebar_comment">with</span>
<br><span style="padding:5px;" class="demo_sidebar_comment">
Interactive parts & Exercises
<img height="18" src="../resources/lectures/ico/paw_empty.png" class="sidebar_ico"/>
<img height="20" src="../resources/lectures/ico/dumpbell_empty.png" class="sidebar_ico" style="margin-right:10px;"/>
</span>
<br><span style="padding:5px;" class="demo_sidebar_comment">
Analysis and Interpretability<img height="25" src="../resources/lectures/ico/analysis_empty.png" class="sidebar_ico"/>
</span>
</a>
<a href="#whats_inside_lectures">
Seminars & Homeworks
<br><span class="demo_sidebar_comment">notebooks in our 8.8k-☆ course repo</span>
</a>
</div>
<div class="extra_components">
<a href="#whats_inside_research_thinking" id="demo_sidebar_research_thinking">
Research Thinking
<img height="30" src="../resources/lectures/ico/bulb_empty.png" class="sidebar_ico" style="margin-top:10px;"/>
<br><span class="demo_sidebar_comment">learn to ask right questions</span>
</a>
<a href="#whats_inside_related_papers" id="demo_sidebar_related_papers">
Related Papers
<img height="22" src="../resources/lectures/ico/book_empty.png" class="sidebar_ico" style="margin-top:15px;"/>
<br><span class="demo_sidebar_comment">with summaries and explanations</span>
</a>
<a href="#whats_inside_fun" id="demo_sidebar_fun">
Have Fun!
<img height="35" src="../resources/lectures/ico/fun_empty.png" class="sidebar_ico" style="margin-top:8px;"/>
<br><span class="demo_sidebar_comment">just fun</span>
</a>
</div>
</div>
</div>
<hr style="height:2px; margin-bottom:15px;" color="#92bf32">
<p><span class="data_text">If you want to use the materials (e.g., figures) in your paper/report/whatnot and
to cite this course, you can do this using the following BibTex:</span></p>
<div style="border: 1px solid #ccc;border-radius:15px;margin: 10px; padding: 4px;
background-color: #f5f5f5;width:80%;font-family:Courier;font-size:12px;">
<div style="margin-left:20px;">
@misc{voita2020nlpCourse,</br>
<div style="margin-left:15px;">
title={ {NLP} {C}ourse {F}or {Y}ou},</br>
url={https://lena-voita.github.io/nlp_course.html},</br>
author={Elena Voita},</br>
year={2020},</br>
month={Sep}</br>
</div>
}
</div>
</div>
<hr style="height:5px" color="#92bf32">
<br>
<div id="whats_inside">
<h1>What's inside: A Guide to Your Adventure</h1>
<br>
<div style="border: 0px solid #ccc;border-radius:15px;margin: 10px; padding: 4px;
background-color: #f5f5f5;">
<div style="display: grid; grid-template-columns: 45% 55%; margin:10px;" id="whats_inside_lectures">
<div style="margin-right: 15px;">
<h2 style="margin-bottom:5px;">Lectures-blogs</h2>
<p class="data_text" style="margin-bottom:2px;">
which I tried to make:</p>
<ul class="data_text">
<li>intuitive, clear and engaging;</li>
<li>complete: full lecture and more,</li>
<li>up-to-date with the field.</li>
</ul>
<h3 style="margin-bottom:2px;">Bonus:</h3>
<ul class="data_text">
<li><a href="#whats_inside_research_thinking">Research Thinking</a>,</li>
<li><a href="#whats_inside_related_papers">Related Papers</a>,</li>
<li><a href="#whats_inside_fun">Have Fun!</a></li>
</ul>
<h2 style="margin-bottom:2px;">Seminars & Homeworks</h2>
<p class="data_text">For each topic, you can take notebooks from
<a href="https://github.com/yandexdataschool/nlp_course" target="_blank">our 8.8k-☆ course repo</a>.
</p>
<p class="data_text" style="margin-top:-7px;"> From 2020, both PyTorch and Tensorflow!
</p>
</div>
<div>
<!--############## begin of right part ####################################-->
<div class="green_circle" style="float:left; margin-left: 10px;"></div>
<div class="box_green_left" style="margin-left: 15px;">
<div class="greenCard" id="thumbnail_green" style="background-color:white;">
<div class="cardContent">
<img height="18" src="../resources/lectures/ico/paw_empty.png"
style="float:left; padding-right:10px; "/>
<img height="20" src="../resources/lectures/ico/dumpbell_empty.png"
style="float:left; padding-right:20px; "/>
<h3>Interactive parts & Exercises</h3>
<p class="data_text" style="font-size:14px;">
Often I ask you to go over "slides" visualizing some process,
play with something or just think.
</p>
</div>
</div>
<div class="greenCard" id="thumbnail_green" style="background-color:white;">
<div class="cardContent">
<img height="30" src="../resources/lectures/ico/analysis_empty.png"
style="float:left; padding-right:20px; "/>
<h3>Analysis and Interpretability</h3>
<p class="data_text" style="font-size:14px;">
Since 2020, top NLP conferences (ACL, EMNLP) have the
"Analysis and Interpretability" area: one more confirmation that
analysis is an integral part of NLP.</p>
<p class="data_text" style="font-size:14px;">
Each lecture has a section with relevant results on internal workings of models and methods.
</p>
</div>
</div>
</div>
<div class="green_circle" style="float:left; margin-left: 10px;"></div>
<!--######################### end of right part #########################-->
</div>
</div>
</div>
<br>
<div style="border: 0px solid #ccc;border-radius:15px;margin: 10px; padding: 4px;
background-color: #f5f5f5;">
<div style="display: grid; grid-template-columns: 45% 55%; margin:10px;" id="whats_inside_research_thinking">
<div style="margin-right: 15px;">
<h2>Research Thinking</h2>
<p class="data_text">
Learn to think as a research scientist:</p>
<ul class="data_text">
<li>find flaws in an approach,</li>
<li>think why/when something can help,</li>
<li>come up with ways to improve,</li>
<li>learn about previous attempts.</li>
</ul>
<p class="data_text">It's well-known that you will learn something easier
if you are not just given the answer right away, but if you think about it first. Even
if you don't want to be a researcher, this is still a good way to learn things!
</p>
</div>
<div>
<img height="38" src="../resources/lectures/ico/bulb_empty.png"
style="float:left; padding-right:10px; margin-top:-10px;"/>
<div class="box_yellow_left" style="margin-left: 15px;">
<!--############## begin of research card ####################################-->
<div class="researchCard" id="thumbnail_research" style="background-color: white;">
<div class="researchIntro" id="research_meaning_shift">
<div class="cardContent">
<div class="research_title">
Demo: Research Card
</div>
<hr color="#dedeca" style="margin:5px;">
<span style="font-size:14px;">Here I define the starting point:
something you already know.</span>
</div>
<div>
<!--<div class="research_tag">neural</div>-->
<img src="../resources/lectures/main/i_saw_cat-min.png"
alt="" style="margin-top:10px;" class="center"/>
</div>
</div>
<hr color="#dedeca" style="margin:2px; height:1px">
<div class="cardContent">
<span style="font-size:14px; ">Here I ask you questions. Think (for a minute, a day, a week, ...) and then
look at possible answers.</span>
<br>
<span style="font-size:14px;">
<span class="research_question">?</span>
Why this or that can be useful?</span>
<details>
<summary class="research_summary">
<span style="font-size:14px;">Possible answers</span></summary>
<div style="font-size:14px; margin-bottom:10px;">
Here you will see some possible answers. This part is a motivation
to try a new approach: usually, this is what a research project starts with.
</div>
</details>
<span style="font-size:14px;">
<span class="research_question">?</span>
How can we use this to improve that model?</span>
<details>
<summary class="research_summary">
<span style="font-size:14px;">Existing solutions</span></summary>
<div style="font-size:14px">
Here I will summarize some previous attempts. You are not supposed to come up with
something exactly like here - remember, each paper usually takes the authors several
months of work. It's a habit of thinking about these things that counts: you have
several ideas, you try; if they don't work, you think again. Eventually, something
will work - and this is what papers tell you about.
</div>
</details>
</div>
</div>
<!--######################### end of research card #########################-->
</div>
<div class="research_circle" style="float:left; margin-left: 10px;"></div>
</div>
</div>
</div>
<br>
<div style="border: 0px solid #ccc; border-radius:15px; margin: 10px; padding: 4px;
background-color: #f5f5f5;">
<div style="display: grid; grid-template-columns: 45% 55%; margin:10px;" id="whats_inside_related_papers">
<div style="margin-right: 15px;">
<h2>Related Papers</h2>
<p class="data_text">
Explore related work:</p>
<ul class="data_text">
<li><u>high-level</u>: look at key results in short summaries and
get an idea of what's going on in the field;</li>
<li><u>a bit deeper</u>: for topics which interest you more,
read longer summaries with illustrations and explanations;</li>
<li><u>in depth</u>: read the papers you liked.</li>
</ul>
</div>
<div>
<img height="25" src="../resources/lectures/ico/book_empty.png"
style="float:left; padding-right:10px; margin-top:-5px;"/>
<div class="box_pink_left" style="margin-left: 15px;margin-top: 15px;">
<!--######### begin of paper card #########################################-->
<div class="paperCard" id="thumbnail_paper" style="background-color: white;">
<div class="paperIntro">
<div class="cardContent">
<div class="paper_title">
<a href="./nlp_course/word_embeddings.html#related_papers" target="_blank" class="links">
Demo: Paper Card
</a>
</div>
<div class="paper_authors">
Good Author and Cool Author
</div>
<hr color="#f2e4ee" style="margin:5px; ">
<div style="font-size:14px">
Here I give you a couple of sentences explaining the high-level idea of the paper
and/or its main results.
</div>
</div>
<div>
<div class="conf_name">EMNLP 2019</div>
<a href="" target="_blank">
<img src="../resources/lectures/main/pink_lm-min.png"
alt="" style="margin-top:30px;" class="center"/>
</a>
</div>
</div>
<hr color="#f2e4ee" style="margin:5px; height: 1px;">
<div class="cardContent">
<details>
<summary style="margin-left:10px;">
<span style="font-size:14px">More detals: click (yes, right here, right now!)</span></summary>
<div style="font-size:14px">
<br>
Here I give you a longer summary, with illustrations and explanations.
I try to walk you through the authors' reasoning steps and key observations,
and I try to make it as easy for you as possible.
After you get the main idea, it'll be easier to read an original research paper.
</div>
</details>
</div>
</div>
<!--################ end of paper card ##################################-->
</div>
<div class="paper_circle" style="float:left; margin-left: 10px;"></div>
</div>
</div>
</div>
<br>
<div style="border: 0px solid #ccc; border-radius:15px; margin: 10px; padding: 4px; background-color: #f5f5f5;">
<div style="display: grid; grid-template-columns: 45% 55%; margin:10px;" id="whats_inside_fun">
<div style="margin-right: 15px;">
<h2>Have Fun!</h2>
<p class="data_text">
Just fun.
<br><br>
Here you'll see some NLP games related to a lecture topic.</p>
</div>
<div>
<img height="40" src="../resources/lectures/ico/fun_empty.png"
style="float:left; padding-right:10px; margin-top:-10px;"/>
<div class="box_blue_left" style="margin-left: 15px;margin-top: 15px;">
<!--######### begin of fun #########################################-->
<div width=100% id="thumbnail_blue" style="background-color:white;
border:1px solid #ccc; border-radius:1px;margin:10px 5px;padding:3px;">
<div class="cardContent">
<p style="text-align:center;">
Week 1: <a href="./nlp_course/word_embeddings.html#have_fun" target="_blank">Semantic Space Surfer</a></p>
<img width=100% src="../resources/lectures/main/fun_preview-min.png">
</div>
</div>
<!--################ end of fun ##################################-->
</div>
<div class="fun_circle" style="float:left; margin-left: 10px;"></div>
</div>
</div>
</div>
</div>
<br>
<hr style="height:5px" color="#92bf32">
<br>
<div id="lectures">
<h1>Course</h1>
<div style="border: 0px solid #ccc;border-radius:15px;margin: 10px; padding: 4px; background-color: #f5f5f5;">
<div class="greenCard" id="thumbnail_green" style="background-color:white; margin:10px;width:96%">
<div class="cardContent" id="preview_word_emb">
<div style="display: grid; grid-template-columns: 50% 50%; margin:10px;">
<div>
<!--############## begin of left part ####################################-->
<div class="green_circle" style="float:right; margin-right:5px;"></div>
<div class="box_green_right">
<div style="margin-right:15px; ">
<h2 style="margin-bottom:5px;background-color:#f6fce8;text-align:center;">
<a href="./nlp_course/word_embeddings.html" style="color:black">Word Embeddings</a></h2>
<ul class="data_text">
<li>Distributional semantics</li>
<li>Count-based (pre-neural) methods</li>
<li>Word2Vec: <strong>learn</strong> vectors</li>
<li>GloVe: count, then learn</li>
<li>Evaluation: intrinsic vs extrinsic</li>
<li><img height="20" src="../resources/lectures/ico/analysis_empty.png" style="margin-right:10px;"/>
Analysis and Interpretability</li>
<li><span style="float: left;">Bonus: </span>
<div class="research_circle" style="margin: 8px; float: left;"></div>
<div class="paper_circle" style="margin: 8px; float: left;"></div>
<div class="fun_circle" style="margin: 8px; float: left;"></div></li>
</ul>
<hr color="#e9f5d0" style="margin:5px;">
<h3 style="margin-bottom:2px;">Seminar & Homework</h3>
<p class="data_text">
<a href="https://github.com/yandexdataschool/nlp_course/tree/2020/week01_embeddings" target="_blank">Week 1</a> in
<a href="https://github.com/yandexdataschool/nlp_course" target="_blank">the course repo</a>.
</p>
</div>
</div>
<div class="green_circle" style="float:right; margin-right:5px;"></div>
</div>
<!--######################### end of left part #########################-->
<div>
<div class="carousel carousel_word_emb"
style="width:100%; margin-left:-5px; margin-right:-5px;"
data-flickity='{ "imagesLoaded": true, "percentPosition": true, "wrapAround": true, "prevNextButtons": false}'>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/word_emb-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/one_hot-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/count_based-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/context_window-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/skip_gram-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/cbow-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/w2v_training_1-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/w2v_training_2-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/semantic_space-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/neighbors-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/analogy-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/cross_lingual-min.png" style="width:90%">
</center></div>
<!--
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/research_thinking-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/word_emb/related_papers-min.png" style="width:90%">
</center></div>-->
</div>
<p style="text-align: center; font-size:20px;margin-top:30px;"><a href="./nlp_course/word_embeddings.html">read more ⇨</a></p>
</div>
</div>
</div>
</div><!-- div for word emb green card-->
<script>
var flkty_word_emb = new Flickity( '.carousel_word_emb', { imagesLoaded: true, percentPosition: true,
wrapAround: true, prevNextButtons: false,});
flkty_word_emb.on( 'staticClick', function( event, pointer, cellElement, cellIndex ) {
flkty_word_emb.next();
});
</script>
<div class="greenCard" id="thumbnail_green" style="background-color:white; margin:10px;width:96%">
<div class="cardContent" id="preview_text_clf">
<div style="display: grid; grid-template-columns: 50% 50%; margin:10px;">
<div>
<!--############## begin of left part ####################################-->
<div class="green_circle" style="float:right; margin-right:5px;"></div>
<div class="box_green_right">
<div style="margin-right:15px; ">
<h2 style="margin-bottom:5px;background-color:#f6fce8;text-align:center;">
<a href="./nlp_course/text_classification.html" style="color:black">Text Classification</a></h2>
<ul class="data_text">
<li>Intro and Datasets</li>
<li>General Framework</li>
<li>Classical Approaches: Naive Bayes, MaxEnt (Logistic Regression), SVM</li>
<li>Neural Networks: RNNs and CNNs</li>
<li><img height="20" src="../resources/lectures/ico/analysis_empty.png" style="margin-right:10px;"/>
Analysis and Interpretability</li>
<li><span style="float: left;">Bonus: </span>
<div class="research_circle" style="margin: 8px; float: left;"></div>
<div class="paper_circle" style="margin: 8px; float: left;"></div>
<!--<div class="fun_circle" style="margin: 8px; float: left;"></div>--></li>
</ul>
<hr color="#e9f5d0" style="margin:5px;">
<h3 style="margin-bottom:2px;">Seminar & Homework</h3>
<p class="data_text"><a href="https://github.com/yandexdataschool/nlp_course/tree/2020/week02_classification" target="_blank">Week 2</a>
in <a href="https://github.com/yandexdataschool/nlp_course" target="_blank">the course repo</a>.
</p>
</div>
</div>
<div class="green_circle" style="float:right; margin-right:5px;"></div>
</div>
<!--######################### end of left part #########################-->
<div>
<div class="carousel carousel_text_clf"
style="width:100%; margin-left:-5px; margin-right:-5px;"
data-flickity='{ "imagesLoaded": true, "percentPosition": true, "wrapAround": true, "prevNextButtons": false}'>
<!--<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/pusheen_tea.gif" style="width:50%; margin-top:60px;">
</center>
<p style="text-align: center; font-size:20px;">Wait for the release!<br> (September 17-24)</p>
</div>
-->
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/example_movie_clean2-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/general_framework-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/generative_discriminative-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/nn_clf-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/boe-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/rnn_simple-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/rnn_multi-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/rnn_bi-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/cnn-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/cnn_filter_feature-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/cnn_patterns_how-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/text_clf/cnn_patterns-min.png" style="width:90%">
</center></div>
</div>
<p style="text-align: center; font-size:20px;margin-top:30px;"><a href="./nlp_course/text_classification.html">read more ⇨</a></p>
</div>
</div>
</div>
</div><!-- div for lang models green card-->
<script>
var flkty_clf = new Flickity( '.carousel_text_clf', { imagesLoaded: true, percentPosition: true,
wrapAround: true, prevNextButtons: false,});
flkty_clf.on( 'staticClick', function( event, pointer, cellElement, cellIndex ) {
flkty_clf.next();
});
</script>
<div class="greenCard" id="thumbnail_green" style="background-color:white; margin:10px;width:96%">
<div class="cardContent" id="preview_lang_models">
<div style="display: grid; grid-template-columns: 50% 50%; margin:10px;">
<div>
<!--############## begin of left part ####################################-->
<div class="green_circle" style="float:right; margin-right:5px;"></div>
<div class="box_green_right">
<div style="margin-right:15px; ">
<h2 style="margin-bottom:5px;background-color:#f6fce8;text-align:center;">
<a href="./nlp_course/language_modeling.html" style="color:black">Language Modeling</a></h2>
<ul class="data_text">
<li>General Framework</li>
<li>N-Gram LMs</li>
<li>Neural LMs</li>
<li>Generation Strategies</li>
<li>Evaluating LMs</li>
<li>Practical Tips</li>
<li><img height="20" src="../resources/lectures/ico/analysis_empty.png" style="margin-right:10px;"/>
Analysis and Interpretability</li>
<li><span style="float: left;">Bonus: </span>
<div class="research_circle" style="margin: 8px; float: left;"></div>
<div class="paper_circle" style="margin: 8px; float: left;"></div>
<div class="fun_circle" style="margin: 8px; float: left;"></div></li>
</ul>
<hr color="#e9f5d0" style="margin:5px;">
<h3 style="margin-bottom:2px;">Seminar & Homework</h3>
<p class="data_text"><a href="https://github.com/yandexdataschool/nlp_course/tree/2020/week03_lm" target="_blank">Week 3</a>
in <a href="https://github.com/yandexdataschool/nlp_course" target="_blank">the course repo</a>.
</p>
</div>
</div>
<div class="green_circle" style="float:right; margin-right:5px;"></div>
</div>
<!--######################### end of left part #########################-->
<div>
<div class="carousel carousel_lang_models"
style="width:100%; margin-left:-5px; margin-right:-5px;"
data-flickity='{ "imagesLoaded": true, "percentPosition": true, "wrapAround": true, "prevNextButtons": false}'>
<!--<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/pusheen_waits.png" style="width:60%; margin-top:20px;">
</center>
<p style="text-align: center; font-size:20px;">Wait for the release!<br> (September 24-30)</p>
</div>-->
<div class="carousel-cell" style="width:100%"><center>
<video width="90%" height="auto" style="margin-top:40px;" loop autoplay muted style="">
<source src="../resources/lectures/main/preview/lang_models/lm_generate.mp4" type="video/mp4">
</video>
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/markov_property-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/smoothing-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<p style="text-align: center; font-size:20px;">Generate a Text with Ngram LMs<br></p>
<video width="90%" height="auto" loop autoplay muted style="">
<source src="../resources/lectures/main/preview/lang_models/ngram_generation.mp4" type="video/mp4">
</video>
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<p style="text-align: center; font-size:20px;">Neural Language Models<br></p>
<video width="90%" height="auto" loop autoplay muted style="">
<source src="../resources/lectures/lang_models/neural/nn_lm_prob_idea.mp4" type="video/mp4">
</video>
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/loss-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/rnn1-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/rnn2-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/cnn1-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/cnn2-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/evaluation-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/temperature-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/top_k-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/top_p_1-min.png" style="width:90%">
</center></div>
<!--<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/top_p_2-min.png" style="width:90%">
</center></div>-->
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/lang_models/weight_tying-min.png" style="width:90%">
</center></div>
</div>
<p style="text-align: center; font-size:20px;margin-top:30px;"><a href="./nlp_course/language_modeling.html">read more ⇨</a></p>
</div>
</div>
</div>
</div><!-- div for lang models green card-->
<script>
var flkty_lm = new Flickity( '.carousel_lang_models', { imagesLoaded: true, percentPosition: true,
wrapAround: true, prevNextButtons: false,});
flkty_lm.on( 'staticClick', function( event, pointer, cellElement, cellIndex ) {
flkty_lm.next();
});
</script>
<div class="greenCard" id="thumbnail_green" style="background-color:white; margin:10px;width:96%">
<div class="cardContent" id="preview_seq2seq_attn">
<div style="display: grid; grid-template-columns: 50% 50%; margin:10px;">
<div>
<!--############## begin of left part ####################################-->
<div class="green_circle" style="float:right; margin-right:5px;"></div>
<div class="box_green_right">
<div style="margin-right:15px; ">
<h2 style="margin-bottom:5px;background-color:#f6fce8;text-align:center;">
<a href="./nlp_course/seq2seq_and_attention.html" style="color:black">Seq2seq and Attention</a></h2>
<ul class="data_text">
<li>Seq2seq Basics (Encoder-Decoder, Training, Simple Models)</li>
<li>Attention</li>
<li>Transformer</li>
<li>Subword Segmentation (e.g., BPE)</li>
<li>Inference (e.g., beam search)</li>
<li><img height="20" src="../resources/lectures/ico/analysis_empty.png" style="margin-right:10px;"/>
Analysis and Interpretability</li>
<li><span style="float: left;">Bonus: </span>
<div class="research_circle" style="margin: 8px; float: left;"></div>
<div class="paper_circle" style="margin: 8px; float: left;"></div>
<!--<div class="fun_circle" style="margin: 8px; float: left;"></div>--></li>
</ul>
<hr color="#e9f5d0" style="margin:5px;">
<h3 style="margin-bottom:2px;">Seminar & Homework</h3>
<p class="data_text"><a href="https://github.com/yandexdataschool/nlp_course/tree/2020/week04_seq2seq" target="_blank">Week 4</a> in
<a href="https://github.com/yandexdataschool/nlp_course" target="_blank">the course repo</a>.
</p>
</div>
</div>
<div class="green_circle" style="float:right; margin-right:5px;"></div>
</div>
<!--######################### end of left part #########################-->
<div>
<div class="carousel carousel_attention"
style="width:100%; margin-left:-5px; margin-right:-5px;"
data-flickity='{ "imagesLoaded": true, "percentPosition": true, "wrapAround": true, "prevNextButtons": false}'>
<div class="carousel-cell" style="width:100%"><center>
<img src="../resources/lectures/main/preview/seq2seq/morda_src_dst-min.png" style="width:90%">
</center></div>
<div class="carousel-cell" style="width:100%"><center>
<video width="90%" height="auto" style="margin-top:40px;" loop autoplay muted style="">
<source src="../resources/lectures/main/preview/seq2seq/enc_dec_prob_idea.mp4" type="video/mp4">
</video>