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
c0e06600
Commit
c0e06600
authored
Sep 09, 2021
by
xuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the shell scripts
parent
cb0af126
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
43 行增加
和
25 行删除
+43
-25
egs/librispeech/asr/conf/conformer.yaml
+1
-1
egs/librispeech/asr/conf/pyramid.yaml
+6
-5
egs/librispeech/asr/conf/pyramid_stage3.yaml
+5
-2
egs/librispeech/asr/conf/rpr.yaml
+3
-1
egs/librispeech/asr/decode.sh
+2
-2
egs/librispeech/asr/local/monitor.sh
+1
-1
egs/librispeech/asr/train.sh
+5
-3
egs/mustc/asr/conf/pyramid.yaml
+5
-4
egs/mustc/asr/conf/pyramid_stage3.yaml
+4
-1
egs/mustc/asr/conf/rpr.yaml
+3
-1
egs/mustc/asr/decode.sh
+1
-1
egs/mustc/asr/train.sh
+7
-3
没有找到文件。
egs/librispeech/asr/conf/conformer.yaml
查看文件 @
c0e06600
...
...
@@ -2,4 +2,4 @@ arch: s2t_conformer_s
macaron-style
:
True
use-cnn-module
:
True
cnn-module-kernel
:
31
cnn-module-kernel
:
15
egs/librispeech/asr/conf/pyramid.yaml
查看文件 @
c0e06600
arch
:
pys2t_transformer_s
encoder-embed-dim
:
512
pyramid-stages
:
4
pyramid-layers
:
2_2_
5_3
encoder-attention-type
:
reduced
pyramid-attn-sample-ratios
:
8_4_2_1
pyramid-layers
:
2_2_
6_2
#
encoder-attention-type: reduced
#
pyramid-attn-sample-ratios: 8_4_2_1
pyramid-sr-ratios
:
2_2_2_2
pyramid-embed-dims
:
64_128_256_512
pyramid-use-ppm
:
True
pyramid-embed-dims
:
128_128_256_512
pyramid-reduced-embed
:
conv
pyramid-embed-norm
:
True
pyramid-position-embed
:
1_1_1_1
pyramid-kernel-sizes
:
5_5_5_5
pyramid-ffn-ratios
:
8_8_8_4
pyramid-heads
:
1
_2_4_8
pyramid-heads
:
2
_2_4_8
train-subset
:
train-clean-100,train-clean-360,train-other-500
valid-subset
:
dev-clean
...
...
egs/librispeech/asr/conf/pyramid_stage3.yaml
查看文件 @
c0e06600
...
...
@@ -2,8 +2,11 @@ arch: pys2t_transformer_s
encoder-embed-dim
:
512
pyramid-stages
:
3
pyramid-layers
:
3_6_3
encoder-attention-type
:
reduced
pyramid-attn-sample-ratios
:
4_2_1
#encoder-attention-type: reduced
#pyramid-attn-sample-ratios: 4_2_1
#pyramid-block-attn: True
#pyramid-fuse-way: gated
pyramid-use-ppm
:
True
pyramid-sr-ratios
:
2_2_2
pyramid-embed-dims
:
128_256_512
pyramid-reduced-embed
:
conv
...
...
egs/librispeech/asr/conf/rpr.yaml
查看文件 @
c0e06600
encoder-attention-type
:
rel_selfattn
#encoder-attention-type: rel_selfattn
encoder-attention-type
:
relative
max-encoder-relative-length
:
100
egs/librispeech/asr/decode.sh
查看文件 @
c0e06600
...
...
@@ -31,8 +31,8 @@ cmd="./run.sh
if
[[
-n
${
data_dir
}
]]
;
then
cmd
=
"
$cmd
--data_dir
${
data_dir
}
"
fi
if
[[
-n
${
test_subset
}
]]
;
then
test_subset
=
`
echo
${
test_subset
[*]
}
| sed
's/ /,/g'
`
if
[[
${#
test_subset
[@]
}
-ne
0
]]
;
then
subsets
=
$(
echo
${
test_subset
[*]
}
| sed
's/ /,/g'
)
cmd
=
"
$cmd
--test_subset
${
test_subset
}
"
fi
...
...
egs/librispeech/asr/local/monitor.sh
查看文件 @
c0e06600
gpu_num
=
1
gpu_num
=
8
cmd
=
"sh train.sh"
while
:
...
...
egs/librispeech/asr/train.sh
查看文件 @
c0e06600
...
...
@@ -2,13 +2,15 @@
# training the model
gpu_num
=
4
gpu_num
=
8
update_freq
=
1
max_tokens
=
2
00000
max_tokens
=
1
00000
exp_tag
=
config_list
=(
base
)
config_list
=(
pyramid
)
config_list
=(
base conformer
)
#config_list=(pyramid)
#config_list=(pyramid_stage3)
# exp full name
exp_name
=
...
...
egs/mustc/asr/conf/pyramid.yaml
查看文件 @
c0e06600
...
...
@@ -3,13 +3,14 @@ encoder-embed-dim: 512
pyramid-stages
:
4
pyramid-layers
:
2_3_5_2
pyramid-sr-ratios
:
2_2_2_2
pyramid-embed-dims
:
64_128_256_512
pyramid-embed-dims
:
128_128_256_512
pyramid-use-ppm
:
True
pyramid-reduced-embed
:
conv
pyramid-embed-norm
:
True
pyramid-position-embed
:
1_
0_0_0
pyramid-position-embed
:
1_
1_1_1
pyramid-kernel-sizes
:
5_5_5_5
pyramid-ffn-ratios
:
4_4_4
_4
pyramid-heads
:
1
_2_4_8
pyramid-ffn-ratios
:
8_8_8
_4
pyramid-heads
:
2
_2_4_8
train-subset
:
train_asr
valid-subset
:
dev_asr
...
...
egs/mustc/asr/conf/pyramid_stage3.yaml
查看文件 @
c0e06600
...
...
@@ -3,10 +3,13 @@ encoder-embed-dim: 512
pyramid-stages
:
3
pyramid-layers
:
3_6_3
pyramid-sr-ratios
:
2_2_2
#pyramid-block-attn: True
#pyramid-fuse-way: add
pyramid-use-ppm
:
True
pyramid-embed-dims
:
128_256_512
pyramid-reduced-embed
:
conv
pyramid-embed-norm
:
True
pyramid-position-embed
:
1_
0_0
pyramid-position-embed
:
1_
1_1
pyramid-kernel-sizes
:
5_5_5
pyramid-ffn-ratios
:
8_8_4
pyramid-heads
:
2_4_8
...
...
egs/mustc/asr/conf/rpr.yaml
查看文件 @
c0e06600
encoder-attention-type
:
rel_selfattn
#encoder-attention-type: rel_selfattn
encoder-attention-type
:
relative
max-encoder-relative-length
:
100
egs/mustc/asr/decode.sh
查看文件 @
c0e06600
...
...
@@ -31,7 +31,7 @@ cmd="./run.sh
if
[[
-n
${
data_dir
}
]]
;
then
cmd
=
"
$cmd
--data_dir
${
data_dir
}
"
fi
if
[[
${#
test_subset
[@]
}
-
eq
0
]]
;
then
if
[[
${#
test_subset
[@]
}
-
ne
0
]]
;
then
subsets
=
$(
echo
${
test_subset
[*]
}
| sed
's/ /,/g'
)
cmd
=
"
$cmd
--test_subset
${
subsets
}
"
fi
...
...
egs/mustc/asr/train.sh
查看文件 @
c0e06600
...
...
@@ -2,12 +2,16 @@
# training the model
gpu_num
=
8
gpu_num
=
4
update_freq
=
1
max_tokens
=
4
0000
max_tokens
=
8
0000
exp_tag
=
#exp_tag=valid_prev_state
#exp_tag=lower128
#exp_tag=sr8
#config_list=(base conformer rpr)
config_list
=(
pyramid
)
#config_list=(pyramid_stage3 rpr)
# exp full name
exp_name
=
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论