forked from speechbrain/speechbrain.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorial_advanced.html
More file actions
234 lines (224 loc) · 13.4 KB
/
tutorial_advanced.html
File metadata and controls
234 lines (224 loc) · 13.4 KB
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="img/favicon.png" type="image/png">
<title>SpeechBrain Advanced</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="vendors/linericon/style.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="vendors/owl-carousel/owl.carousel.min.css">
<link rel="stylesheet" href="vendors/lightbox/simpleLightbox.css">
<link rel="stylesheet" href="vendors/nice-select/css/nice-select.css">
<link rel="stylesheet" href="vendors/animate-css/animate.css">
<!-- main css -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
</head>
<body>
<!--================Header Menu Area =================-->
<header class="header_area">
<div class="main_menu">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container box_1620">
<!-- Brand and toggle get grouped for better mobile display -->
<a class="navbar-brand logo_h" href="index.html"><img src="img/logo_line_big.png" width="175px" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse offset" id="navbarSupportedContent">
<ul class="nav navbar-nav menu_nav justify-content-center">
<li class="nav-item active"><a class="nav-link" href="index.html">Home</a></li>
<li class="nav-item"><a class="nav-link" href="about.html">About SpeechBrain</a>
<li class="nav-item"><a class="nav-link" href="contributing.html">Contributing</a>
<li class="nav-item"><a class="nav-link" href="https://speechbrain.readthedocs.io/en/latest/index.html">Documentation</a>
<li class="nav-item submenu dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Tutorials</a>
<ul class="dropdown-menu">
<li class="nav-item"><a class="nav-link" href="tutorial_basics.html">SpeechBrain Basics</a></li>
<li class="nav-item"><a class="nav-link" href="tutorial_advanced.html">SpeechBrain Advanced</a></li>
<li class="nav-item"><a class="nav-link" href="tutorial_nn.html">Neural Architectures</a></li>
<li class="nav-item"><a class="nav-link" href="tutorial_processing.html">Speech Processing</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</div>
</header>
<!--================Header Menu Area =================-->
<!--================Home Banner Area =================-->
<section class="home_banner_area blog_banner">
<div class="banner_inner d-flex align-items-center">
<div class="overlay bg-parallax" data-stellar-ratio="0.9" data-stellar-vertical-offset="0" data-background=""></div>
<div class="container">
<div class="blog_b_text text-center">
<h2>SpeechBrain Tutorials</h2>
<h3>SpeechBrain Advanced</h3>
</div>
</div>
</div>
</section>
<!--================End Home Banner Area =================-->
<!--================Blog Categorie Area =================-->
<section class="blog_categorie_area">
<!-- We don't have category for now -->
</section>
<!--================Blog Categorie Area =================-->
<!--================Blog Area =================-->
<section class="blog_area">
<div class="container">
<div class="main_title discourse">
<p> <img src="img/logo_discourse.png"/> Join our official <a href="https://speechbrain.discourse.group">Discourse</a> to discuss with SpeechBrain users coming from all around the world! <img src="img/logo_discourse.png"/></p>
</div>
<div class="row">
<div class="col-md-9">
<div class="blog_left_sidebar">
<article class="row blog_item">
<div class="col-md-3">
<div class="blog_info text-right">
<div class="post_tag">
<a class="active" href="#">SpeechBrain Advanced</a>
</div>
<ul class="blog_meta list">
<li><a href="about.html">Cornell S. & Parcollet T.<i class="lnr lnr-user"></i></a></li>
<li><a href="#">Mar. 2021<i class="lnr lnr-calendar-full"></i></a></li>
<li><a href="#">Difficulty: medium<i class="lnr lnr-cog"></i></a></li>
<li><a href="#">Time: 30min<i class="lnr lnr-hourglass"></i></a></li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="blog_post">
<div class="blog_details">
<h2>Pre-trained Models and Fine-Tuning with <img src="img/hf.ico" alt="drawing" width="40" style="box-shadow: 0px 0px 0px -0px rgb(255, 255, 255)"/></h2>
<p>Training DNN models is often very time-consuming and expensive.
For this reason, whenever it is possible, using off-the-shelf pretrained
models can be convenient in various scenarios.
We provide a simple and straightforward way to download and instantiate a
state-of-the-art pretrained-model from <img src="img/hf.ico" alt="drawing" width="20"/> HuggingFace <img src="img/hf.ico" alt="drawing" width="20"/> and use it either for direct inference or
or fine-tuning/knowledge distillation or whatever new fancy technique you can come up with!</p>
<a href="https://colab.research.google.com/drive/1LN7R3U3xneDgDRK2gC5MzGkLysCWxuC3?usp=sharing" class="blog_btn">Open in Google Colab</a>
</div>
</div>
</div>
</article>
<article class="row blog_item">
<div class="col-md-3">
<div class="blog_info text-right">
<div class="post_tag">
<a class="active" href="#">SpeechBrain Advanced</a>
</div>
<ul class="blog_meta list">
<li><a href="about.html">Heba A. & Parcollet T.<i class="lnr lnr-user"></i></a></li>
<li><a href="#">Feb. 2021<i class="lnr lnr-calendar-full"></i></a></li>
<li><a href="#">Difficulty: easy<i class="lnr lnr-cog"></i></a></li>
<li><a href="#">Time: 20min<i class="lnr lnr-hourglass"></i></a></li>
</ul>
</div>
</div>
<div class="col-md-9">
<div class="blog_post">
<div class="blog_details">
<h2>Text Tokenizer</h2>
<p>Machine Learning tasks that process text may contain thousands of vocabulary
words which leads to models dealing with huge embeddings as input/output
(e.g. for one-hot-vectors and ndim=vocabulary_size). This causes an important consumption of memory,
complexe computations, and more importantly, sub-optimal learning due to extremely sparse and cumbersome
one-hot vectors. In this tutorial, we provide all the basics needed to correctly use the SpeechBrain Tokenizer relying
on SentencePiece (BPE and unigram).</p>
<a href="https://colab.research.google.com/drive/12yE3myHSH-eUxzNM0-FLtEOhzdQoLYWe?usp=sharing" class="blog_btn">Open in Google Colab</a>
</div>
</div>
</div>
</article>
<nav class="blog-pagination justify-content-center d-flex">
<ul class="pagination">
<li class="page-item">
<a href="#" class="page-link" aria-label="Previous">
<span aria-hidden="true">
<span class="lnr lnr-chevron-left"></span>
</span>
</a>
</li>
<li class="page-item active"><a href="#" class="page-link">1</a></li>
<li class="page-item">
<a href="#" class="page-link" aria-label="Next">
<span aria-hidden="true">
<span class="lnr lnr-chevron-right"></span>
</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</section>
<!--================Blog Area =================-->
<!--================Footer Area =================-->
<footer class="footer_area p_120">
<div class="container">
<div class="row footer_inner">
<div class="col-lg-5 col-sm-6">
<aside class="f_widget ab_widget">
<div class="f_title">
<h3>About Us</h3>
</div>
<p style="text-align:justify">SpeechBrain isn't a company or an association.
It is an open-source toolkit and a community created by Dr. Mirco Ravanelli and co-created by Dr. Titouan Parcollet.
We aim at making speech technologies more accessible for the community. </p>
<p><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved</p>
</aside>
</div>
<div class="col-lg-5 col-sm-6">
<aside class="f_widget news_widget">
<div class="f_title">
<h3>Opportunities</h3>
</div>
<p>Thanks to our sponsors, we often recruit talented candidates to continue expanding the functionalities of SpeechBrain.
Feel free to contact us at: speechbrainproject@gmail.com</p>
</aside>
</div>
<div class="col-lg-2">
<aside class="f_widget social_widget">
<div class="f_title">
<h3>Follow Us</h3>
</div>
<p>Let us be social</p>
<ul class="list">
<li><a href="https://twitter.com/SpeechBrain1"><i class="fa fa-twitter"></i></a></li>
</ul>
</aside>
</div>
</div>
</div>
</footer>
<!--================End Footer Area =================-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/stellar.js"></script>
<script src="vendors/lightbox/simpleLightbox.min.js"></script>
<script src="vendors/nice-select/js/jquery.nice-select.min.js"></script>
<script src="vendors/isotope/imagesloaded.pkgd.min.js"></script>
<script src="vendors/isotope/isotope-min.js"></script>
<script src="vendors/owl-carousel/owl.carousel.min.js"></script>
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="js/mail-script.js"></script>
<script src="vendors/counter-up/jquery.waypoints.min.js"></script>
<script src="vendors/counter-up/jquery.counterup.min.js"></script>
<script src="js/theme.js"></script>
</body>
</html>