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
f9fa133d
Commit
f9fa133d
authored
Mar 26, 2021
by
xuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the bug of conformer
parent
0140d73d
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
0 行删除
+5
-0
README.md
+3
-0
fairseq/modules/conformer_layer.py
+2
-0
没有找到文件。
README.md
查看文件 @
f9fa133d
...
...
@@ -9,9 +9,12 @@ Fairseq_ST基于原始的Fairseq,提高了程序易用性以及对语音到文
-
针对每个数据集创建egs文件夹保存运行脚本,目前包括LibriSpeech语音识别数据集和MuST-C语音翻译数据集
-
通过读取yaml配置文件进行训练
-
支持ctc多任务学习
-
使用ST相似的流程训练MT模型(在线分词)
后续目标:
-
速度扰动
-
MT pipeline(bin)
-
相对位置表示
-
Conformer模型结构
-
预训练模型加载
...
...
fairseq/modules/conformer_layer.py
查看文件 @
f9fa133d
...
...
@@ -211,12 +211,14 @@ class ConformerEncoderLayer(nn.Module):
# convolution module
if
self
.
conv_module
is
not
None
:
x
=
x
.
transpose
(
0
,
1
)
residual
=
x
if
self
.
normalize_before
:
x
=
self
.
conv_norm
(
x
)
x
=
residual
+
self
.
dropout_module
(
self
.
conv_module
(
x
))
if
not
self
.
normalize_before
:
x
=
self
.
conv_norm
(
x
)
x
=
x
.
transpose
(
0
,
1
)
residual
=
x
if
self
.
normalize_before
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论