File size: 2,965 Bytes
91534a8
 
 
 
 
 
 
 
 
 
0bc4936
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
task_categories:
- feature-extraction
tags:
- biology
- string
- text
- code
pretty_name: ACGT
---

# StringKilla - Small Datasets for String Algorithms Benchmarking

The goal of this dataset is to provide a fairly diverse set of strings to evalute the performance of various string-processing algorithms in [StringZilla](https://github.com/ashvardanian/stringzilla) and beyond.

## English Texts

### English Leipzig Corpora Collection

- 124 MB uncompressed
- 1'000'000 lines of ASCII
- 8'388'608 tokens of mean length 5

The dataset was originally pulled from Princeton's website:

```sh
wget --no-clobber -O leipzig1M.txt https://introcs.cs.princeton.edu/python/42sort/leipzig1m.txt
```

Pull it with:

```sh
huggingface-cli download ashvardanian/StringKilla leipzig1M.txt
```

### Hutter Prize Compression Dataset

- 1 GB uncompressed, 0.3 GB originally
- 13'147'025 lines of ASCII
- 67'108'864 tokens of mean length 6

The dataset was originally Matt Mahoney's page:

```sh
wget --no-clobber -O enwik9.zip http://mattmahoney.net/dc/enwik9.zip
unzip enwik9.zip && rm enwik9.zip && mv enwik9 enwik9.txt
```

Pull it with:

```sh
huggingface-cli download ashvardanian/StringKilla enwik9.txt
```

## Multilingual Texts

### UTF8 Decoder Stress Test

- 14 KB uncompressed
- 204 lines of UTF8

The dataset was originally pulled from an Martin Dürst's HTML adaptation of Markus Kuhn's UTF8 stress test:

```sh
wget --no-clobber -O utf8.txt https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html
```

Pull it with:

```sh
huggingface-cli download ashvardanian/StringKilla utf8.txt
```

### XLSum Extractive Summarization Benchmark

- 4.7 GB uncompressed, 1.7 GB originally
- 1'004'598 lines of UTF8
- 268'435'456 tokens of mean length 8

The dataset was originally aggregates from "Bangladesh University of Engineering and Technology" [GitHub repo](https://github.com/csebuetnlp/xl-sum):

```sh
wget --no-clobber -O xlsum.csv.gz https://github.com/ashvardanian/xl-sum/releases/download/v1.0.0/xlsum.csv.gz
gzip -d xlsum.csv.gz
```

Pull it with:

```sh
huggingface-cli download ashvardanian/StringKilla xlsum.csv
```

## Bioinformatics

### DNA Strings

| Filename      | String Length | Lines Count |
| :------------ | ------------: | ----------: |
| acgt_100.txt  |           100 |     100'000 |
| acgt_1k.txt   |         1'000 |     100'000 |
| acgt_10k.txt  |        10'000 |     100'000 |
| acgt_100k.txt |       100'000 |        1000 |
| acgt_1m.txt   |     1'000'000 |        1200 |
| acgt_10m.txt  |    10'000'000 |        1200 |

Pull them with:

```sh
huggingface-cli download ashvardanian/StringKilla acgt_100.txt
huggingface-cli download ashvardanian/StringKilla acgt_1k.txt
huggingface-cli download ashvardanian/StringKilla acgt_10k.txt
huggingface-cli download ashvardanian/StringKilla acgt_100k.txt
huggingface-cli download ashvardanian/StringKilla acgt_1m.txt
huggingface-cli download ashvardanian/StringKilla acgt_10m.txt
```