TheGreatRambler commited on
Commit
f5acc6e
1 Parent(s): c148b74

Create README

Browse files
Files changed (2) hide show
  1. README.md +512 -0
  2. example.py +9 -0
README.md ADDED
@@ -0,0 +1,512 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 users
22
+ ---
23
+
24
+ # Mario Maker 2 users
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 users dataset consists of 6 million users from Nintendo's online service totaling around 1.2GB 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 users 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", streaming=True, split="train")
37
+ print(next(iter(ds)))
38
+
39
+ #OUTPUT:
40
+ {
41
+ 'pid': '14608829447232141607',
42
+ 'data_id': 1,
43
+ 'region': 0,
44
+ 'name': 'げんまい',
45
+ 'country': 'JP',
46
+ 'last_active': 1578384457,
47
+ 'mii_data': [some binary data],
48
+ 'mii_image': '000f165d6574777a7881949e9da1acc1cac7cacad3dad9e0eff2f9faf900430a151c25384258637084878e8b96a0b0',
49
+ 'pose': 0,
50
+ 'hat': 0,
51
+ 'shirt': 0,
52
+ 'pants': 0,
53
+ 'wearing_outfit': 0,
54
+ 'courses_played': 12,
55
+ 'courses_cleared': 10,
56
+ 'courses_attempted': 23,
57
+ 'courses_deaths': 13,
58
+ 'likes': 0,
59
+ 'maker_points': 0,
60
+ 'easy_highscore': 0,
61
+ 'normal_highscore': 0,
62
+ 'expert_highscore': 0,
63
+ 'super_expert_highscore': 0,
64
+ 'versus_rating': 0,
65
+ 'versus_rank': 1,
66
+ 'versus_won': 0,
67
+ 'versus_lost': 1,
68
+ 'versus_win_streak': 0,
69
+ 'versus_lose_streak': 1,
70
+ 'versus_plays': 1,
71
+ 'versus_disconnected': 0,
72
+ 'coop_clears': 1,
73
+ 'coop_plays': 1,
74
+ 'recent_performance': 1383,
75
+ 'versus_kills': 0,
76
+ 'versus_killed_by_others': 0,
77
+ 'multiplayer_unk13': 286,
78
+ 'multiplayer_unk14': 5999927,
79
+ 'first_clears': 0,
80
+ 'world_records': 0,
81
+ 'unique_super_world_clears': 0,
82
+ 'uploaded_levels': 0,
83
+ 'maximum_uploaded_levels': 100,
84
+ 'weekly_maker_points': 0,
85
+ 'last_uploaded_level': 1561555201,
86
+ 'is_nintendo_employee': 0,
87
+ 'comments_enabled': 1,
88
+ 'tags_enabled': 0,
89
+ 'super_world_id': '',
90
+ 'unk3': 0,
91
+ 'unk12': 0,
92
+ 'unk16': 0
93
+ }
94
+ ```
95
+ Each row is a unique play in the level denoted by the `data_id` done by the player denoted by the `pid`, `pid` is a 64 bit integer stored within a string from database limitations. `cleared` and `liked` denote if the player successfully cleared the level during their play and/or liked the level during their play. Every level has only one unique play per player.
96
+
97
+ Each row is a unique user associated denoted by the `pid`. `data_id` is not used by Nintendo but, like levels, it counts up sequentially and can be used to determine account age. `mii_data` is a `charinfo` type Switch Mii. `mii_image` can be used with Nintendo's online studio API to generate images:
98
+
99
+ ```python
100
+ from datasets import load_dataset
101
+
102
+ ds = load_dataset("TheGreatRambler/mm2_user", streaming=True, split="train")
103
+
104
+ mii_image = next(iter(ds))["mii_image"]
105
+ print("Face: https://studio.mii.nintendo.com/miis/image.png?data=%s&type=face&width=512&instanceCount=1" % mii_image)
106
+ print("Body: https://studio.mii.nintendo.com/miis/image.png?data=%s&type=all_body&width=512&instanceCount=1" % mii_image)
107
+ print("Face (x16): https://studio.mii.nintendo.com/miis/image.png?data=%s&type=face&width=512&instanceCount=16" % mii_image)
108
+ print("Body (x16): https://studio.mii.nintendo.com/miis/image.png?data=%s&type=all_body&width=512&instanceCount=16" % mii_image)
109
+ ```
110
+
111
+ `pose`, `hat`, `shirt` and `pants` has associated enums described below. `last_active` and `last_uploaded_level` are UTC timestamps. `super_world_id`, if not empty, provides the ID of a super world in `TheGreatRambler/mm2_world`.
112
+
113
+ You can also download the full dataset. Note that this will download ~1.2GB:
114
+ ```python
115
+ ds = load_dataset("TheGreatRambler/mm2_user", split="train")
116
+ ```
117
+
118
+ ## Data Structure
119
+
120
+ ### Data Instances
121
+
122
+ ```python
123
+ {
124
+ 'pid': '14608829447232141607',
125
+ 'data_id': 1,
126
+ 'region': 0,
127
+ 'name': 'げんまい',
128
+ 'country': 'JP',
129
+ 'last_active': 1578384457,
130
+ 'mii_data': [some binary data],
131
+ 'mii_image': '000f165d6574777a7881949e9da1acc1cac7cacad3dad9e0eff2f9faf900430a151c25384258637084878e8b96a0b0',
132
+ 'pose': 0,
133
+ 'hat': 0,
134
+ 'shirt': 0,
135
+ 'pants': 0,
136
+ 'wearing_outfit': 0,
137
+ 'courses_played': 12,
138
+ 'courses_cleared': 10,
139
+ 'courses_attempted': 23,
140
+ 'courses_deaths': 13,
141
+ 'likes': 0,
142
+ 'maker_points': 0,
143
+ 'easy_highscore': 0,
144
+ 'normal_highscore': 0,
145
+ 'expert_highscore': 0,
146
+ 'super_expert_highscore': 0,
147
+ 'versus_rating': 0,
148
+ 'versus_rank': 1,
149
+ 'versus_won': 0,
150
+ 'versus_lost': 1,
151
+ 'versus_win_streak': 0,
152
+ 'versus_lose_streak': 1,
153
+ 'versus_plays': 1,
154
+ 'versus_disconnected': 0,
155
+ 'coop_clears': 1,
156
+ 'coop_plays': 1,
157
+ 'recent_performance': 1383,
158
+ 'versus_kills': 0,
159
+ 'versus_killed_by_others': 0,
160
+ 'multiplayer_unk13': 286,
161
+ 'multiplayer_unk14': 5999927,
162
+ 'first_clears': 0,
163
+ 'world_records': 0,
164
+ 'unique_super_world_clears': 0,
165
+ 'uploaded_levels': 0,
166
+ 'maximum_uploaded_levels': 100,
167
+ 'weekly_maker_points': 0,
168
+ 'last_uploaded_level': 1561555201,
169
+ 'is_nintendo_employee': 0,
170
+ 'comments_enabled': 1,
171
+ 'tags_enabled': 0,
172
+ 'super_world_id': '',
173
+ 'unk3': 0,
174
+ 'unk12': 0,
175
+ 'unk16': 0
176
+ }
177
+ ```
178
+
179
+ ### Data Fields
180
+
181
+ |Field|Type|Description|
182
+ |---|---|---|
183
+ |pid|string|The player ID of this user, an unsigned 64 bit integer as a string|
184
+ |data_id|int|The data ID of this user, while not used internally user codes are generated using this|
185
+ |region|int|User region, enum below|
186
+ |name|string|User name|
187
+ |country|string|User country as a 2 letter ALPHA-2 code|
188
+ |last_active|int|UTC timestamp of when this user was last active, not known what constitutes active|
189
+ |mii_data|bytes|The CHARINFO blob of this user's Mii|
190
+ |mii_image|string|A string that can be fed into Nintendo's studio API to generate an image|
191
+ |pose|int|Pose, enum below|
192
+ |hat|int|Hat, enum below|
193
+ |shirt|int|Shirt, enum below|
194
+ |pants|int|Pants, enum below|
195
+ |wearing_outfit|bool|Whether this user is wearing pants|
196
+ |courses_played|int|How many courses this user has played|
197
+ |courses_cleared|int|How many courses this user has cleared|
198
+ |courses_attempted|int|How many courses this user has attempted|
199
+ |courses_deaths|int|How many times this user has died|
200
+ |likes|int|How many likes this user has recieved|
201
+ |maker_points|int|Maker points|
202
+ |easy_highscore|int|Easy highscore|
203
+ |normal_highscore|int|Normal highscore|
204
+ |expert_highscore|int|Expert highscore|
205
+ |super_expert_highscore|int|Super expert high score|
206
+ |versus_rating|int|Versus rating|
207
+ |versus_rank|int|Versus rank, enum below|
208
+ |versus_won|int|How many courses this user has won in versus|
209
+ |versus_lost|int|How many courses this user has lost in versus|
210
+ |versus_win_streak|int|Versus win streak|
211
+ |versus_lose_streak|int|Versus lose streak|
212
+ |versus_plays|int|Versus plays|
213
+ |versus_disconnected|int|Times user has disconnected in versus|
214
+ |coop_clears|int|Coop clears|
215
+ |coop_plays|int|Coop plays|
216
+ |recent_performance|int|Unknown variable relating to versus performance|
217
+ |versus_kills|int|Kills in versus, unknown what activities constitute a kill|
218
+ |versus_killed_by_others|int|Deaths in versus from other users, little is known about what activities constitute a death|
219
+ |multiplayer_unk13|int|Unknown, relating to multiplayer|
220
+ |multiplayer_unk14|int|Unknown, relating to multiplayer|
221
+ |first_clears|int|First clears|
222
+ |world_records|int|World records|
223
+ |unique_super_world_clears|int|Super world clears|
224
+ |uploaded_levels|int|Number of uploaded levels|
225
+ |maximum_uploaded_levels|int|Maximum number of levels this user may upload|
226
+ |weekly_maker_points|int|Weekly maker points|
227
+ |last_uploaded_level|int|UTC timestamp of when this user last uploaded a level|
228
+ |is_nintendo_employee|bool|Whether this user is an official Nintendo account|
229
+ |comments_enabled|bool|Whether this user has comments enabled on their levels|
230
+ |tags_enabled|bool|Whether this user has tags enabled on their levels|
231
+ |super_world_id|string|The ID of this user's super world, blank if they do not have one|
232
+ |unk3|int|Unknown|
233
+ |unk12|int|Unknown|
234
+ |unk16|int|Unknown|
235
+
236
+ ### Data Splits
237
+
238
+ The dataset only contains a train split.
239
+
240
+ ## Enums
241
+
242
+ The dataset contains some enum integer fields. They match those used by `TheGreatRambler/mm2_level` for the most part, but they are reproduced below:
243
+
244
+ ```python
245
+ Regions = {
246
+ 0: "Asia",
247
+ 1: "Americas",
248
+ 2: "Europe",
249
+ 3: "Other"
250
+ }
251
+
252
+ MultiplayerVersusRanks = {
253
+ 1: "D",
254
+ 2: "C",
255
+ 3: "B",
256
+ 4: "A",
257
+ 5: "S",
258
+ 6: "S+"
259
+ }
260
+
261
+ UserPose = {
262
+ 0: "Normal",
263
+ 15: "Fidgety",
264
+ 17: "Annoyed",
265
+ 18: "Buoyant",
266
+ 19: "Thrilled",
267
+ 20: "Let's go!",
268
+ 21: "Hello!",
269
+ 29: "Show-Off",
270
+ 31: "Cutesy",
271
+ 39: "Hyped!"
272
+ }
273
+
274
+ UserHat = {
275
+ 0: "None",
276
+ 1: "Mario Cap",
277
+ 2: "Luigi Cap",
278
+ 4: "Mushroom Hairclip",
279
+ 5: "Bowser Headpiece",
280
+ 8: "Princess Peach Wig",
281
+ 11: "Builder Hard Hat",
282
+ 12: "Bowser Jr. Headpiece",
283
+ 13: "Pipe Hat",
284
+ 15: "Cat Mario Headgear",
285
+ 16: "Propeller Mario Helmet",
286
+ 17: "Cheep Cheep Hat",
287
+ 18: "Yoshi Hat",
288
+ 21: "Faceplant",
289
+ 22: "Toad Cap",
290
+ 23: "Shy Cap",
291
+ 24: "Magikoopa Hat",
292
+ 25: "Fancy Top Hat",
293
+ 26: "Doctor Headgear",
294
+ 27: "Rocky Wrench Manhold Lid",
295
+ 28: "Super Star Barrette",
296
+ 29: "Rosalina Wig",
297
+ 30: "Fried-Chicken Headgear",
298
+ 31: "Royal Crown",
299
+ 32: "Edamame Barrette",
300
+ 33: "Superball Mario Hat",
301
+ 34: "Robot Cap",
302
+ 35: "Frog Cap",
303
+ 36: "Cheetah Headgear",
304
+ 37: "Ninji Cap",
305
+ 38: "Super Acorn Hat",
306
+ 39: "Pokey Hat",
307
+ 40: "Snow Pokey Hat"
308
+ }
309
+
310
+ UserShirt = {
311
+ 0: "Nintendo Shirt",
312
+ 1: "Mario Outfit",
313
+ 2: "Luigi Outfit",
314
+ 3: "Super Mushroom Shirt",
315
+ 5: "Blockstripe Shirt",
316
+ 8: "Bowser Suit",
317
+ 12: "Builder Mario Outfit",
318
+ 13: "Princess Peach Dress",
319
+ 16: "Nintendo Uniform",
320
+ 17: "Fireworks Shirt",
321
+ 19: "Refreshing Shirt",
322
+ 21: "Reset Dress",
323
+ 22: "Thwomp Suit",
324
+ 23: "Slobbery Shirt",
325
+ 26: "Cat Suit",
326
+ 27: "Propeller Mario Clothes",
327
+ 28: "Banzai Bill Shirt",
328
+ 29: "Staredown Shirt",
329
+ 31: "Yoshi Suit",
330
+ 33: "Midnight Dress",
331
+ 34: "Magikoopa Robes",
332
+ 35: "Doctor Coat",
333
+ 37: "Chomp-Dog Shirt",
334
+ 38: "Fish Bone Shirt",
335
+ 40: "Toad Outfit",
336
+ 41: "Googoo Onesie",
337
+ 42: "Matrimony Dress",
338
+ 43: "Fancy Tuxedo",
339
+ 44: "Koopa Troopa Suit",
340
+ 45: "Laughing Shirt",
341
+ 46: "Running Shirt",
342
+ 47: "Rosalina Dress",
343
+ 49: "Angry Sun Shirt",
344
+ 50: "Fried-Chicken Hoodie",
345
+ 51: "? Block Hoodie",
346
+ 52: "Edamame Camisole",
347
+ 53: "I-Like-You Camisole",
348
+ 54: "White Tanktop",
349
+ 55: "Hot Hot Shirt",
350
+ 56: "Royal Attire",
351
+ 57: "Superball Mario Suit",
352
+ 59: "Partrick Shirt",
353
+ 60: "Robot Suit",
354
+ 61: "Superb Suit",
355
+ 62: "Yamamura Shirt",
356
+ 63: "Princess Peach Tennis Outfit",
357
+ 64: "1-Up Hoodie",
358
+ 65: "Cheetah Tanktop",
359
+ 66: "Cheetah Suit",
360
+ 67: "Ninji Shirt",
361
+ 68: "Ninji Garb",
362
+ 69: "Dash Block Hoodie",
363
+ 70: "Fire Mario Shirt",
364
+ 71: "Raccoon Mario Shirt",
365
+ 72: "Cape Mario Shirt",
366
+ 73: "Flying Squirrel Mario Shirt",
367
+ 74: "Cat Mario Shirt",
368
+ 75: "World Wear",
369
+ 76: "Koopaling Hawaiian Shirt",
370
+ 77: "Frog Mario Raincoat",
371
+ 78: "Phanto Hoodie"
372
+ }
373
+
374
+ UserPants = {
375
+ 0: "Black Short-Shorts",
376
+ 1: "Denim Jeans",
377
+ 5: "Denim Skirt",
378
+ 8: "Pipe Skirt",
379
+ 9: "Skull Skirt",
380
+ 10: "Burner Skirt",
381
+ 11: "Cloudwalker",
382
+ 12: "Platform Skirt",
383
+ 13: "Parent-and-Child Skirt",
384
+ 17: "Mario Swim Trunks",
385
+ 22: "Wind-Up Shoe",
386
+ 23: "Hoverclown",
387
+ 24: "Big-Spender Shorts",
388
+ 25: "Shorts of Doom!",
389
+ 26: "Doorduroys",
390
+ 27: "Antsy Corduroys",
391
+ 28: "Bouncy Skirt",
392
+ 29: "Stingby Skirt",
393
+ 31: "Super Star Flares",
394
+ 32: "Cheetah Runners",
395
+ 33: "Ninji Slacks"
396
+ }
397
+
398
+ # Checked against user's shirt
399
+ UserIsOutfit = {
400
+ 0: False,
401
+ 1: True,
402
+ 2: True,
403
+ 3: False,
404
+ 5: False,
405
+ 8: True,
406
+ 12: True,
407
+ 13: True,
408
+ 16: False,
409
+ 17: False,
410
+ 19: False,
411
+ 21: True,
412
+ 22: True,
413
+ 23: False,
414
+ 26: True,
415
+ 27: True,
416
+ 28: False,
417
+ 29: False,
418
+ 31: True,
419
+ 33: True,
420
+ 34: True,
421
+ 35: True,
422
+ 37: False,
423
+ 38: False,
424
+ 40: True,
425
+ 41: True,
426
+ 42: True,
427
+ 43: True,
428
+ 44: True,
429
+ 45: False,
430
+ 46: False,
431
+ 47: True,
432
+ 49: False,
433
+ 50: False,
434
+ 51: False,
435
+ 52: False,
436
+ 53: False,
437
+ 54: False,
438
+ 55: False,
439
+ 56: True,
440
+ 57: True,
441
+ 59: False,
442
+ 60: True,
443
+ 61: True,
444
+ 62: False,
445
+ 63: True,
446
+ 64: False,
447
+ 65: False,
448
+ 66: True,
449
+ 67: False,
450
+ 68: True,
451
+ 69: False,
452
+ 70: False,
453
+ 71: False,
454
+ 72: False,
455
+ 73: False,
456
+ 74: False,
457
+ 75: True,
458
+ 76: False,
459
+ 77: True,
460
+ 78: False
461
+ }
462
+ ```
463
+
464
+ <!-- TODO create detailed statistics -->
465
+ <!--
466
+ ## Dataset Statistics
467
+
468
+ 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:
469
+
470
+ ![dataset-statistics](https://huggingface.co/datasets/codeparrot/github-code/resolve/main/github-code-stats-alpha.png)
471
+
472
+ | | Language |File Count| Size (GB)|
473
+ |---:|:-------------|---------:|-------:|
474
+ | 0 | Java | 19548190 | 107.70 |
475
+ | 1 | C | 14143113 | 183.83 |
476
+ | 2 | JavaScript | 11839883 | 87.82 |
477
+ | 3 | HTML | 11178557 | 118.12 |
478
+ | 4 | PHP | 11177610 | 61.41 |
479
+ | 5 | Markdown | 8464626 | 23.09 |
480
+ | 6 | C++ | 7380520 | 87.73 |
481
+ | 7 | Python | 7226626 | 52.03 |
482
+ | 8 | C# | 6811652 | 36.83 |
483
+ | 9 | Ruby | 4473331 | 10.95 |
484
+ | 10 | GO | 2265436 | 19.28 |
485
+ | 11 | TypeScript | 1940406 | 24.59 |
486
+ | 12 | CSS | 1734406 | 22.67 |
487
+ | 13 | Shell | 1385648 | 3.01 |
488
+ | 14 | Scala | 835755 | 3.87 |
489
+ | 15 | Makefile | 679430 | 2.92 |
490
+ | 16 | SQL | 656671 | 5.67 |
491
+ | 17 | Lua | 578554 | 2.81 |
492
+ | 18 | Perl | 497949 | 4.70 |
493
+ | 19 | Dockerfile | 366505 | 0.71 |
494
+ | 20 | Haskell | 340623 | 1.85 |
495
+ | 21 | Rust | 322431 | 2.68 |
496
+ | 22 | TeX | 251015 | 2.15 |
497
+ | 23 | Batchfile | 236945 | 0.70 |
498
+ | 24 | CMake | 175282 | 0.54 |
499
+ | 25 | Visual Basic | 155652 | 1.91 |
500
+ | 26 | FORTRAN | 142038 | 1.62 |
501
+ | 27 | PowerShell | 136846 | 0.69 |
502
+ | 28 | Assembly | 82905 | 0.78 |
503
+ | 29 | Julia | 58317 | 0.29 |
504
+ -->
505
+
506
+ ## Dataset Creation
507
+
508
+ 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.
509
+
510
+ ## Considerations for Using the Data
511
+
512
+ The dataset consists of many different Mario Maker 2 players globally and as such their names could contain harmful language. Harmful depictions could also be present in their Miis, should you choose to render it.
example.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from datasets import load_dataset
2
+
3
+ ds = load_dataset("TheGreatRambler/mm2_user", streaming=True, split="train")
4
+
5
+ mii_image = next(iter(ds))["mii_image"]
6
+ print("Face: https://studio.mii.nintendo.com/miis/image.png?data=%s&type=face&width=512&instanceCount=1" % mii_image)
7
+ print("Body: https://studio.mii.nintendo.com/miis/image.png?data=%s&type=all_body&width=512&instanceCount=1" % mii_image)
8
+ print("Face (x16): https://studio.mii.nintendo.com/miis/image.png?data=%s&type=face&width=512&instanceCount=16" % mii_image)
9
+ print("Body (x16): https://studio.mii.nintendo.com/miis/image.png?data=%s&type=all_body&width=512&instanceCount=16" % mii_image)