arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.03481cs.LGcs.DC
收藏

一起训练Transformers

Training Transformers Together

HSE University(国立研究大学高等经济学院);Yandex(扬德克斯);University of Washington(华盛顿大学);Hugging Face(拥抱脸)

Alexander Borzunov, Max Ryabinin, Tim Dettmers, Quentin Lhoest, Lucile Saulnier, Michael Diskin, Yacine Jernite, Thomas Wolf

摘要:

培训最先进的模型所需的基础设施变得过于昂贵,这使得只有大型公司和机构才能负担得起培训此类模型。最近的工作提出了几种协同训练这种模型的方法,即,通过汇集来自许多独立方的硬件并在互联网上训练共享模型。在这个演示中,我们合作训练了一个类似于OpenAI DALL-E的文本到图像的Transformer。我们邀请观众参加正在进行的培训,向他们展示如何使用可用硬件做出贡献的说明。我们解释了如何解决与此类训练运行相关的工程挑战(通信缓慢、内存有限、设备之间的性能不均匀以及安全问题),并讨论了观众如何自行设置协作训练运行。最后,我们表明,由此产生的模型生成的图像质量合理的一些提示。

英文摘要:

The infrastructure necessary for training state-of-the-art models is becoming overly expensive, which makes training such models affordable only to large corporations and institutions. Recent work proposes several methods for training such models collaboratively, i.e., by pooling together hardware from many independent parties and training a shared model over the Internet. In this demonstration, we collaboratively trained a text-to-image transformer similar to OpenAI DALL-E. We invited the viewers to join the ongoing training run, showing them instructions on how to contribute using the available hardware. We explained how to address the engineering challenges associated with such a training run (slow communication, limited memory, uneven performance between devices, and security concerns) and discussed how the viewers can set up collaborative training runs themselves. Finally, we show that the resulting model generates images of reasonable quality on a number of prompts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