Datasets:
TheGreatRambler
commited on
Commit
·
cfe2085
1
Parent(s):
ec2d33b
Update README
Browse files- README.md +2 -42
- __init__.py +0 -1
README.md
CHANGED
@@ -25,7 +25,7 @@ pretty_name: Mario Maker 2 level comments
|
|
25 |
Part of the [Mario Maker 2 Dataset Collection](https://tgrcode.com/posts/mario_maker_2_datasets)
|
26 |
|
27 |
## Dataset Description
|
28 |
-
The Mario Maker 2 level comment dataset consists of 31.9 million level comments from Nintendo's online service totaling around
|
29 |
|
30 |
### How to use it
|
31 |
The Mario Maker 2 level comment dataset is a very large dataset so for most use cases it is recommended to make use of the streaming API of `datasets`. You can load and iterate through the dataset with the following code:
|
@@ -60,7 +60,7 @@ print(next(iter(ds)))
|
|
60 |
```
|
61 |
Comments can be one of three types: text, reaction image or custom image. `type` can be used with the enum below to identify different kinds of comments. Custom images are binary PNGs.
|
62 |
|
63 |
-
You can also download the full dataset. Note that this will download ~
|
64 |
```python
|
65 |
ds = load_dataset("TheGreatRambler/mm2_level_comments", split="train")
|
66 |
```
|
@@ -156,46 +156,6 @@ CommentReactionFace = {
|
|
156 |
```
|
157 |
|
158 |
<!-- TODO create detailed statistics -->
|
159 |
-
<!--
|
160 |
-
## Dataset Statistics
|
161 |
-
|
162 |
-
The dataset contains 115M files and the sum of all the source code file sizes is 873 GB (note that the size of the dataset is larger due to the extra fields). A breakdown per language is given in the plot and table below:
|
163 |
-
|
164 |
-

|
165 |
-
|
166 |
-
| | Language |File Count| Size (GB)|
|
167 |
-
|---:|:-------------|---------:|-------:|
|
168 |
-
| 0 | Java | 19548190 | 107.70 |
|
169 |
-
| 1 | C | 14143113 | 183.83 |
|
170 |
-
| 2 | JavaScript | 11839883 | 87.82 |
|
171 |
-
| 3 | HTML | 11178557 | 118.12 |
|
172 |
-
| 4 | PHP | 11177610 | 61.41 |
|
173 |
-
| 5 | Markdown | 8464626 | 23.09 |
|
174 |
-
| 6 | C++ | 7380520 | 87.73 |
|
175 |
-
| 7 | Python | 7226626 | 52.03 |
|
176 |
-
| 8 | C# | 6811652 | 36.83 |
|
177 |
-
| 9 | Ruby | 4473331 | 10.95 |
|
178 |
-
| 10 | GO | 2265436 | 19.28 |
|
179 |
-
| 11 | TypeScript | 1940406 | 24.59 |
|
180 |
-
| 12 | CSS | 1734406 | 22.67 |
|
181 |
-
| 13 | Shell | 1385648 | 3.01 |
|
182 |
-
| 14 | Scala | 835755 | 3.87 |
|
183 |
-
| 15 | Makefile | 679430 | 2.92 |
|
184 |
-
| 16 | SQL | 656671 | 5.67 |
|
185 |
-
| 17 | Lua | 578554 | 2.81 |
|
186 |
-
| 18 | Perl | 497949 | 4.70 |
|
187 |
-
| 19 | Dockerfile | 366505 | 0.71 |
|
188 |
-
| 20 | Haskell | 340623 | 1.85 |
|
189 |
-
| 21 | Rust | 322431 | 2.68 |
|
190 |
-
| 22 | TeX | 251015 | 2.15 |
|
191 |
-
| 23 | Batchfile | 236945 | 0.70 |
|
192 |
-
| 24 | CMake | 175282 | 0.54 |
|
193 |
-
| 25 | Visual Basic | 155652 | 1.91 |
|
194 |
-
| 26 | FORTRAN | 142038 | 1.62 |
|
195 |
-
| 27 | PowerShell | 136846 | 0.69 |
|
196 |
-
| 28 | Assembly | 82905 | 0.78 |
|
197 |
-
| 29 | Julia | 58317 | 0.29 |
|
198 |
-
-->
|
199 |
|
200 |
## Dataset Creation
|
201 |
|
|
|
25 |
Part of the [Mario Maker 2 Dataset Collection](https://tgrcode.com/posts/mario_maker_2_datasets)
|
26 |
|
27 |
## Dataset Description
|
28 |
+
The Mario Maker 2 level comment dataset consists of 31.9 million level comments from Nintendo's online service totaling around 20GB of data. The dataset was created using the self-hosted [Mario Maker 2 api](https://tgrcode.com/posts/mario_maker_2_api) over the course of 1 month in February 2022.
|
29 |
|
30 |
### How to use it
|
31 |
The Mario Maker 2 level comment dataset is a very large dataset so for most use cases it is recommended to make use of the streaming API of `datasets`. You can load and iterate through the dataset with the following code:
|
|
|
60 |
```
|
61 |
Comments can be one of three types: text, reaction image or custom image. `type` can be used with the enum below to identify different kinds of comments. Custom images are binary PNGs.
|
62 |
|
63 |
+
You can also download the full dataset. Note that this will download ~20GB:
|
64 |
```python
|
65 |
ds = load_dataset("TheGreatRambler/mm2_level_comments", split="train")
|
66 |
```
|
|
|
156 |
```
|
157 |
|
158 |
<!-- TODO create detailed statistics -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
## Dataset Creation
|
161 |
|
__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
# To allow relative imports in Python
|
|
|
|