The ESPnet3 fine-tuning tutorials no longer run against master
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:
from espnet3.utils.logging import configure_loggingandfrom espnet3.utils.stages import run_stagesraiseModuleNotFoundError. The modules areespnet3.utils.logging_utilsandespnet3.utils.stages_utilsnow. Easy to follow.BaseSystem(train_config=cfg)raisesTypeError: unexpected keyword argument 'train_config'. It takestraining_confignow, alongside one config per other stage. Also easy.- Then
AssertionError: recipe_dir must be set when data_src is None, raised fromespnet3/components/data/dataset_module.py:158by way ofBaseSystem'screate_datasetstage.
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:
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
Source: espnet/espnet