code: def get_speaker_ids(walker):
      speaker_mapping = {}
      for fileid in walker:
          speaker_id, *_ = fileid.split("-")
          speaker_id = int(speaker_id)
          if speaker_id not in speaker_mapping:
              speaker_mapping[speaker_id] = len(speaker_mapping)
      return speaker_mapping
  
file_path: textlesslib/examples/speaker_probing/train.py
imports: import torch
  import argparse
  from textless.data.quantized_datasets import QuantizedLibriSpeech
  from torch.utils.data import DataLoader
  import torch.nn.functional
  from probes import ContinuousClassifier, DiscreteClassifier, ConstantBaseline
  from textless.data.speech_encoder import SpeechEncoder
  from textless import dispatch_dense_model, dispatch_quantizer
label_desc: Use image node_id 2 for calling the SpeakerDatasetWrapper obj's underlying member method code with example usage: obj.get_speaker_ids(walker) and returns: speaker_mapping