TransMamba:A language model combining Transformer and Mamba

变压器 编码器 计算机科学 解码方法 计算机工程 人工智能 工程类 算法 电压 电气工程 操作系统
作者
Xiaocui Zhu,Qunsheng Ruan,Sai Qian,Miaohui Zhang
标识
DOI:10.21203/rs.3.rs-4782985/v1
摘要

Abstract In recent years, State Space Models (SSMs) have achieved significant advancements in the field oflanguage modeling. With the advent of Mamba, these models have garnered even greater attention,surpassing Transformers in certain aspects. Despite Mamba’s unique advantages, Transformers remainindispensable due to their complex computational capabilities and proven effectiveness. This paperproposes a novel model that effectively combines the strengths of both Transformers and Mamba.Specifically, our model employs the Transformer’s encoder for encoding and utilizes Mamba as thedecoder for decoding. We introduce a feature fusion technique that integrates the features generated bythe encoder with the hidden states produced by the decoder. This approach effectively amalgamatesthe advantages of both Transformer and Mamba, resulting in enhanced performance. Extensiveexperiments on various language tasks demonstrate that our proposed model achieves competitiveresults, consistently outperforming existing benchmarks.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
433应助自信小虾米采纳,获得10
刚刚
华夫饼完成签到 ,获得积分10
刚刚
diamond发布了新的文献求助10
刚刚
刚刚
Akim应助学生物的橘子采纳,获得10
1秒前
1秒前
淳于大开发布了新的文献求助30
2秒前
Peter完成签到,获得积分10
2秒前
暖阳发布了新的文献求助10
3秒前
4秒前
Fairy完成签到,获得积分10
4秒前
充电宝应助Ahha采纳,获得10
4秒前
4秒前
薀九完成签到,获得积分20
4秒前
jchen发布了新的文献求助10
4秒前
李健的粉丝团团长应助asdf采纳,获得10
5秒前
1111完成签到,获得积分20
5秒前
YYC发布了新的文献求助10
5秒前
5秒前
5秒前
lucky完成签到,获得积分10
6秒前
liyt6714发布了新的文献求助10
7秒前
kk完成签到,获得积分10
7秒前
7秒前
搜集达人应助靓丽的安蕾采纳,获得10
7秒前
wanci应助xingql983采纳,获得10
8秒前
8秒前
ry完成签到,获得积分10
8秒前
Ripal发布了新的文献求助10
8秒前
不是夏娃关注了科研通微信公众号
8秒前
DMTloveforever完成签到,获得积分10
9秒前
xh完成签到 ,获得积分10
10秒前
懵懂的皮卡丘完成签到,获得积分10
10秒前
10秒前
10秒前
10秒前
11秒前
团子完成签到,获得积分10
11秒前
11秒前
henryoy完成签到 ,获得积分10
12秒前
高分求助中
Malcolm Fraser : a biography 700
Signals, Systems, and Signal Processing 610
天津市智库成果选编 600
Climate change and sports: Statistics report on climate change and sports 500
Forced degradation and stability indicating LC method for Letrozole: A stress testing guide 500
Organic Reactions Volume 118 400
A Foreign Missionary on the Long March: The Unpublished Memoirs of Arnolis Hayman of the China Inland Mission 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6463384
求助须知:如何正确求助?哪些是违规求助? 8271053
关于积分的说明 17633013
捐赠科研通 5535464
什么是DOI,文献DOI怎么找? 2907067
邀请新用户注册赠送积分活动 1883912
关于科研通互助平台的介绍 1730731