Meta Unveils CodeCompose, an AI Tool for Generating Code akin to Copilot

Meta has announced the development of CodeCompose, an AI-powered code generation tool similar to GitHub's Copilot.

Meta has announced the development of CodeCompose, an AI-powered code generation tool similar to GitHub’s Copilot.

During an event centered on Meta’s AI infrastructure initiatives, including the creation of custom chips to expedite generative AI model training, the company revealed CodeCompose. Although not publicly available yet, Meta’s internal teams utilize the tool to receive code suggestions while coding in IDEs like VS Code, specifically for languages like Python.

CodeCompose is built upon Meta’s own research, fine-tuned to suit internal use cases and codebases. Michael Bolin, a software engineer at Meta, explained in a prerecorded video that the tool can be seamlessly integrated into any environment where developers or data scientists work with code.

Meta trained multiple CodeCompose models, with the largest containing 6.7 billion parameters, slightly less than Copilot’s model. Parameters represent the learned aspects of the model from historical training data and contribute to its problem-solving abilities, such as text generation.

To ensure optimal performance, CodeCompose was fine-tuned using Meta’s proprietary code, including internal libraries and frameworks written in the Hack programming language. This allows the tool to incorporate domain-specific knowledge into its code suggestions. Additionally, the training data set was carefully filtered to exclude poor coding practices and errors, minimizing the likelihood of the model recommending problematic code snippets.

Meta built a code-generating AI model similar to Copilot

In practice, CodeCompose provides suggestions such as annotations and import statements while the user is typing. The system can complete single or multiple lines of code and even fill in large chunks of code when needed.

Bolin highlighted that CodeCompose leverages the surrounding code and even takes into account code comments as signals for generating better suggestions.

Meta claims that thousands of employees are already benefiting from CodeCompose, with an acceptance rate exceeding 20%.

However, Meta did not address the controversies surrounding code-generating AI tools.

Microsoft, GitHub, and OpenAI are currently facing a class action lawsuit alleging copyright infringement by Copilot, as it regurgitates sections of licensed code without proper attribution. Aside from legal liability, there are concerns that AI tools like Copilot could inadvertently lead companies to incorporate copyrighted suggestions into their production software.

It remains uncertain whether CodeCompose was inadvertently trained on licensed or copyrighted code. When asked for clarification, a Meta spokesperson stated that CodeCompose was trained on InCoder, a release from Meta’s AI research division. The training involved a corpus of public code with permissive open-source licenses from GitHub and GitLab, as well as StackOverflow content. Additional training focused on Meta’s internal code.

Generative coding tools may also introduce security vulnerabilities. A recent study from Stanford revealed that software engineers who use code-generating AI systems are more likely to create security flaws in their applications. While the study did not specifically analyze CodeCompose, it is reasonable to assume that developers using the tool could face similar challenges.

Bolin emphasized that developers are not obliged to follow CodeCompose’s suggestions and that security was a key consideration in its development. He added that Meta is thrilled with the progress of CodeCompose and believes that their developers are best served by keeping this work in-house.

Don’t Stop Here

More To Explore

solar eclipse eclipse solar eclipse 2024 solar eclipse 2023 eclipse 2024 eclipse 2023 2023 eclipse 2023 solar eclipse april 8 2024 eclipse 2024 total eclipse 2023 solar eclipses 2024 sun eclipse eclipse april 8 2024 eclipse lunar eclipse eclipse of the sun 2024 eclipse solar eclipse eclipse2023 lunar eclipses solar and eclipse solar eclipse solar eclipse solar solar eclipse solar sun eclipse total eclipse in 2024 total eclipse 2024 total solar eclipse 2024 next solar eclipse total eclipse next eclipse total solar eclipse april 2024 eclipse annular solar eclipse annular eclipse 2023 lunar eclipse 2023 annular eclipse eclipse april 2024 april 2024 solar eclipse solar eclipse april 2024 annular solar eclipse 2023 eclipse today 2023 annular eclipse total eclipse of the sun 2024 sun eclipse 2024 totality eclipse 2024 total eclipse april 2024 8 april 2024 eclipse lunar penumbral eclipse october 2023 eclipse of 2024 eclipse of sun today eclipse penumbral eclipse timer full eclipse of the moon lunar eclipses 2023 next eclipse of the sun solaire eclipse solar eclipse of april 20 2023 solar eclipse of october 14 2023 solar eclipse today solar v lunar eclipse sun eclipse next total solar eclipse in 2024 upcoming sun eclipse sun eclipse next total solar eclipse eclipse 2022 great american eclipse 2024 total solar eclipse 2023 total eclipse 2023 next eclipse 2023 full solar eclipse 2024 full eclipse 2024 upcoming solar eclipse full solar eclipse next total eclipse eclipse april 2023 sun eclipse 2023 iso 12312 2 next eclipse 2024 next full solar eclipse total lunar eclipse april eclipse 2024 next solar eclipse 2023 future solar eclipses eclipse in 2024 solar and lunar eclipse full eclipse 2023 2023 total solar eclipse 1993 eclipse 2017 eclipse 2017 solar eclipse 2017 total solar eclipse 2019 eclipse 2022 solar eclipse 2024 solar eclipse best viewing april 20 eclipse april 8 2024 solar eclipse april 8 2024 total solar eclipse april eclipse 2023 april solar eclipse 2024 eclipse 1994

Experience the Solar Eclipse with The Eclipse App: Your Ultimate Companion

An innovative app, tailored to enhance your observation of the total solar eclipse on April 8, 2024, has risen to prominence on the App Store. Titled simply “The Eclipse App,” it has amassed over 140,000 lifetime downloads on both iOS and Android platforms. This app serves as a comprehensive tool for experiencing the celestial event, providing features such as cloud cover forecasts, precise timing for totality at your specific location, and details on local events, parks, and viewing sites in your vicinity.

Twitter Introduces Payments for Verified Creators' Advertisements in Replies, Elon Musk Announces

Brazil Investigates Elon Musk Over X Dispute

Brazil has launched an investigation into Elon Musk over potential obstruction of justice following X’s reversal of a decision to block certain profiles in the country.