Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MNIST dataset adapted to a text-based representation.
|
2 |
+
|
3 |
+
*Modified images to be ~1/4 the original area.*
|
4 |
+
Done by taking a max pool.
|
5 |
+
|
6 |
+
This allows testing interpolation quality for Transformer-VAEs.
|
7 |
+
|
8 |
+
System is heavily inspired by Matthew Rayfield's work https://youtu.be/Z9K3cwSL6uM
|
9 |
+
|
10 |
+
Works by quantising each MNIST pixel into one of 64 characters.
|
11 |
+
Every sample has an up & down version to encourage the model to learn rotation invarient features.
|
12 |
+
|
13 |
+
Use `.array_to_text(` and `.text_to_array(` methods to test your generated data.
|
14 |
+
|
15 |
+
Data format:
|
16 |
+
- text: (16 x 14 tokens, 224 tokens total): Textual representation of MNIST digit, for example:
|
17 |
+
```
|
18 |
+
00 down ! ! ! ! ! ! ! ! ! ! ! ! ! !
|
19 |
+
01 down ! ! ! ! ! ! ! ! ! ! ! ! ! !
|
20 |
+
02 down ! ! ! ! ! ! % % C L a ^ ! !
|
21 |
+
03 down ! ! ! - ` ` ` ` ` Y ` Q ! !
|
22 |
+
04 down ! ! ! % ` ` ` R ^ ! ! ! ! !
|
23 |
+
05 down ! ! ! ! $ G ` ! ! ! ! ! ! !
|
24 |
+
06 down ! ! ! ! ! # ` Y < ! ! ! ! !
|
25 |
+
07 down ! ! ! ! ! ! 5 ` ` F ! ! ! !
|
26 |
+
08 down ! ! ! ! ! ! ! % ` ` 1 ! ! !
|
27 |
+
09 down ! ! ! ! ! ! F ` ` ` ! ! ! !
|
28 |
+
10 down ! ! ! ! 1 ` ` ` ` 4 ! ! ! !
|
29 |
+
11 down ! ! L ` ` ` ` 5 ! ! ! ! ! !
|
30 |
+
12 down ! ! ` ` V B ! ! ! ! ! ! ! !
|
31 |
+
13 down ! ! ! ! ! ! ! ! ! ! ! ! ! !
|
32 |
+
```
|
33 |
+
- label: Just a number with the texts matching label.
|