Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
F
Fairseq-S2T
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
xuchen
Fairseq-S2T
Commits
ea1870e5
Commit
ea1870e5
authored
Mar 30, 2021
by
xuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify the shell scripts
parent
64a9e37e
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
14 行增加
和
14 行删除
+14
-14
egs/librispeech/asr/conf/train_ctc_debug.yaml
+1
-1
egs/lower/mt/train.sh
+1
-1
egs/mustc/asr/run.sh
+2
-2
egs/mustc/mt/conf/train.yaml
+1
-1
egs/mustc/mt/decode.sh
+1
-1
egs/mustc/mt/run.sh
+4
-4
egs/mustc/st/conf/train.yaml
+1
-1
egs/mustc/st/conf/train_ctc.yaml
+1
-1
egs/mustc/st/conf/train_ctc_conformer.yaml
+1
-1
egs/mustc/st/conf/train_ctc_enc_rpr.yaml
+1
-1
没有找到文件。
egs/librispeech/asr/conf/train_ctc_debug.yaml
查看文件 @
ea1870e5
...
...
@@ -12,7 +12,7 @@ log-interval: 100
seed
:
1
report-accuracy
:
True
arch
:
s2t_
con
former_s
arch
:
s2t_
trans
former_s
share-decoder-input-output-embed
:
True
optimizer
:
adam
clip-norm
:
10.0
...
...
egs/lower/mt/train.sh
查看文件 @
ea1870e5
...
...
@@ -12,7 +12,7 @@ extra_parameter=
#extra_tag="${extra_tag}"
#extra_parameter="${extra_parameter} "
exp_tag
=
baseline
_997
exp_tag
=
baseline
train_config
=
train.yaml
cmd
=
"./run.sh
...
...
egs/mustc/asr/run.sh
查看文件 @
ea1870e5
...
...
@@ -93,8 +93,8 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
### Task dependent. You have to make data the following preparation part by yourself.
### But you can utilize Kaldi recipes in most cases
echo
"stage 0: ASR Data Preparation"
if
[[
!
-e
${
data_dir
}
]]
;
then
mkdir
-p
${
data_dir
}
if
[[
!
-e
${
data_dir
}
/
${
lang
}
]]
;
then
mkdir
-p
${
data_dir
}
/
${
lang
}
fi
cmd
=
"python
${
root_dir
}
/examples/speech_to_text/prep_mustc_data.py
...
...
egs/mustc/mt/conf/train.yaml
查看文件 @
ea1870e5
train-subset
:
train
valid-subset
:
dev
valid-subset
:
valid
max-epoch
:
50
max-update
:
100000
...
...
egs/mustc/mt/decode.sh
查看文件 @
ea1870e5
...
...
@@ -2,7 +2,7 @@
gpu_num
=
1
test_subset
=(
t
st-COMMON
)
test_subset
=(
t
est
)
exp_name
=
if
[
"$#"
-eq
1
]
;
then
...
...
egs/mustc/mt/run.sh
查看文件 @
ea1870e5
...
...
@@ -43,7 +43,7 @@ data_dir=~/st/data/${dataset}/mt/${lang}
train_prefix
=
train
valid_prefix
=
dev
test_prefix
=
tst-COMMON
test_subset
=(
t
st-COMMON
)
test_subset
=(
t
est
)
# exp
extra_tag
=
...
...
@@ -148,9 +148,9 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
cmd
=
"python
${
root_dir
}
/fairseq_cli/preprocess.py
--source-lang
${
src_lang
}
--target-lang
${
tgt_lang
}
--trainpref
${
data_dir
}
/data/
train/
${
train_prefix
}
--validpref
${
data_dir
}
/data/
dev/
${
valid_prefix
}
--testpref
${
data_dir
}
/data/
test/
${
test_prefix
}
--trainpref
${
data_dir
}
/data/
${
train_prefix
}
--validpref
${
data_dir
}
/data/
${
valid_prefix
}
--testpref
${
data_dir
}
/data/
${
test_prefix
}
--destdir
${
data_dir
}
/data-bin
--srcdict
${
data_dir
}
/
${
src_vocab_prefix
}
.txt
--tgtdict
${
data_dir
}
/
${
tgt_vocab_prefix
}
.txt
...
...
egs/mustc/st/conf/train.yaml
查看文件 @
ea1870e5
...
...
@@ -33,7 +33,7 @@ dropout: 0.1
activation-fn
:
relu
encoder-embed-dim
:
256
encoder-ffn-embed-dim
:
2048
encoder-layers
:
6
encoder-layers
:
12
decoder-layers
:
6
encoder-attention-heads
:
4
...
...
egs/mustc/st/conf/train_ctc.yaml
查看文件 @
ea1870e5
...
...
@@ -34,7 +34,7 @@ dropout: 0.1
activation-fn
:
relu
encoder-embed-dim
:
256
encoder-ffn-embed-dim
:
2048
encoder-layers
:
6
encoder-layers
:
12
decoder-layers
:
6
encoder-attention-heads
:
4
...
...
egs/mustc/st/conf/train_ctc_conformer.yaml
查看文件 @
ea1870e5
...
...
@@ -34,7 +34,7 @@ dropout: 0.1
activation-fn
:
relu
encoder-embed-dim
:
256
encoder-ffn-embed-dim
:
2048
encoder-layers
:
6
encoder-layers
:
12
decoder-layers
:
6
encoder-attention-heads
:
4
...
...
egs/mustc/st/conf/train_ctc_enc_rpr.yaml
查看文件 @
ea1870e5
...
...
@@ -34,7 +34,7 @@ dropout: 0.1
activation-fn
:
relu
encoder-embed-dim
:
256
encoder-ffn-embed-dim
:
2048
encoder-layers
:
6
encoder-layers
:
12
decoder-layers
:
6
encoder-attention-heads
:
4
encoder-attention-type
:
rel_selfattn
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论