Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
2a30b2a
Removed `demo_config_path` from config
Masao-Someki Jan 29, 2026
5626730
Fixed unit test for demo_config_path
Masao-Someki Jan 29, 2026
db557c5
Merge branch 'espnet3/package_files' of github.com:Masao-Someki/espne…
Masao-Someki Jan 30, 2026
9f479b3
Fixed CI
Masao-Someki Jan 27, 2026
b5ffad6
Update infer.yaml
Masao-Someki Jan 27, 2026
d3d89c3
Fixed configs
Masao-Someki Jan 27, 2026
39ffca4
Removed multiple iterator
Masao-Someki Jan 28, 2026
245c60b
Bug fixed for data sharding
Masao-Someki Jan 29, 2026
d65f12c
Fixed bugs with preprocessor
Masao-Someki Jan 29, 2026
e546bde
Fixed inference-related configs
Masao-Someki Jan 30, 2026
ac336bf
Bug fixed for the instantiating part on inference provider.
Masao-Someki Jan 30, 2026
b4d3be6
Bug fixed
Masao-Someki Jan 30, 2026
b1ba1fc
Fixed unit test
Masao-Someki Jan 30, 2026
f5d85d4
Applied format
Masao-Someki Jan 30, 2026
dcfdfc8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 30, 2026
534acef
Fix based on the modification to inference stage
Masao-Someki Jan 30, 2026
d07098f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 30, 2026
4d5b484
Update demo.yaml
Masao-Someki Jan 30, 2026
80784b7
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 4, 2026
06e2775
Merge branch 'espnet3/publish_stage' of github.com:Masao-Someki/espne…
Masao-Someki May 4, 2026
2032dc8
Refactoring
Masao-Someki May 5, 2026
9d7020c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 5, 2026
65078ed
Refactoring
Masao-Someki May 5, 2026
fe1ed1f
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 5, 2026
a287324
Applied format
Masao-Someki May 5, 2026
2712f3b
Applied format
Masao-Someki May 5, 2026
d7f5e9a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 5, 2026
6d259e4
Renamed demo_ci -> demo
Masao-Someki May 6, 2026
cd085a7
refactoring
Masao-Someki May 6, 2026
ba9e878
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 6, 2026
5538d17
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 6, 2026
901de11
Removed old file
Masao-Someki May 6, 2026
c21b0fc
System refactoring
Masao-Someki May 6, 2026
a4100be
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 6, 2026
8796f00
Fixed integration test
Masao-Someki May 7, 2026
6baab13
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 7, 2026
e64577d
Fixed CI
Masao-Someki May 7, 2026
923841d
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 7, 2026
641f1b2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 7, 2026
dfe0e01
Extend document
Masao-Someki May 7, 2026
26e778e
Applied format
Masao-Someki May 7, 2026
9ac71a9
Moved test assets to test_utils/
Masao-Someki May 7, 2026
87e76ac
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 7, 2026
cfaf62a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 7, 2026
29c904e
Add demo stage core changes
Masao-Someki May 7, 2026
5f021be
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 7, 2026
cab7c66
Remove integration test changes for separate PR
Masao-Someki May 7, 2026
28f5af0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 7, 2026
54d5367
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki May 7, 2026
424eeb9
Merge branch 'master' into espnet3/demo_stage
Masao-Someki May 17, 2026
e152bf0
Merge branch 'espnet3/publish_stage' of github.com:Masao-Someki/espne…
Masao-Someki Jun 8, 2026
7f97b31
Bugfix based on applying the latest publication PR
Masao-Someki Jun 8, 2026
b1140ba
Bug fixed when uploading to huggingface space
Masao-Someki Jun 8, 2026
6927856
add packed model to the space files
Masao-Someki Jun 8, 2026
bf74bc0
Add requirements.txt for pack_demo
Masao-Someki Jun 8, 2026
94904ba
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 12, 2026
c11735d
Merge branch 'master' of https://github.com/espnet/espnet into espnet…
Masao-Someki Jun 12, 2026
187f3e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 12, 2026
ae05301
Merge branch 'espnet3/publication_bugfix' of github.com:Masao-Someki/…
Masao-Someki Jun 14, 2026
6481e10
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 14, 2026
ae7e237
Fixed demo scripts
Masao-Someki Jun 14, 2026
5bc00cc
Bug fixed for demo stage
Masao-Someki Jun 14, 2026
94f36c0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 14, 2026
9f8283e
Fixed demo UI
Masao-Someki Jun 14, 2026
53e9d73
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 14, 2026
6e2e84f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 14, 2026
cfea044
Removed `See README.md for demo details.` in README.md
Masao-Someki Jun 14, 2026
b9254bd
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 14, 2026
50fe4c9
Merge branch 'master' into espnet3/demo_stage
Masao-Someki Jun 18, 2026
3dffcd1
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 18, 2026
7c16171
Fixed CI issue
Masao-Someki Jun 18, 2026
8ffc86a
Bug fixed in test.
Masao-Someki Jun 18, 2026
a7a3e95
Applied format
Masao-Someki Jun 18, 2026
d214e5a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 18, 2026
fe24398
Added gradio and playwright for testing
Masao-Someki Jun 18, 2026
cd5be32
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 18, 2026
9cc76c7
Merge branch 'master' into espnet3/demo_stage
sw005320 Jun 18, 2026
8a85390
Fixed readme path resolving function
Masao-Someki Jun 20, 2026
014da9d
Added update config
Masao-Someki Jun 20, 2026
af11a7d
Applied format
Masao-Someki Jun 20, 2026
3925328
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 20, 2026
69fdfe0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 20, 2026
e5b259f
Set HF repository name as default
Masao-Someki Jun 20, 2026
a2327b7
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 20, 2026
714a7f7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 20, 2026
20213b2
Set demo title defualt
Masao-Someki Jun 20, 2026
62b1904
Merge branch 'espnet3/demo_stage' of github.com:Masao-Someki/espnet i…
Masao-Someki Jun 20, 2026
b761624
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed configs
  • Loading branch information
