#6724·espnet

The ESPnet3 fine-tuning tutorials no longer run against master

Author: sw005320Created Sep 19, 2026Updated Sep 20, 2026

The two fine-tuning notebooks used in CMU 11492/11692/18495 stop before training. Both were written against an earlier ESPnet3 API, and all three breakages are in ESPnet3 rather than in the notebooks' own code.

Running them against master, in order:

  1. from espnet3.utils.logging import configure_logging and from espnet3.utils.stages import run_stages raise ModuleNotFoundError. The modules are espnet3.utils.logging_utils and espnet3.utils.stages_utils now. Easy to follow.
  2. BaseSystem(train_config=cfg) raises TypeError: unexpected keyword argument 'train_config'. It takes training_config now, alongside one config per other stage. Also easy.
  3. Then AssertionError: recipe_dir must be set when data_src is None, raised from espnet3/components/data/dataset_module.py:158 by way of BaseSystem's create_dataset stage.

The third is the one I do not want to guess at. Both notebooks define a torch.utils.data.Dataset subclass in the notebook itself and name it from the config:

yaml
dataset:
  _target_: espnet3.components.data.data_organizer.DataOrganizer
  train:
    - name: train
      dataset:
        _target_: __main__.FLEURSDataset
        split: train
        lang_sym: <eng>
        task_sym: <asr>

create_dataset now resolves each entry through load_dataset_module(data_src=..., recipe_dir=...), which expects a dataset module with a builder rather than a class to instantiate. What should a notebook that brings its own Dataset do instead? If there is a supported path, I will update both notebooks and they can be published beside the five inference ones in espnet/notebook#54; if the answer is that an in-notebook Dataset is no longer supported, that is worth saying in the ESPnet3 documentation, because it is how the tutorials teach it.

Context: espnet/notebook#54 publishes the five inference notebooks from that course, each run end to end first. These two are held back until this is resolved. Their other repairs are done locally already, including replacing TIDIGITS (LDC-licensed, and fetched from a Google Drive copy) with a twelve-word subset of Google Speech Commands.

cc @Masao-Someki

Generated with Claude Code