Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
c32cb734
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 2 年 前同步成功
通知
210
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c32cb734
编写于
9月 28, 2021
作者:
J
Junkun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update the result of TED-EN-ZH
上级
4b225b76
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
4 deletion
+11
-4
deepspeech/models/u2_st.py
deepspeech/models/u2_st.py
+3
-2
examples/ted_en_zh/t0/README.md
examples/ted_en_zh/t0/README.md
+6
-1
examples/ted_en_zh/t0/local/test.sh
examples/ted_en_zh/t0/local/test.sh
+2
-1
未找到文件。
deepspeech/models/u2_st.py
浏览文件 @
c32cb734
...
@@ -113,7 +113,8 @@ class U2STBaseModel(nn.Layer):
...
@@ -113,7 +113,8 @@ class U2STBaseModel(nn.Layer):
asr_weight
:
float
=
0.0
,
asr_weight
:
float
=
0.0
,
ignore_id
:
int
=
IGNORE_ID
,
ignore_id
:
int
=
IGNORE_ID
,
lsm_weight
:
float
=
0.0
,
lsm_weight
:
float
=
0.0
,
length_normalized_loss
:
bool
=
False
):
length_normalized_loss
:
bool
=
False
,
**
kwargs
):
assert
0.0
<=
ctc_weight
<=
1.0
,
ctc_weight
assert
0.0
<=
ctc_weight
<=
1.0
,
ctc_weight
super
().
__init__
()
super
().
__init__
()
...
@@ -650,7 +651,7 @@ class U2STModel(U2STBaseModel):
...
@@ -650,7 +651,7 @@ class U2STModel(U2STBaseModel):
odim
=
vocab_size
,
odim
=
vocab_size
,
enc_n_units
=
encoder
.
output_size
(),
enc_n_units
=
encoder
.
output_size
(),
blank_id
=
0
,
blank_id
=
0
,
dropout_rate
=
model_conf
[
'ctc_dropout
_
rate'
],
dropout_rate
=
model_conf
[
'ctc_dropoutrate'
],
reduction
=
True
,
# sum
reduction
=
True
,
# sum
batch_average
=
True
,
# sum / batch_size
batch_average
=
True
,
# sum / batch_size
grad_norm_type
=
model_conf
[
'ctc_grad_norm_type'
])
grad_norm_type
=
model_conf
[
'ctc_grad_norm_type'
])
...
...
examples/ted_en_zh/t0/README.md
浏览文件 @
c32cb734
...
@@ -6,5 +6,10 @@
...
@@ -6,5 +6,10 @@
| Data Subset | Duration in Seconds |
| Data Subset | Duration in Seconds |
| --- | --- |
| --- | --- |
| data/manifest.train | 0.942 ~ 60 |
| data/manifest.train | 0.942 ~ 60 |
| data/manifest.dev | 1.151 ~ 39 |
| data/manifest.dev | 1.151 ~ 39 |
| data/manifest.test | 1.1 ~ 42.746 |
| data/manifest.test | 1.1 ~ 42.746 |
## Transformer
| Model | Params | Config | Char-BLEU |
| --- | --- | --- | --- |
| Transformer+ASR MTL | 50.26M | conf/transformer_joint_noam.yaml | 17.38 |
\ No newline at end of file
examples/ted_en_zh/t0/local/test.sh
浏览文件 @
c32cb734
...
@@ -19,7 +19,8 @@ for type in fullsentence; do
...
@@ -19,7 +19,8 @@ for type in fullsentence; do
--config
${
config_path
}
\
--config
${
config_path
}
\
--result_file
${
ckpt_prefix
}
.
${
type
}
.rsl
\
--result_file
${
ckpt_prefix
}
.
${
type
}
.rsl
\
--checkpoint_path
${
ckpt_prefix
}
\
--checkpoint_path
${
ckpt_prefix
}
\
--opts
decoding.decoding_method
${
type
}
decoding.batch_size
${
batch_size
}
--opts
decoding.decoding_method
${
type
}
\
--opts
decoding.batch_size
${
batch_size
}
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
echo
"Failed in evaluation!"
echo
"Failed in evaluation!"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录