BramVanroy commited on
Commit
490daab
1 Parent(s): d6098e9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +254 -0
README.md CHANGED
@@ -278,3 +278,257 @@ configs:
278
  - split: test
279
  path: 5B/test-*
280
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  - split: test
279
  path: 5B/test-*
280
  ---
281
+
282
+
283
+ ## Filtering
284
+
285
+ The baseline ratios (punctuation, uppercase, digits) were calculated on the SONAR-500 corpus (excluding WRPEA WRPED WRUEA WRUED WRUEB).
286
+
287
+ **CulturaX**:
288
+ - removed documents that contain the text "rechten voorbehouden" or "rights reserved"
289
+ - remove document's whose URL contained "wikipedia.org" (because we include a cleaned version of Wikipedia ourselves)
290
+ - removed documents that contain a "bad word" (see the section below)
291
+ - removed documents that contain any non-latin characters. The idea is that "knowledge"-based information (e.g. original writing of a name) are allowed
292
+ when the data comes from Wikipedia, but not from any other webcrawl, to avoid unsollicited noise.
293
+
294
+ **CulturaX + Wikipedia**:
295
+ - removed documents where ratio of punctuation marks vs. non-whitespace characters is higher than 0.2
296
+ - removed documents where ratio of uppercase vs. non-whitespace characters is higher than 0.22
297
+ - removed documents where ratio of digits vs. non-whitespace characters is higher than 0.16
298
+ - removed documents where the average token length is < 2 or > 20
299
+
300
+ ## Bad words
301
+
302
+ ```python
303
+ BAD_PHRASES_DOC_LEVEL = {
304
+ # https://en.wikipedia.org/wiki/Dutch_profanity
305
+ "achterlijk",
306
+ "debiel",
307
+ "downie",
308
+ "idioot",
309
+ "kankerlijer",
310
+ "klere",
311
+ "kolere",
312
+ "minkukel",
313
+ "pestkop",
314
+ "pleuris",
315
+ "pleuritis",
316
+ "teringlijer",
317
+ "tyfuslijer",
318
+ "gadver",
319
+ "getver",
320
+ "godver",
321
+ "godskolere",
322
+ "godverork",
323
+ "graftak",
324
+ "kopvod",
325
+ "verdomme",
326
+ "anaalgeneraal",
327
+ "bitch",
328
+ "dikzak",
329
+ "flikker",
330
+ "fok",
331
+ "fuck",
332
+ "hoer",
333
+ "klootzak",
334
+ "klote",
335
+ "kreng",
336
+ "kringspiermusketier",
337
+ "kut",
338
+ "lamzak",
339
+ "lul",
340
+ "manwijf",
341
+ "matennaai",
342
+ "neuken",
343
+ "neuker",
344
+ "ouwehoer",
345
+ "reet",
346
+ "reetkever",
347
+ "reetridder",
348
+ "rotzak",
349
+ "schijt",
350
+ "shit",
351
+ "slet",
352
+ "slijmbal",
353
+ "slons",
354
+ "sodemieter",
355
+ "stoephoer",
356
+ "swaffel",
357
+ "teef",
358
+ "trut",
359
+ "tut",
360
+ "zak",
361
+ "uilskuiken",
362
+ "zeik",
363
+ "bamivreter",
364
+ "bosneger",
365
+ "neger",
366
+ "fransoos",
367
+ "geitenneuker",
368
+ "kaaskop",
369
+ "kakker",
370
+ "koelie",
371
+ "lijp",
372
+ "medelander",
373
+ "mocro",
374
+ "mof",
375
+ "nikker",
376
+ "poepchinees",
377
+ "roetmop",
378
+ "spaghettivreter",
379
+ "loempiavouwer",
380
+ "spanjool",
381
+ "spleetoog",
382
+ "tatta",
383
+ "tokkie",
384
+ "zandneger",
385
+ "zwartzak",
386
+ "halvezool",
387
+ "kenau",
388
+ "klootviool",
389
+ "knuppel",
390
+ "koekert",
391
+ "koekwaus",
392
+ "oelewapper",
393
+ "smeerlap",
394
+ "sukkel",
395
+ "sul",
396
+ "wappie",
397
+ "wijf",
398
+ "zooi",
399
+ # xxx (a.o. https://gitlab.com/yhavinga/c4nlpreproc/-/blob/master/clean/badwords_ennl.py?ref_type=heads)
400
+ "xxx",
401
+ "anal",
402
+ "blowjob",
403
+ "buttplug",
404
+ "cock",
405
+ "cunt",
406
+ "geil",
407
+ "sex", # Standaardnederlands = seks, maybe we catch some porn or socialmedia sites with this misspelling
408
+ "porn",
409
+ # extra
410
+ "nigger",
411
+ "nigga",
412
+ "hoerig",
413
+ "klojo",
414
+ }
415
+ ```
416
+
417
+ ## Config details
418
+
419
+ `10k`
420
+ - ratio_wikipedia: 100.00%
421
+ - total_num_tokens: 10,078
422
+ - train_num_tokens: 9,957
423
+ - test_num_tokens: 121
424
+ - total_num_samples: 38
425
+ - train_num_samples: 37
426
+ - test_num_samples: 1
427
+
428
+ `100k`
429
+ - ratio_wikipedia: 100.00%
430
+ - total_num_tokens: 100,099
431
+ - train_num_tokens: 99,537
432
+ - test_num_tokens: 562
433
+ - total_num_samples: 303
434
+ - train_num_samples: 300
435
+ - test_num_samples: 3
436
+
437
+ `1M`
438
+ - ratio_wikipedia: 100.00%
439
+ - total_num_tokens: 1,000,104
440
+ - train_num_tokens: 987,432
441
+ - test_num_tokens: 12,672
442
+ - total_num_samples: 2,722
443
+ - train_num_samples: 2,695
444
+ - test_num_samples: 27
445
+
446
+ `10M`
447
+ - ratio_wikipedia: 100.00%
448
+ - total_num_tokens: 10,000,692
449
+ - train_num_tokens: 9,905,387
450
+ - test_num_tokens: 95,305
451
+ - total_num_samples: 25,641
452
+ - train_num_samples: 25,385
453
+ - test_num_samples: 256
454
+
455
+ `100M`
456
+ - ratio_wikipedia: 100.00%
457
+ - total_num_tokens: 100,000,049
458
+ - train_num_tokens: 99,022,731
459
+ - test_num_tokens: 977,318
460
+ - total_num_samples: 237,578
461
+ - train_num_samples: 235,203
462
+ - test_num_samples: 2,375
463
+
464
+ `1B`
465
+ - ratio_wikipedia: 82.38%
466
+ - total_num_tokens: 1,000,000,003
467
+ - train_num_tokens: 990,064,856
468
+ - test_num_tokens: 9,935,147
469
+ - total_num_samples: 2,869,233
470
+ - train_num_samples: 2,840,541
471
+ - test_num_samples: 28,692
472
+
473
+ `5B`
474
+ - ratio_wikipedia: 35.62%
475
+ - total_num_tokens: 5,000,000,224
476
+ - train_num_tokens: 4,974,586,006
477
+ - test_num_tokens: 25,414,218
478
+ - total_num_samples: 12,603,939
479
+ - train_num_samples: 12,539,939
480
+ - test_num_samples: 64,000
481
+
482
+ `10B`
483
+ - ratio_wikipedia: 26.86%
484
+ - total_num_tokens: 10,000,000,658
485
+ - train_num_tokens: 9,973,803,589
486
+ - test_num_tokens: 26,197,069
487
+ - total_num_samples: 24,628,921
488
+ - train_num_samples: 24,564,921
489
+ - test_num_samples: 64,000
490
+
491
+ `15B`
492
+ - ratio_wikipedia: 23.85%
493
+ - total_num_tokens: 15,000,001,092
494
+ - train_num_tokens: 14,973,654,717
495
+ - test_num_tokens: 26,346,375
496
+ - total_num_samples: 36,653,903
497
+ - train_num_samples: 36,589,903
498
+ - test_num_samples: 64,000
499
+
500
+ `20B`
501
+ - ratio_wikipedia: 22.32%
502
+ - total_num_tokens: 20,000,000,303
503
+ - train_num_tokens: 19,973,764,973
504
+ - test_num_tokens: 26,235,330
505
+ - total_num_samples: 48,678,883
506
+ - train_num_samples: 48,614,883
507
+ - test_num_samples: 64,000
508
+
509
+ `25B`
510
+ - ratio_wikipedia: 21.40%
511
+ - total_num_tokens: 25,000,000,737
512
+ - train_num_tokens: 24,973,747,815
513
+ - test_num_tokens: 26,252,922
514
+ - total_num_samples: 60,703,865
515
+ - train_num_samples: 60,639,865
516
+ - test_num_samples: 64,000
517
+
518
+ `30B`
519
+ - ratio_wikipedia: 20.79%
520
+ - total_num_tokens: 30,000,000,034
521
+ - train_num_tokens: 29,973,830,841
522
+ - test_num_tokens: 26,169,193
523
+ - total_num_samples: 72,728,846
524
+ - train_num_samples: 72,664,846
525
+ - test_num_samples: 64,000
526
+
527
+ `35B`
528
+ - ratio_wikipedia: 20.35%
529
+ - total_num_tokens: 35,000,000,468
530
+ - train_num_tokens: 34,973,480,399
531
+ - test_num_tokens: 26,520,069
532
+ - total_num_samples: 84,753,828
533
+ - train_num_samples: 84,689,828
534
+ - test_num_samples: 64,000