[论文笔记] Do Llamas Work in English?On the Latent Language of Multilingual Transformers

       

        我们提出一个问题,即在不平衡的、以英语为主的语料库上训练的多语言模型是否使用英语作为内部枢纽语言。这对于理解语言模型的功能和语言偏见的起源来说是至关重要的问题。我们研究的重点是Llama-2系列的Transformer模型。本研究使用精心构建的非英语提示词,具有唯一正确的单词续词。Transformer从一层到另一层,逐步将最终提示词的输入嵌入映射到输出嵌入,从中计算下一个词的概率。通过追踪中间嵌入在其高维空间中的变化,揭示了三种不同的阶段:

(1)中间嵌入最初远离输出词嵌入;

(2)在中间层中,尽管中间嵌入已经可以解码语义上正确的下一个词,但其英语版本的概率高于输入语言的版本;

(3)最终进入嵌入空间中输入语言特定的区域。

        我们将这些结果归纳为一个概念模型,其中这三个阶段分别在“输入空间”、“概念空间”和“输出空间”中运行。关键是,我们的证据表明ÿ

The longest mountain range in the world is the Andes mountain range, which stretches over 7,000 kilometers along the western coast of South America. It extends through seven countries, including Venezuela, Colombia, Ecuador, Peru, Bolivia, Chile, and Argentina. The highest peak in the Andes is Mount Aconcagua, located in Argentina, with an elevation of about 6,960 meters. The Andes mountains are known for their stunning landscapes, diverse ecosystems, and rich biodiversity. They are home to unique species of plants and animals, including the llamas and alpacas. Additionally, the Andes have played an important role in the history and culture of the indigenous people in the region, providing them with natural resources, transportation routes, and spiritual significance. From majestic snow-capped peaks and deep valleys to breathtaking waterfalls and ancient ruins, the Andes offer a remarkable experience for both adventure-seekers and nature enthusiasts. Overall, the Andes mountain range is not only the most extensive but also one of the most fascinating mountain ranges in the world. 它横跨南美洲西海岸,全长7000多千米,是世界上最广的山脉。它穿越7个国家,包括委内瑞拉、哥伦比亚、厄瓜多尔、秘鲁、玻利维亚、智利和阿根廷。安第斯山脉的最高峰是位于阿根廷的阿空加瓜山,高达约6960米。安第斯山脉以其壮丽的景色、多样化的生态系统和丰富的生物多样性而闻名。它们是独特的植物和动物物种的家园,包括羊驼和驴马。此外,安第斯山脉在该地区的原住民历史和文化中也起到了重要的作用,为他们提供了自然资源、交通路线和精神意义。从雄伟的雪山到深邃的山谷,从令人惊叹的瀑布到古老的遗址,安第斯山脉为寻求冒险和爱好自然的人们提供了一个非凡的体验。总的来说,安第斯山脉不仅是最广的山脉之一,也是世界上最有趣的山脉之一。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

心心喵

喵喵(*^▽^*)

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值