Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

slp
unknown
__key__
string
__url__
string
"e1UDcmF3WyRVI2wAfn1HNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAgAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-00260629f62580b88b48fbc1
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wATuOQNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90wAQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAMAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-02122606ca78e0867d0c3f9d
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wAbhtTNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAIAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-0945bfdc3d18b8d051bdd409
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wAYMKONRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAgAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-080ac2f2fc93e985438cb3cb
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wAQRZgNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAIAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-07f8b2ea02bed1803265b50b
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wARhoINRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uACAAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-0ac3781c858b865f7e3146ca
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wAMmhiNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAB8AAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-0c1f3a1def6764b79a8bd10e
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wAejcMNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90wgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAMAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-0c1f857a14694fc7d76e8059
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wATo6wNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uAAgAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-0cebdf0886369711f092e0ae
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
"e1UDcmF3WyRVI2wAT5rNNRw2Avg3AEA4AFA5AAY6AAw7ACo8AAg90kgQAgQ2Aw8AADIBjkzDAAAAAAAA//9uABwAAAHgAAAAAAA(...TRUNCATED)
diamond-diamond-15a24174d1e2cd8492b03372
"hf://datasets/Tuffy-uwu/melee-ranked-replays@421263de1a65510a42e2f4579d2a4184bbfa7701/BOWSER/BOWSER(...TRUNCATED)
End of preview.

Melee Ranked Replays

Anonymized Slippi ranked replays (platinum+) from Super Smash Bros. Melee, sharded by character and rank pair. Built for behavior-cloning and other replay-driven ML work on Melee — notably MIMIC.

Contents

Raw .slp files grouped into tarballs by (character, rank_pair, source_archive), organized into per-character folders:

{CHAR}/
  {CHAR}_{rank_pair}_a{N}.tar.gz
metadata/
  metadata_a{N}.json
  • Characters (25): BOWSER, CPTFALCON, DK, DOC, FALCO, FOX, GAMEANDWATCH, GANONDORF, ICE_CLIMBERS, JIGGLYPUFF, KIRBY, LINK, LUIGI, MARIO, MARTH, MEWTWO, NESS, PEACH, PICHU, PIKACHU, ROY, SAMUS, YLINK, YOSHI, ZELDA_SHEIK (ZELDA and SHEIK collapsed; POPO and NANA collapsed to ICE_CLIMBERS)
  • Rank pairs: diamond-diamond, diamond-platinum, master-diamond, master-master, master-platinum, platinum-platinum (6 combos, higher rank first in mixed pairs)
  • Source archives: a1..a6, corresponding to the 6 original anonymized ranked dumps. Archive suffix exists so incremental uploads don't collide; if you want "everything Fox at master-master" you pull every FOX/FOX_master-master_a*.tar.gz.

Each shard holds the raw .slp files — no preprocessing, normalization, or tensorization applied. Use peppi-py, py-slippi, or libmelee to parse.

Duplication

Each replay is placed into both players' character buckets (unless it's a ditto). A MARTH vs FALCO diamond-platinum replay appears in both MARTH/MARTH_diamond-platinum_aN.tar.gz and FALCO/FALCO_diamond-platinum_aN.tar.gz. A FOX ditto only appears once in FOX/FOX_diamond-diamond_aN.tar.gz. This means downloading "all Marth games at master-master" needs only the MARTH/ folder (not a join across 25 per-player files), at the cost of ~90% duplication on the full dataset.

Metadata

metadata/metadata_a{N}.json is a flat JSON list. One entry per replay (not per bucket), schema:

{
  "filename": "diamond-diamond-6cf8c1ee745993cefe0c88db.slp",
  "p1": "NESS",
  "p2": "JIGGLYPUFF",
  "rank": "diamond-diamond",
  "archive": "3"
}

p1 and p2 use the same collapsed character names as the folder/bucket filenames. archive is a string.

Build pipeline

Source: six anonymized ranked archives covering ~850k total replays at platinum+ rank. Each archive is processed independently by tools/shard_and_upload_ranked.py in the MIMIC repo.

Per-file work (parallel, one worker per CPU)

For each .slp file in an archive:

  1. Read header only via peppi_py.read_slippi(path, skip_frames=True) — skipping frames makes it fast (ms per file) since we only need the Start event, not the ~10k frames of gameplay.
  2. Pull the 2 players out of game.start.players, reject if not exactly 2.
  3. Map each player's character int to a name via a lookup built from melee.Character enum, with two collapses:
    • ZELDA (19) and SHEIK (7) → ZELDA_SHEIK (same fighter mid-match)
    • POPO (10) and NANA (11) → ICE_CLIMBERS (two climbers are one unit)
  4. Reject junk characters: WIREFRAME_MALE/FEMALE, GIGA_BOWSER, SANDBAG, UNKNOWN — not legal tournament characters; replays featuring them are debug/test files.
  5. Parse rank from filename via regex — the {rank1}-{rank2} prefix.

Per-file output: (filename, p1_name, p2_name, rank_pair, error_or_None).

Bucketing

Each successful replay enters up to two buckets keyed by (character, rank_pair):

  • One for player 1's character
  • One for player 2's character (skipped if same char — no double-counting dittos)

Metadata is a flat list of {filename, p1, p2, rank, archive} entries, one row per replay.

Tar + upload

Buckets are compressed one at a time (tarfile w:gz, compresslevel=6), uploaded via huggingface_hub.HfApi.upload_file, then the local tar is deleted. Already-uploaded paths are skipped, so the tool is resume-safe.

Intended use

Training behavior-cloning models on human gameplay (MIMIC, HAL, and similar projects), replay analysis, frame-data research. If you're building something on this, drop me a line.

License

MIT. Replays were originally published by the Slippi/ranked community in anonymized form; this is a re-sharded redistribution for ML convenience.

Downloads last month
1,627