Daniel Fried commited on
Commit
b22e4bc
1 Parent(s): 95a97ed

add links and fix typo

Browse files
Files changed (1) hide show
  1. static/index.html +8 -5
static/index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="utf-8"/>
5
  <meta name="viewport" contents="width=device-width, initial-scale=1.0" />
6
- <title>InCoder</title>
7
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
8
  <script src="https://cdn.jsdelivr.net/npm/js-base64@3.7.2/base64.min.js"></script>
9
 
@@ -126,7 +126,8 @@ label {
126
  <body>
127
  <main>
128
  <div class="card" id="about">
129
- <div class="header"> <h1>StarCoder Playground</h1> </div>
 
130
  <p>Select one of the examples below, or input your own code into the editor. You can type &lt;infill&gt; to mark a location you want the model to insert code at.</p>
131
  <p>Click "Extend" to append text at the end of the editor. Click "Infill" to replace all &lt;infill&gt; masks. (Click "Add &lt;infill&gt; mask" to add a mask at the cursor or replace the current selection.) </p>
132
  </div>
@@ -143,8 +144,8 @@ label {
143
  <span class="softspan">Infill Examples:</span>
144
  <br>
145
  <span class="softspan"><a href='javascript:select_example("type-pred");'>Type Prediction</a></span>
146
- <span class="softspan"><a href='javascript:select_example("docstring-1");'>Docstring 1</a></span>
147
- <span class="softspan"><a href='javascript:select_example("docstring-2");'>Docstring 1</a></span>
148
  </div>
149
  </div>
150
  <div class="card" id="controls">
@@ -209,7 +210,9 @@ label {
209
  </div>
210
  </div>
211
  <div id="info" class="card">
212
- <h1 id="debug-info">More Info</h3>
 
 
213
  </div>
214
  </main>
215
  <script type="text/javascript">
 
3
  <head>
4
  <meta charset="utf-8"/>
5
  <meta name="viewport" contents="width=device-width, initial-scale=1.0" />
6
+ <title>StarCoder Editor</title>
7
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
8
  <script src="https://cdn.jsdelivr.net/npm/js-base64@3.7.2/base64.min.js"></script>
9
 
 
126
  <body>
127
  <main>
128
  <div class="card" id="about">
129
+ <div class="header"> <h1>StarCoder Editor</h1> </div>
130
+ <p>This is a demo to interactively generate code with <a href=https://huggingface.co/bigcode/starcoder>StarCoder</a>, a 15B parameter model for code generation in 86 programming languages.</p>
131
  <p>Select one of the examples below, or input your own code into the editor. You can type &lt;infill&gt; to mark a location you want the model to insert code at.</p>
132
  <p>Click "Extend" to append text at the end of the editor. Click "Infill" to replace all &lt;infill&gt; masks. (Click "Add &lt;infill&gt; mask" to add a mask at the cursor or replace the current selection.) </p>
133
  </div>
 
144
  <span class="softspan">Infill Examples:</span>
145
  <br>
146
  <span class="softspan"><a href='javascript:select_example("type-pred");'>Type Prediction</a></span>
147
+ <span class="softspan"><a href='javascript:select_example("docstring-1");'>Docstring Generation 1</a></span>
148
+ <span class="softspan"><a href='javascript:select_example("docstring-2");'>Docstring Generation 2</a></span>
149
  </div>
150
  </div>
151
  <div class="card" id="controls">
 
210
  </div>
211
  </div>
212
  <div id="info" class="card">
213
+ <h1 id="debug-info">More Info</h1>
214
+ <p>See our <a href="https://huggingface.co/bigcode">organization card</a> for links to the technical report, models, VSCode extension, training dataset, and more.</p>
215
+ <p>Credits: BigCode team. This demo is based upon the <a href="https://huggingface.co/spaces/facebook/incoder-demo">InCoder demo<a> by Facebook AI Research.</p>
216
  </div>
217
  </main>
218
  <script type="text/javascript">