Skip to content
aiqbench takeAI Research

aiqbench analysis

This research introduces jina-code-embeddings, a compact model suite leveraging autoregressive backbones and last-token pooling to achieve state-of-the-art performance in code retrieval and semantic matching across programming languages. The work validates an efficient approach for building embedding models specifically optimized for technical question-answering and cross-language snippet identification without requiring massive parameter counts.
Sources coveringarXiv, Quantum Zeitgeist, AWS, Databricks
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Efficient Code Embeddings from Code Generation Models

arXiv1 min read

arXiv:2508.21290v2 Announce Type: replace Abstract: jina-code-embeddings is a novel code embedding model suite designed to retrieve code from natural language queries, perform technical question-answering, and identify semantically similar code snippets across programming languages. It makes innovative use of an autoregressive backbone pre-trained on both text and code, generating embeddings via last-token pooling. We outline the training recipe and demonstrate state-of-the-art performance despite the relatively small size of the models, validating this approach to code embedding model construction.

Abstract:jina-code-embeddings is a novel code embedding model suite designed to retrieve code from natural language queries, perform technical question-answering, and identify semantically similar code snippets across programming languages. It makes innovative use of an autoregressive backbone pre-trained on both text and code, generating embeddings via last-token pooling. We outline the training recipe and demonstrate state-of-the-art performance despite the relatively small size of the models, validating this approach to code embedding model construction.

9 pages. Accepted at the NeurIPS 2025 Workshop on Deep Learning for Code (DL4CODE)

Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Information Retrieval (cs.IR)

arXiv:2508.21290 [cs.CL]

(or arXiv:2508.21290v2 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2508.21290 Focus to learn more arXiv-issued DOI via DataCite

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 185 words

Related coverage