UlrickBL commited on
Commit
38cb18d
·
verified ·
1 Parent(s): 2464571

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -6
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Model Parameter Calculator</title>
7
  <style>
8
  body {
9
  font-family: Arial, sans-serif;
@@ -198,13 +198,13 @@
198
  <th>Total (input*output)</th>
199
  </tr>
200
  <tr>
201
- <td>Swish - W</td>
202
  <td>${hiddenSize.toLocaleString()}</td>
203
  <td>${intermediateSize.toLocaleString()}</td>
204
  <td>${switchW.toLocaleString()}</td>
205
  </tr>
206
  ${includeBias ? `<tr>
207
- <td>Swish - b</td>
208
  <td>-</td>
209
  <td>${intermediateSize.toLocaleString()}</td>
210
  <td>${switchB.toLocaleString()}</td>
@@ -270,7 +270,7 @@
270
  <body>
271
 
272
  <div class="console">
273
- <h3>Input Parameters</h3>
274
  <label for="hidden_size">Hidden size:</label><br>
275
  <input type="number" id="hidden_size" value="896"><br><br>
276
 
@@ -299,8 +299,8 @@
299
  </div>
300
 
301
  <div class="output" id="output">
302
- <h1>Model Parameter Calculator</h1>
303
- <h3>Enter model parameters in the console and press calculate</h3>
304
  </div>
305
 
306
  </body>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Transformers Total Parameters Calculator</title>
7
  <style>
8
  body {
9
  font-family: Arial, sans-serif;
 
198
  <th>Total (input*output)</th>
199
  </tr>
200
  <tr>
201
+ <td>Swish/Gelu - W</td>
202
  <td>${hiddenSize.toLocaleString()}</td>
203
  <td>${intermediateSize.toLocaleString()}</td>
204
  <td>${switchW.toLocaleString()}</td>
205
  </tr>
206
  ${includeBias ? `<tr>
207
+ <td>Swish/Gelu - b</td>
208
  <td>-</td>
209
  <td>${intermediateSize.toLocaleString()}</td>
210
  <td>${switchB.toLocaleString()}</td>
 
270
  <body>
271
 
272
  <div class="console">
273
+ <h3>Input Config</h3>
274
  <label for="hidden_size">Hidden size:</label><br>
275
  <input type="number" id="hidden_size" value="896"><br><br>
276
 
 
299
  </div>
300
 
301
  <div class="output" id="output">
302
+ <h1>Transformer total number of parameters Calculator</h1>
303
+ <h3>Enter model hyperparameters in the console and press calculate</h3>
304
  </div>
305
 
306
  </body>