add some links

#1
by davanstrien HF staff - opened
Files changed (1) hide show
  1. index.html +42 -6
index.html CHANGED
@@ -164,7 +164,41 @@
164
  <body>
165
  <div class="container">
166
  <header class="header">
167
- <h1>πŸ† FineWeb 2 Sprint Leaderboard</h1>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  </header>
169
 
170
  <div class="summary" id="total-annotations">
@@ -206,7 +240,7 @@
206
  let offset = 0;
207
  const limit = 100; // API default limit
208
  let hasMore = true;
209
-
210
  document.getElementById("total-annotations").innerHTML = `
211
  <div class="loading"></div>
212
  <p>Processing rows...</p>
@@ -222,9 +256,9 @@
222
  }
223
 
224
  const data = await response.json();
225
-
226
  // Process this batch of rows
227
- data.rows.forEach(row => {
228
  const submissions = parseInt(row.row.submitted) || 0;
229
  stats.total += submissions;
230
  if (submissions > 0) {
@@ -248,14 +282,16 @@
248
  } else {
249
  offset += limit;
250
  // Add a small delay to avoid overwhelming the API
251
- await new Promise(resolve => setTimeout(resolve, 100));
252
  }
253
  }
254
 
255
  // Final update
256
  document.getElementById("total-annotations").innerHTML = `
257
  <p>Total annotations submitted: <strong>${stats.total.toLocaleString()}</strong></p>
258
- <p>Languages with annotations: <strong>${stats.languages.size}</strong></p>
 
 
259
  <p>Total contributors: <strong>${stats.users.size}</strong></p>
260
  `;
261
  } catch (error) {
 
164
  <body>
165
  <div class="container">
166
  <header class="header">
167
+ <h1>πŸ† FineWeb2-C Leaderboard</h1>
168
+ <p>
169
+ <em
170
+ >Helping build better language models by rating educational quality
171
+ of texts across different languages!</em
172
+ >
173
+ </p>
174
+
175
+ <p>
176
+ Contribute to the dataset:
177
+ <a
178
+ href="https://huggingface.co/spaces/data-is-better-together/fineweb-c"
179
+ target="_blank"
180
+ >
181
+ here
182
+ </a>
183
+ </p>
184
+ <p>
185
+ Check out the current version of the dataset:
186
+ <a
187
+ href="https://huggingface.co/datasets/data-is-better-together/fineweb-c"
188
+ target="_blank"
189
+ >
190
+ here
191
+ </a>
192
+ </p>
193
+ <p>
194
+ See this
195
+ <a
196
+ href="https://huggingface.co/blog/davanstrien/fineweb2-community"
197
+ target="_blank"
198
+ >blog post</a
199
+ >
200
+ for more information.
201
+ </p>
202
  </header>
203
 
204
  <div class="summary" id="total-annotations">
 
240
  let offset = 0;
241
  const limit = 100; // API default limit
242
  let hasMore = true;
243
+
244
  document.getElementById("total-annotations").innerHTML = `
245
  <div class="loading"></div>
246
  <p>Processing rows...</p>
 
256
  }
257
 
258
  const data = await response.json();
259
+
260
  // Process this batch of rows
261
+ data.rows.forEach((row) => {
262
  const submissions = parseInt(row.row.submitted) || 0;
263
  stats.total += submissions;
264
  if (submissions > 0) {
 
282
  } else {
283
  offset += limit;
284
  // Add a small delay to avoid overwhelming the API
285
+ await new Promise((resolve) => setTimeout(resolve, 100));
286
  }
287
  }
288
 
289
  // Final update
290
  document.getElementById("total-annotations").innerHTML = `
291
  <p>Total annotations submitted: <strong>${stats.total.toLocaleString()}</strong></p>
292
+ <p>Languages with annotations: <strong>${
293
+ stats.languages.size
294
+ }</strong></p>
295
  <p>Total contributors: <strong>${stats.users.size}</strong></p>
296
  `;
297
  } catch (error) {