Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

GitHub Copilot gets smarter at finding your code: Inside our new embedding model

Blog post from GitHub

Post Details
Company
Date Published
Author
Shengyu Fu
Word Count
966
Company Posts That Month
24
Language
English
Hacker News Points
-
Post removed?
No
Summary

GitHub has introduced a new Copilot embedding model that significantly enhances code search capabilities in VS Code by improving retrieval quality, reducing memory usage, and increasing throughput. This model, designed to better understand the context of code and documentation, results in more accurate responses and faster search results, offering a 37.6% improvement in retrieval quality and a marked enhancement in code acceptance ratios for Java and C# developers. Utilizing advanced training techniques like contrastive learning with hard negatives, the model can effectively distinguish between nearly correct and correct code snippets, enhancing the user experience by minimizing "near misses" in search results. This development is part of a broader initiative to make AI coding assistants more reliable and efficient, with plans to expand training data and refine the negative mining pipeline for better quality results.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Coding Assistant 14 1,035 177 78 +24%
Vector Search 12 1,504 310 125 -10%
Developer Experience 1 474 206 101 +29%
LLM 1 3,636 538 190 -7%
RAG 1 1,006 206 82 -15%
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.