arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.08904cs.CLcs.AIcs.IR
收藏

SGPT:用于语义搜索的GPT句子嵌入

SGPT: GPT Sentence Embeddings for Semantic Search

Peking University(北京大学)

Niklas Muennighoff

摘要:

解码器Transformers的规模不断增加,达到数千亿个参数。由于它们的规模,相同的解码器通过提示或微调在各种语言任务上设置最先进的结果。然而,这些大的基础模型仍然无法用于语义搜索和句子嵌入的相关领域。这可能会阻止新的最先进的结果,并迫使组织训练和维护单独的模型。为此,我们建议SGPT使用解码器的句子嵌入和语义搜索通过提示或微调。在58亿个参数上,SGPT比以前最好的句子嵌入提高了7%,并且在BEIR搜索基准上测量时优于具有1750亿个参数的并发方法。代码、模型和结果文件可在https://github.com/Muennighoff/sgpt上免费获得。

英文摘要:

Decoder transformers have continued increasing in scale reaching hundreds of billions of parameters. Due to their scale the same decoder sets state-of-the-art results on various language tasks via prompting or fine-tuning. Yet, these large foundation models remain unusable for the related fields of semantic search and sentence embeddings. This prevents possibly new state-of-the-art results and forces organizations to train and maintain separate models. To this end, we propose SGPT to use decoders for sentence embeddings and semantic search via prompting or fine-tuning. At 5.8 billion parameters SGPT improves on the previously best sentence embeddings by a margin of 7% and outperforms a concurrent method with 175 billion parameters as measured on the BEIR search benchmark. Code, models and result files are freely available at https://github.com/Muennighoff/sgpt.

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

↑