Masao-Someki committed Jan 30, 2026
commit d3d89c3a0f30eed9943793bae8f1b50a650fd7f8
6 changes: 5 additions & 1 deletion egs3/TEMPLATE/asr/conf/infer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data_dir: ${recipe_dir}/data
dataset_dir: /path/to/your/dataset
exp_tag: asr_template_eval
exp_dir: ${recipe_dir}/exp/${exp_tag}
decode_dir: ${exp_dir}/decode
infer_dir: ${exp_dir}/infer

# Dataset definition for test splits only.
dataset:
Expand All @@ -25,6 +25,10 @@ model:
asr_train_config: ${exp_dir}/config.yaml
asr_model_file: ${exp_dir}/last.ckpt

# Inference I/O.
input_key: speech
output_fn: src.infer.output_fn

# Parallel execution used during data loading / scoring (defaults to local).
parallel:
env: local
Expand Down
1 change: 1 addition & 0 deletions egs3/TEMPLATE/asr/conf/measure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exp_tag: asr_template_eval
exp_dir: ${recipe_dir}/exp/${exp_tag}
stats_dir: ${recipe_dir}/exp/stats
decode_dir: ${exp_dir}/decode
infer_dir: ${exp_dir}/infer
dataset_dir: /path/to/your/dataset

# Dataset definition for test splits only (used to enumerate test names).
Expand Down
5 changes: 4 additions & 1 deletion egs3/mini_an4/asr/conf/infer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ recipe_dir: .
data_dir: ${recipe_dir}/data
exp_tag: ${load_yaml:conf/train.yaml,exp_tag}
exp_dir: ${recipe_dir}/exp/${exp_tag}
decode_dir: ${exp_dir}/decode
infer_dir: ${exp_dir}/infer
dataset_dir: ${data_dir}/mini_an4

dataset:
Expand All @@ -25,3 +25,6 @@ model:
asr_model_file: ${exp_dir}/last.ckpt
beam_size: 1
ctc_weight: 0.3

input_key: speech
output_fn: src.infer.output_fn
5 changes: 4 additions & 1 deletion egs3/mini_an4/asr/conf/infer_transducer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ recipe_dir: .
data_dir: ${recipe_dir}/data
exp_tag: ${load_yaml:conf/train.yaml,exp_tag}
exp_dir: ${recipe_dir}/exp/${exp_tag}
decode_dir: ${exp_dir}/decode
infer_dir: ${exp_dir}/infer
dataset_dir: ${data_dir}/mini_an4

dataset:
Expand All @@ -24,3 +24,6 @@ model:
asr_train_config: ${exp_dir}/config.yaml
asr_model_file: ${exp_dir}/last.ckpt
beam_size: 1

input_key: speech
output_fn: src.infer.output_fn_transducer
1 change: 1 addition & 0 deletions egs3/mini_an4/asr/conf/measure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ exp_tag: ${load_yaml:conf/train.yaml,exp_tag}
exp_dir: ${recipe_dir}/exp/${exp_tag}
stats_dir: ${recipe_dir}/exp/stats
decode_dir: ${exp_dir}/decode
infer_dir: ${exp_dir}/infer
dataset_dir: ${data_dir}/mini_an4

dataset:
Expand Down
17 changes: 17 additions & 0 deletions egs3/mini_an4/asr/src/infer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Inference output helpers for ASR recipes."""


def output_fn(*, data, model_output, idx):
"""Build a dict of outputs for SCP writing."""
uttid = data.get("uttid", str(idx))
hyp = model_output[0][0]
ref = data.get("text", "")
return {"uttid": uttid, "hyp": hyp, "ref": ref}


def output_fn_transducer(*, data, model_output, idx):
"""Build a dict of outputs for transducer models."""
uttid = data.get("uttid", str(idx))
hyp = model_output[0]
ref = data.get("text", "")
return {"uttid": uttid, "hyp": hyp, "ref": ref}