Home / Companies / Voyage AI / Blog / Post Details
Content Deep Dive

voyage-code-2: Elevate Your Code Retrieval

Blog post from Voyage AI

Post Details
Company
Date Published
Author
Voyage AI
Word Count
1,341
Company Posts That Month
1
Language
English
Hacker News Points
-
Post removed?
No
Summary

Voyage-code-2 is a new embedding model designed for semantic retrieval of code and related text, showing a significant improvement in recall compared to other models like OpenAI and Cohere. It demonstrated a 14.52% increase in recall specifically for code retrieval tasks across 11 datasets derived from popular coding datasets such as HumanEval and MBPP, and a 3.03% average gain on general-purpose text datasets. By vectorizing queries and documents into high-dimensional embeddings, it effectively retrieves relevant code snippets by determining semantic similarities, showcasing its utility in applications like code search, completion, and general code assistance. The model's superior performance is attributed to training on extensive code datasets using advanced techniques such as novel loss functions and contrastive pairs, alongside improvements in inference latency and throughput, making it suitable for interactive production environments. Additionally, voyage-code-2 excels in non-coding tasks, outperforming competitors in diverse domains, and its development underscores the potential for creating more specialized embedding models tailored to specific industries such as finance, healthcare, and law.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 21 1,692 211 78 +87%
RAG 4 1,360 163 55 +97%
LLM 2 2,593 281 107 +38%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.