{"id":34687,"date":"2024-09-26T15:27:37","date_gmt":"2024-09-26T15:27:37","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=34687"},"modified":"2024-09-26T15:27:37","modified_gmt":"2024-09-26T15:27:37","slug":"tailored-code-completions-for-c-developers-fine-tuned-models-are-now-in-limited-public-beta-for-github-copilot-enterprise","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/tailored-code-completions-for-c-developers-fine-tuned-models-are-now-in-limited-public-beta-for-github-copilot-enterprise\/","title":{"rendered":"Tailored Code Completions for C++ Developers: Fine-tuned models are now in limited public beta for GitHub Copilot Enterprise"},"content":{"rendered":"<p>GitHub recently announced that <a href=\"https:\/\/docs.github.com\/enterprise-cloud@latest\/copilot\/managing-copilot\/managing-github-copilot-in-your-organization\/customizing-copilot-for-your-organization\/creating-a-custom-model-for-github-copilot\">custom models<\/a> are available for GitHub Copilot Enterprise users in limited public beta. Custom models are fine-tuned on your organization\u2019s proprietary codebases and coding practices to provide more contextually relevant and consistent inline suggestions.<\/p>\n<h4>How It Works: Security and Privacy in Custom Models<\/h4>\n<p>The data used to train your organization\u2019s custom model is never used to train another customer\u2019s model, and your custom model is never shared. You can learn more about the fine-tuning process in GitHub\u2019s <a href=\"https:\/\/github.blog\/news-insights\/product-news\/fine-tuned-models-are-now-in-limited-public-beta-for-github-copilot-enterprise\/#how-we-fine-tune-custom-models-for-github-copilot\">announcement post<\/a> and <a href=\"https:\/\/docs.github.com\/enterprise-cloud@latest\/copilot\/managing-copilot\/managing-github-copilot-in-your-organization\/customizing-copilot-for-your-organization\/creating-a-custom-model-for-github-copilot#about-copilot-custom-models\">documentation<\/a>.<\/p>\n<h4>C and C++ Case Study: Microsoft Office<\/h4>\n<p>Custom models can be particularly valuable for repositories that rely on internal APIs, specialized frameworks, or strict coding styles. As a case study, GitHub partnered with the Microsoft Office organization to fine-tune a custom model on Office\u2019s C and C++ code. After switching to the custom model, Office developers observed code completions that were more consistent with their unique C++ dialect (e.g., macros, strict naming conventions), coding practices (e.g., use of feature gates), and specific needs.<\/p>\n<blockquote><p>\u201cCode completion is much better than before. It seems to generate functions quite well, given arguments, return type and a comment explaining what the function does. I personally used it to write a block of authentication code where a pop-up would be shown only if silent login fails.\u201d \u2013 Office developer<\/p><\/blockquote>\n<h4>Join the Waitlist<\/h4>\n<p>The code on which you want to train a custom model must be hosted in repositories owned by your organization on GitHub.com. If you meet this requirement and are interested in joining the waitlist, you can <a href=\"https:\/\/github.com\/github-copilot\/fine_tuning_waitlist_signup\/join\">sign-up here<\/a>. Note that custom models for GitHub Copilot Enterprise are currently in limited public beta and subject to change. If you\u2019re interested in learning more, check out the <a href=\"https:\/\/docs.github.com\/enterprise-cloud@latest\/copilot\/managing-copilot\/managing-github-copilot-in-your-organization\/customizing-copilot-for-your-organization\/creating-a-custom-model-for-github-copilot\">custom model documentation<\/a>.<\/p>\n<p>If you have feedback on Copilot for C++ in Visual Studio or VS Code, we\u2019d love to learn more. You can reach us via email (<a href=\"mailto:visualcpp@microsoft.com\">visualcpp@microsoft.com<\/a>) or X (<a href=\"https:\/\/x.com\/visualc\">@VisualC<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitHub recently announced that custom models are available for GitHub Copilot Enterprise users in limited public beta. Custom models are fine-tuned on your organization\u2019s proprietary codebases and coding practices to provide more contextually relevant and consistent inline suggestions. How It Works: Security and Privacy in Custom Models The data used to train your organization\u2019s custom [&hellip;]<\/p>\n","protected":false},"author":2953,"featured_media":34436,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[270,1,3940],"tags":[],"class_list":["post-34687","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcement","category-cplusplus","category-copilot"],"acf":[],"blog_post_summary":"<p>GitHub recently announced that custom models are available for GitHub Copilot Enterprise users in limited public beta. Custom models are fine-tuned on your organization\u2019s proprietary codebases and coding practices to provide more contextually relevant and consistent inline suggestions. How It Works: Security and Privacy in Custom Models The data used to train your organization\u2019s custom [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/34687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/2953"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=34687"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/34687\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/34436"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=34687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=34687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=34687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}