Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SLU models #56

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions ci/s3prl.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pip install fairseq@git+https://github.com//pytorch/fairseq.git@f2146bdc7abf293186de9449bfa2272775e39e1d#egg=fairseq
git clone https://github.com/s3prl/s3prl.git
10 changes: 9 additions & 1 deletion ci/test_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import numpy as np
import os
import shutil
from subprocess import call
import sys

import numpy as np

from espnet2.bin.asr_inference import Speech2Text
from espnet2.bin.asr_inference_streaming import Speech2TextStreaming
Expand Down Expand Up @@ -43,6 +45,12 @@ def _tts(model_name):


def test_model():
with open("ci/s3prl.sh", "rb") as file:
script = file.read()
call(script, shell=True)

sys.path.append(os.getcwd() + "/s3prl")
os.environ["PYTHONPATH"] = os.getcwd() + "/s3prl"
d = ModelDownloader()
tasks = ["asr", "asr_stream", "tts"]

Expand Down
2 changes: 2 additions & 0 deletions espnet_model_zoo/table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ ljspeech,tts,kan-bayashi/ljspeech_tts_train_joint_conformer_fastspeech2_hifigan_
ljspeech,tts,kan-bayashi/ljspeech_tts_finetune_joint_conformer_fastspeech2_hifigan_raw_phn_tacotron_g2p_en_no_space_train.total_count.ave,https://zenodo.org/record/5498896/files/tts_finetune_joint_conformer_fastspeech2_hifigan_raw_phn_tacotron_g2p_en_no_space_train.total_count.ave.zip?download=1,22050,en,female,1.7.1,0.10.3a2,628b46,true
ljspeech,tts,kan-bayashi/ljspeech_joint_train_conformer_fastspeech2_hifigan,https://zenodo.org/record/5498487/files/tts_train_joint_conformer_fastspeech2_hifigan_raw_phn_tacotron_g2p_en_no_space_train.total_count.ave.zip?download=1,22050,en,female,1.7.1,0.10.3a2,628b46,true
ljspeech,tts,kan-bayashi/ljspeech_joint_finetune_conformer_fastspeech2_hifigan,https://zenodo.org/record/5498896/files/tts_finetune_joint_conformer_fastspeech2_hifigan_raw_phn_tacotron_g2p_en_no_space_train.total_count.ave.zip?download=1,22050,en,female,1.7.1,0.10.3a2,628b46,true
fsc,asr,siddhana/fsc_asr_train_asr_hubert_transformer_adam_specaug_raw_en_word_valid.acc.ave_5best,https://zenodo.org/record/5590204/files/asr_train_asr_hubert_transformer_adam_specaug_raw_en_word_valid.acc.ave_5best.zip?download=1,16000,en,,1.8.1,0.10.3a2,4e7d2ba,true
slurp,asr,siddhana/slurp_new_asr_train_asr_conformer_raw_en_word_valid.acc.ave_10best,https://zenodo.org/record/5590384/files/asr_train_asr_conformer_raw_en_word_valid.acc.ave_10best.zip?download=1,16000,en,,1.8.1,0.10.3a2,4e7d2ba,true
tedlium2,asr_stream,D-Keqi/espnet_asr_train_asr_streaming_transformer_raw_en_bpe500_sp_valid.acc.ave,huggingface.co,16000,en,,,,,true
speechcommands,slu,pyf98/speechcommands_12commands_conformer,https://huggingface.co/,16000,en,,,,,true
speechcommands,slu,pyf98/speechcommands_35commands_conformer,https://huggingface.co/,16000,en,,,,,true
Expand Down