Datasets:
Modalities:
Text
Formats:
parquet
Languages:
multilingual
Size:
100M - 1B
Tags:
text-mining
License:
TheGreatRambler
commited on
Commit
•
1c3ddf3
1
Parent(s):
ef8ea43
Create README
Browse files
README.md
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- multilingual
|
4 |
+
license:
|
5 |
+
- cc-by-nc-sa-4.0
|
6 |
+
multilinguality:
|
7 |
+
- multilingual
|
8 |
+
size_categories:
|
9 |
+
- 100M<n<1B
|
10 |
+
source_datasets:
|
11 |
+
- original
|
12 |
+
task_categories:
|
13 |
+
- text-generation
|
14 |
+
- structure-prediction
|
15 |
+
- object-detection
|
16 |
+
- text-mining
|
17 |
+
- information-retrieval
|
18 |
+
- other
|
19 |
+
task_ids:
|
20 |
+
- other
|
21 |
+
pretty_name: Mario Maker 2 user likes
|
22 |
+
---
|
23 |
+
|
24 |
+
# Mario Maker 2 user likes
|
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 user likes dataset consists of 105.5 million user likes from Nintendo's online service totaling around 630MB 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 user likes 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:
|
32 |
+
|
33 |
+
```python
|
34 |
+
from datasets import load_dataset
|
35 |
+
|
36 |
+
ds = load_dataset("TheGreatRambler/mm2_user_liked", streaming=True, split="train")
|
37 |
+
print(next(iter(ds)))
|
38 |
+
|
39 |
+
#OUTPUT:
|
40 |
+
{
|
41 |
+
'pid': '14510618610706594411',
|
42 |
+
'data_id': 25861713
|
43 |
+
}
|
44 |
+
```
|
45 |
+
Each row is a unique like in the level denoted by the `data_id` done by the player denoted by the `pid`.
|
46 |
+
|
47 |
+
You can also download the full dataset. Note that this will download ~630MB:
|
48 |
+
```python
|
49 |
+
ds = load_dataset("TheGreatRambler/mm2_user_liked", split="train")
|
50 |
+
```
|
51 |
+
|
52 |
+
## Data Structure
|
53 |
+
|
54 |
+
### Data Instances
|
55 |
+
|
56 |
+
```python
|
57 |
+
{
|
58 |
+
'pid': '14510618610706594411',
|
59 |
+
'data_id': 25861713
|
60 |
+
}
|
61 |
+
```
|
62 |
+
|
63 |
+
### Data Fields
|
64 |
+
|
65 |
+
|Field|Type|Description|
|
66 |
+
|---|---|---|
|
67 |
+
|pid|string|The player ID of this user, an unsigned 64 bit integer as a string|
|
68 |
+
|data_id|int|The data ID of the level this user liked|
|
69 |
+
|
70 |
+
### Data Splits
|
71 |
+
|
72 |
+
The dataset only contains a train split.
|
73 |
+
|
74 |
+
<!-- TODO create detailed statistics -->
|
75 |
+
<!--
|
76 |
+
## Dataset Statistics
|
77 |
+
|
78 |
+
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:
|
79 |
+
|
80 |
+
![dataset-statistics](https://huggingface.co/datasets/codeparrot/github-code/resolve/main/github-code-stats-alpha.png)
|
81 |
+
|
82 |
+
| | Language |File Count| Size (GB)|
|
83 |
+
|---:|:-------------|---------:|-------:|
|
84 |
+
| 0 | Java | 19548190 | 107.70 |
|
85 |
+
| 1 | C | 14143113 | 183.83 |
|
86 |
+
| 2 | JavaScript | 11839883 | 87.82 |
|
87 |
+
| 3 | HTML | 11178557 | 118.12 |
|
88 |
+
| 4 | PHP | 11177610 | 61.41 |
|
89 |
+
| 5 | Markdown | 8464626 | 23.09 |
|
90 |
+
| 6 | C++ | 7380520 | 87.73 |
|
91 |
+
| 7 | Python | 7226626 | 52.03 |
|
92 |
+
| 8 | C# | 6811652 | 36.83 |
|
93 |
+
| 9 | Ruby | 4473331 | 10.95 |
|
94 |
+
| 10 | GO | 2265436 | 19.28 |
|
95 |
+
| 11 | TypeScript | 1940406 | 24.59 |
|
96 |
+
| 12 | CSS | 1734406 | 22.67 |
|
97 |
+
| 13 | Shell | 1385648 | 3.01 |
|
98 |
+
| 14 | Scala | 835755 | 3.87 |
|
99 |
+
| 15 | Makefile | 679430 | 2.92 |
|
100 |
+
| 16 | SQL | 656671 | 5.67 |
|
101 |
+
| 17 | Lua | 578554 | 2.81 |
|
102 |
+
| 18 | Perl | 497949 | 4.70 |
|
103 |
+
| 19 | Dockerfile | 366505 | 0.71 |
|
104 |
+
| 20 | Haskell | 340623 | 1.85 |
|
105 |
+
| 21 | Rust | 322431 | 2.68 |
|
106 |
+
| 22 | TeX | 251015 | 2.15 |
|
107 |
+
| 23 | Batchfile | 236945 | 0.70 |
|
108 |
+
| 24 | CMake | 175282 | 0.54 |
|
109 |
+
| 25 | Visual Basic | 155652 | 1.91 |
|
110 |
+
| 26 | FORTRAN | 142038 | 1.62 |
|
111 |
+
| 27 | PowerShell | 136846 | 0.69 |
|
112 |
+
| 28 | Assembly | 82905 | 0.78 |
|
113 |
+
| 29 | Julia | 58317 | 0.29 |
|
114 |
+
-->
|
115 |
+
|
116 |
+
## Dataset Creation
|
117 |
+
|
118 |
+
The dataset was created over a little more than a month in Febuary 2022 using the self hosted [Mario Maker 2 api](https://tgrcode.com/posts/mario_maker_2_api). As requests made to Nintendo's servers require authentication the process had to be done with upmost care and limiting download speed as to not overload the API and risk a ban. There are no intentions to create an updated release of this dataset.
|
119 |
+
|
120 |
+
## Considerations for Using the Data
|
121 |
+
|
122 |
+
The dataset contains no harmful language or depictions.
|