Datasets:
blake2b stringlengths 128 128 | mime_type stringclasses 125 values | source_path stringlengths 21 235 | source_root stringclasses 2 values | extension stringlengths 0 32 | source_size_bytes int64 0 6.39B | sample_bytes int32 0 65.5k | tokens listlengths 0 131k |
|---|---|---|---|---|---|---|---|
3983b4fc77ba536aa547d73cabc8fca67eaa300e390a8df308e82a42dd0b83392374c8a82ca26eb32bedd606c4b74e6a78e2202e5366861981627f4dbfcec600 | image/x-portable-bitmap | corpora/images/rcont.pbm | corpora | pbm | 81 | 81 | [
14640,
21287,
4063,
21070,
198,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
28183,
2818... |
7a41ccc0d3d89f0a5ebeb1630f4c3b7183e4afa6b494dde8a6bc6c6b51e53b4f36b582412faa8e94c91bf0b458dd20a46ebafa2db84b1154f0cf68f3d5234ec0 | image/png | packages/targeted/gimp-data/usr/share/gimp/2.0/icons/Legacy/22x22/tools/gimp-tool-eraser.png | packages | png | 741 | 741 | [
201,
19030,
5141,
327,
33,
1364,
21116,
4371,
7208,
1974,
13506,
1083,
202,
139,
201,
187,
115,
66,
742,
201,
179,
1037,
622,
127,
202,
161,
202,
163,
202,
16912,
115,
52,
128,
25428,
140,
202,
184,
202,
180,
201,
180,
202,
162,
2... |
c0c6c916175035d8f1ae06aabd88df58339df18642bbd8da468486c58967a33a5bb09e825325283fc9f589e719fb45c3fc583179fddaa1bc370ccde1ac541405 | text/x-ruby | corpora/source-code/ruby/ruby/ext/-test-/public_header_warnings/extconf.rb | corpora | rb | 959 | 959 | [
42,
830,
313,
16488,
2411,
423,
648,
854,
762,
6815,
5246,
4193,
1690,
84,
32504,
53,
4632,
16245,
662,
362,
5522,
122,
14001,
27504,
1629,
753,
3091,
1963,
1634,
830,
313,
1124,
5411,
663,
995,
7492,
2854,
2189,
32340,
6439,
18921,
1... |
665e6285e389aaa950cebe1234083547fa084e8e44a04e4c8f887e6a51dd0054b204f9ab64c4f17fca75385b6f82be8a86db773e7a84af90210bb6697f0a1258 | image/png | packages/ubuntu/noble/universe/all/balsa-data/2.6.4-2build5/files/usr/share/balsa/hicolor/16x16/apps/balsa-mbox-tray-empty.png | packages | png | 405 | 405 | [
201,
19030,
5141,
327,
33,
1364,
21116,
4371,
7208,
1136,
4205,
1128,
29521,
22,
9050,
201,
184,
3776,
91,
6546,
844,
24105,
201,
3847,
147,
202,
147,
202,
147,
202,
182,
202,
182,
202,
182,
28183,
28183,
28183,
1306,
1781,
3621,
1611... |
38a674179b5197f080fcbc0ffebaa55f6c969a5aa28b8fe061525b6a804d2964729336f207a03879e6ba96217017efc6dc2b250d1f188fe58531b1e9a6fbee1b | biosig/atf | corpora/govdocs1/022/files/022/022584.html | corpora | html | 132,217 | 65,536 | [
622,
77,
1603,
3405,
3669,
1274,
1567,
24268,
4447,
87,
1354,
27842,
5007,
1036,
31236,
1274,
15347,
17187,
68,
428,
4235,
15347,
1567,
68,
1357,
1274,
15347,
9806,
1720,
10328,
3399,
16567,
3399,
55,
1967,
16,
2641,
1967,
16,
2641,
423... |
02ce81e4a869800fb2e7c49757e7a292a2c86aeb65a8d9ecda8cb8930b43dc40b467454a31945f8b85c1cd9745faa3d507066671b201b68474970675b3d7c771 | text/x-c++ | corpora/react/compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.invalid-unclosed-eslint-suppression.js | corpora | js | 681 | 681 | [
426,
621,
17037,
665,
1532,
128,
9054,
10731,
1161,
632,
356,
114,
11605,
128,
808,
5214,
560,
1571,
22002,
987,
962,
84,
31894,
3879,
26869,
663,
7740,
65,
4305,
11218,
39,
347,
24149,
52,
4239,
694,
485,
946,
6678,
3189,
832,
121,
... |
9bdf79b3dfa2be255fd4e9c9bfdf41d7923b350c88c53ce319d3a2cae7b338f0031b8354eda60aca1229076be920c548d5927bb7798a00b75cc3a945c06a6292 | image/x-xpixmap | corpora/images/forward.xpm | corpora | xpm | 1,712 | 1,712 | [
3623,
1750,
4818,
1883,
17,
5289,
23538,
20765,
1138,
1069,
19845,
6079,
5407,
2573,
4933,
16248,
1274,
541,
4063,
18694,
345,
3052,
2229,
106,
8153,
3052,
53,
6585,
792,
3052,
50,
6585,
8185,
16569,
3052,
71,
6585,
5482,
3052,
42,
6585... |
"68465b111debbb354fce9252aa0dc0fa1418d4bae1134ef03b6bab95fd690b279842903299a90661b6612c6bd6bcfea4010(...TRUNCATED) | application/x-7z-compressed | corpora/napierone/7ZIP/7ZIP-HIGH-COMPRESSION-small/files/0391-7z-highcompress.7z | corpora | 7z | 5,548,928 | 65,536 | [16253,201,6534,182,46,28790,1847,201,15891,16147,178,91,364,44,404,133,202,156,23140,156,202,167,20(...TRUNCATED) |
"bf8e37fa93c09600dd690902e9183136841a01fb39fed1b2eaa6f7cfff07682da90e946a2475072a4978898ed3ab04e8bfd(...TRUNCATED) | application/x-object | corpora/tracker-music/efi_gop.mod | corpora | mod | 12,656 | 12,656 | [134,32146,433,30110,21475,916,344,1473,6221,476,587,538,202,186,22,37,202,193,202,22668,488,201,302(...TRUNCATED) |
"b3ba29da049fafb004c5b3540428d38e2d5abee03ec9f3ef1b6579d0d4c70c79dc023de50062a6e6fcdee2cc39cbc1473d9(...TRUNCATED) | image/gif | corpora/govdocs1/253/files/253/253067.gif | corpora | gif | 5,015 | 5,015 | [78,2335,951,104,201,2520,1984,202,173,314,88,202,166,202,175,202,173,201,158,201,171,201,174,201,18(...TRUNCATED) |
End of preview. Expand
in Data Studio
Magic-BERT Binary File Classification Dataset
This dataset contains tokenized binary file samples for training MIME type classification models. Each sample is a 64KB chunk from the beginning of a file, tokenized using a byte-level BPE tokenizer.
Splits
| Split | Samples |
|---|---|
| Train | 37,111 |
| Validation | 4,591 |
| Test | 4,748 |
Features
Each sample contains:
| Feature | Type | Description |
|---|---|---|
blake2b |
string | Content hash (unique sample ID) |
mime_type |
string | MIME type label |
source_path |
string | Original file path |
source_root |
string | Dataset source |
extension |
string | File extension |
source_size_bytes |
int64 | Original file size |
sample_bytes |
int32 | Sample size (max 64KB) |
tokens |
List[int32] | Tokenized input (999999 tokens) |
MIME Type Distribution (Top 20)
| MIME Type | Count | Percentage |
|---|---|---|
| application/octet-stream | 2,000 | 4.3% |
| application/vnd.ms-powerpoint | 2,000 | 4.3% |
| audio/flac | 2,000 | 4.3% |
| text/x-c | 2,000 | 4.3% |
| text/plain | 1,999 | 4.3% |
| image/png | 1,964 | 4.2% |
| application/gzip | 1,574 | 3.4% |
| image/svg+xml | 1,486 | 3.2% |
| text/html | 1,454 | 3.1% |
| application/vnd.ms-excel | 1,380 | 3.0% |
| application/javascript | 1,340 | 2.9% |
| application/x-7z-compressed | 1,200 | 2.6% |
| image/gif | 1,156 | 2.5% |
| text/csv | 1,128 | 2.4% |
| image/webp | 1,014 | 2.2% |
| application/zlib | 987 | 2.1% |
| text/x-lisp | 980 | 2.1% |
| application/x-gettext-translation | 965 | 2.1% |
| text/x-c++ | 800 | 1.7% |
| application/zstd | 781 | 1.7% |
- Downloads last month
- 42